Tuesday, July 23, 2013

Enabling remote X11 access

Tested with: Fedora 18 and 19

A. Enable overall access (Fedora 19 only)

Edit file:


Remove or comment out the daemon blocking argument, it should look like:

ExecStart=/bin/xinit /bin/firstboot-windowmanager /bin/initial-setup -- /bin/Xorg :9 -ac #-nolisten tcp

B. Enable at the display manager, in my case LightDM:


Must include the following parameters under the following sessions:


C. Restart the DM:

systemctl restart lightdm.service

D. Verify if it is up:

netstat -nl | grep :6000

tcp 0 0* LISTEN
tcp6 0 0 :::6000 :::* LISTEN

E. Open up firewalld:


F. Add to connecting host:

xhost +<remote host trying to use your X11>

G. (On the remote host) Inform where the X11 is:

export DISPLAY=<your running X11 hostname>:0.0

H. (On the remote host) Test it:

zenity --info --text="OK: `hostname`"

No comments: