The UHF of the film world.
Latest news

quietearth [General News 08.24.06]

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/`

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.

Unfortunately we cannot use gdmflexiserver, only a gdm restart will work.

You might also like


tosoft (14 years ago) Reply

I dont' have access to server console. Ca i do it from text terminal?


quietearth (14 years ago) Reply

Yes, if you have /etc/gdm.conf-custom then modify the disallowtcp setting, if not just modify it in /etc/gdm.conf. Then run:
# /etc/init.d/gdm restart


tom (12 years ago) Reply

Ye, Works well...great...

Leave a comment