If you're having trouble with X forwarding, if you do a "ps -ef | grep Xorg" and see a "-nolisten" flag, then you need to allow X forwarding. This is how you do that:
On former Fedora releases and RHEL, you can use gdmsetup to allow X forwarding. There is no more gdmsetup with Fedora 12, so follow the directions below to forward X (See Old School X Forwarding):
http://www.rootninja.com/get-x11-to-forward-in-gnome-on-fedora-12-or-13
In summary, in the /etc/gdm/custom.conf file, add in the following line, under the [security] section:
After this, I had to reboot my machine; killing X wasn’t enough. Then, do the following:
xhost +remoteMachine
ssh remoteMachine
tcsh
setenv DISPLAY yourlocalmachine:0.0
xlogo (to test things out)
Update on August 19,2014: I just tested this out on my Fedora 19 system, and this solution still works. So this probably works on Fedora 13, Fedora 14, Fedora 15, Fedora 16, Fedora 17, Fedora 18, Fedora 19, and probably on Fedora 20 too.
On former Fedora releases and RHEL, you can use gdmsetup to allow X forwarding. There is no more gdmsetup with Fedora 12, so follow the directions below to forward X (See Old School X Forwarding):
http://www.rootninja.com/get-x11-to-forward-in-gnome-on-fedora-12-or-13
In summary, in the /etc/gdm/custom.conf file, add in the following line, under the [security] section:
[security]
DisallowTCP=false
After this, I had to reboot my machine; killing X wasn’t enough. Then, do the following:
xhost +remoteMachine
ssh remoteMachine
tcsh
setenv DISPLAY yourlocalmachine:0.0
xlogo (to test things out)
Update on August 19,2014: I just tested this out on my Fedora 19 system, and this solution still works. So this probably works on Fedora 13, Fedora 14, Fedora 15, Fedora 16, Fedora 17, Fedora 18, Fedora 19, and probably on Fedora 20 too.
No comments:
Post a Comment