Re: ssh and X display
On Fri, Aug 09, 2002 at 04:17:14PM -0400, Tomasz Kosinski wrote:
> Until an "apt-get dist-upgrade" a few days ago, I have used ssh to log
> in to the computer while another user is running an xsession:
>
> "ssh -l username localhost" in an xterm has always enabled one
> user to log in to another users Xsession and use one of the
> virtual terminal/desktop/workstations to run x apps (from the
> command line) while the original user is running his x apps
> (from menu).
>
> "ssh -l username 127.0.0.1" in an xterm would allow a second
> user to log in but not to run x apps.
>
> After update, I can no longer run x apps when sshed into localhost. X
> forwarding is turned on, from sshd_config:
>
> X11Forwarding yes
> X11DisplayOffset 10
If you want another user, you ave to give him access to xserver. Best
way is xauth.
Make sure /.Xauthority is readable from the other user (use group read
perm). imitate what I explain for root here.
http://qref.sourceforge.net/Debian/reference/ch-tune.en.html#s-ss-xsu
Good luck
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA
See "User's Guide": http://www.debian.org/doc/manuals/users-guide/
See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
"Debian reference" Project at: http://qref.sf.net
I welcome your constructive criticisms and corrections.
Reply to: