XDM listening to ports
I have read through the posts of other users experienceing this problem with startx but my problem is about xdm. How do I prevent X from listening to ports 6000:6063 when using xdm. I'm probably just too blind to see it when I searched the forum.
Thanks in advance. |
startx -- -nolisten tcp
|
my problem is for xdm not startx
|
oops.. yeah, just thought about that. have no idea as i never use xdm.
|
Notfromkansas made it work by adding a "nolisten tcp" line to /etc/X11/xdm/Xservers.
|
This is what I found:
if you start X from the command line: call it as X -nolisten TCP or startx -- -nolisten TCP if you start X with the kde login: change the line at the bottom of /etc/X11/xdm/Xservers from :0 local /bin/nice -n -10 /usr/X11R6/bin/X -deferglyphs 16 to: :0 local /bin/nice -n -10 /usr/X11R6/bin/X -deferglyphs 16 -nolisten TCP if you start X with the gnome login: change the line at the bottom of /etc/X11/gdm/gdm.conf from command=/usr/bin/X11/X -deferglyphs 16 to command=/usr/bin/X11/X -deferglyphs 16 -nolisten TCP Ps. Remember its TCP not tcp. I had a lot of fun with that one |
How do you get X to listen on the ssh encrypted port?
|
IMO its the other way around, adapt the stunnel to where the source port is, read a X11 forwarding/tunneling HOWTO/FAQ at linuxdoc.org.
Btw don't tack on questions on like that, add a new thread instead. |
All times are GMT -5. The time now is 09:34 AM. |