Skip to main content.

2004-Jul-23

When using SSH X forwarding after you chrooted into new environment, you may get errors like:

debug1: X11 connection uses different authentication protocol.
X11 connection rejected because of wrong authentication.
...
debug1: X11 closed 1 i3/o3
...
debug1: channel_free: channel 1: x11, nchannels 2
X connection to localhost:10.0 broken (explicit kill or server shutdown).

To work around this, simply copy your ~/.Xauthority into place. (Or maybe set the XAUTHORITY environment variable to the auth file created by xauth via sshd.)

Worked on my custom pkg_add for upgrading; found problem where db was never modified if entry already existed -- so got rid of that in mine.

Replied to a few PRs for followup.

NetBSD's cp -r (which is said by man page to not be used) creates copies targets of symlinks. But coreutil's cp -r copies symlinks as symlinks, so then the level (like ../../../../..) could be wrong. The -L option (like "cp -rL") behaves correctly (well same as NetBSD's cp) for coreutils. "cp -RL" is correct for both too.

Began packaging Kazehakase, a GTK+2 based web browser with plans to support rendering engine choices, such as Gecko, dillo, and w3m engines. Currently only supporting Mozilla's Gecko engine. Imported it to pkgsrc-wip without finishing nor testing.