[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] ssh x-server setup
On Friday 04 October 2002 12:01 pm, Etienne Prinsloo wrote:
> How does one set the ssh connection up so that one can remotely open up
> applications (like Emacs)?
> I know it is something to do with the xhost, xserver, set environment...
> Both computers run Suse8.0 and currently I am able to access the
> 'server' with ssh,scp etc.
If you are starting SSH from within the X server you own, just adding the
parameter -X will tunnel the X server through the connection. Sometimes it is
helpful to add the -C (compress) parameter.
So,
ssh -X -C mymachine emacs
will run the X version of Emacs on mymachine on my current display. On a side
note, the display shows up as localhost:10.0 on the remote machine.
--
Craig Andrews
craig@fishbot.org.uk
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.