Tested with: Fedora 18 and 19
A. Enable overall access (Fedora 19 only)
Edit file:/lib/systemd/system/initial-setup-graphical.service
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:
/etc/lightdm/lightdm.conf
Must include the following parameters under the following sessions:
...
[SeatDefaults]
xserver-allow-tcp=true
...
[security]
DisallowTCP=false
...
C. Restart the DM:
#---
systemctl restart lightdm.service
#---
D. Verify if it is up:
#---
netstat -nl | grep :6000
#---
Expected:
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp6 0 0 :::6000 :::* LISTEN
E. Open up firewalld:
https://fedoraproject.org/wiki/FirewallD?rd=FirewallD/#Permanent_and_Temporary_Configuration
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:
Post a Comment