Configuring Xserver in Ubuntu to allow remote X applications

ubuntu-xwindowsRunning remote X applications on Fedora and Red Hat works out of box, but it doesn’t on Ubuntu.

Here is how you can make it work:

Edit the /etc/gdm/gdm.schemas and change:

$ sudo vi /etc/gdm/gdm.schemas


security/TCP DisAllowTCP

and set it to false

Then restart Xserver or reboot the box and run this command to allow remote hosts to open windows on your Xserver:

$ xhost +

Now you can export DISPLAY as usual and your remote apps should be able to connect to your desktop.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.