vote up 0 vote down star

How to configure X server on the remote system.

flag

60% accept rate
Be careful what to call a server here. See Simen's explanation at superuser.com/questions/70578/… – Arjan van Bentem Nov 16 at 14:34

1 Answer

vote up 1 vote down

The article here mentions:

By default remote x-windows (port 6000) is disabled in Ubuntu. Now one easy way around this is just to use ssh to login with port forwarding like such:

$ ssh -X host

This will set the DISPLAY variable automatically and any X program you run will be automatically tunneled back through the ssh connection.

Otherwise we're going to need to enable it. Here's how:

  1. Go to System->Administration->Login Window (or run gdmsetup as root)
  2. Under the security tab uncheck "Deny TCP connections to Xserver"
  3. Now we have to restart gdm which will kill our Xsession.

    kill -HUP `cat /var/run/gdm.pid`
    

or if you prefer to edit /etc/gdm.conf by hand, make sure there are no overriding settings in /etc/gdm.conf-custom. Under the security section change DisallowTCP to false.

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.