On Ubuntu remote display in X doesn not work.
We need to remove “-nolisten tcp” from X command line.
- 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:
- Restart X or reboot.
- On the remote machine
$ export DISPLAY=yourcomputer:0.0
- On local machine
$ xhost + remotemachine
Remote Display on Ubuntu