SPAM-HIGH Re: [Gllug] export DISPLAY in .bashrc

Russell Howe rhowe at siksai.co.uk
Fri Jun 18 09:59:50 UTC 2004


David Goodwin wrote:
> 
>> Maybe there is some nicer way of doing this with putty a la how 'ssh -X'
>> would? I don't have a windows box to try it out though...
> 
> Putty has an option to do X11 forwarding, at least it has for about the 
> last year or more now.

Together with the compression option, X11 performance isn't always 
terrible over remote links.

Also, sometimes X11 forwarding is disabled on the SSH server (I think 
Debian has it off by default, and probably others)

In OpenSSH, the configuration options are in /etc/ssh/sshd_config, and I 
think it's called X11Forwarding

Using ssh's X forwarding, you avoid any shell nastiness, and you don't 
have to handle 127.0.0.1 as a special case (DISPLAY=127.0.0.1:0 and 
DISPLAY=:0 are different, performance-wise)

-- 
Russell Howe <rhowe at siksai.co.uk>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list