X11forwarding in ssh

Man-wai Chang mwchang
Tue Sep 20 06:44:28 PDT 2005


1. Is the file /home/user/.Xauthority created by sshd whenever I login?

2. X11forwarding works automatically after logging in via ssh, but after
I ran su, it would fail.  I had to manually set the environment variable
to /home/login-user/.Xauthority to get it working. Is there an automatic
way to do it?

-- 
  .~.    http://changmw.homeip.net
 / v \   Linux 2.6.13
/( _ )\  19:32:02 up 23:36 0 users
  ^ ^    6.23 6.23


More information about the Linux-users mailing list