[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh and X



On 25 Dec 2001, Jens Müller wrote:

> Since upgrading to Woody, X forwarding over ssh does not work any
> longer, which is a bad thing, since I cannot run X programs as
> super-user now.

   Finding why ssh -X does not work anymore is a good thing. But your
comment that says you cannot run programs as root anymore suggests that
your are using ssh as a kind of 'su' alternative.
   In that case I suggest that you look at sux, an su-wrapper script
which will do the xauth magic necessary for root to get access to your
screen. Instead of typing 'su -', just type 'sux -'.

   You can get sux there:

   http://fgouget.free.fr/sux/sux

and the Readme:

   http://fgouget.free.fr/sux/sux-readme.shtml


   One advantage is that with sux your X connection does not through
the encryption/decryption cycle. But one thing it does not do is forward
you ssh-agent.

   I which there was an ssu so that I could do 'ssu -A -X - foo' and
have ssu login into my foo account (using a public key for instance),
set up the xauth stuff and forward the ssh-aget connection. But not go
through the encryption/decryption of each X packet!

   Well, I hope you will find sux useful.


--
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
               RFC 2549: ftp://ftp.isi.edu/in-notes/rfc2549.txt
                IP over Avian Carriers with Quality of Service




Reply to: