Problem
On Ubuntu remote display in X doesn not work.
Analysis
We need to remove “-nolisten tcp” from X command line.
Solution
- This is sometimes in “/etc/X11/xinit/xserverrc”, but in Ubuntu you just need to configure GDM:Create or edit file /etc/gdm/custom.conf with the following content:
[security] DisallowTCP=false
- Restart X or reboot.
- On the remote machine
$ export DISPLAY=yourcomputer:0.0
- On local machine
$ xhost + remotemachine
Remote Display on Ubuntu