Manually, remotely starting X for a remote session. DISPLAY.

Alan Cox alan at lxorguk.ukuu.org.uk
Wed Sep 28 15:46:57 UTC 2011


On Wed, 28 Sep 2011 09:29:26 -0600
linux guy <linuxguy123 at gmail.com> wrote:

> X was working fine from several clients to several servers.   Then it quit,
> for no (obvious to me) reason.
> 
> Details here, let me know if you need more info.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=740466
> 
> How do I start X on the server from a remote machine (via ssh, of course) so
> that I can use graphical apps ?
> 
> When I google this problem, there is some talk about the DISPLAY variable
> not being set.  What should it be set to ?  How should it be set ?

sshd sets it when you do an ssh -X/-Y. If it isn't getting set then
either ssh isn't seeing suitable environment variables (eg ssh'ing into a
box and forgetting which box you were on when you do the ssh -Y), or it
can be blocked in the sshd config.

Alan


More information about the users mailing list