yeah i already did that.
Sorry, i meant i want a user to be alble to shutdown from inside KDE.. without having to logout first. |
Here's how to fix your problem with KDM not allowing X to listen for tcp connections.
(I have a Debian system, but the location should be similar if not the same) In the file /etc/kde3/kdm/Xservers file there should be a line like: :0 local@tty1 /usr/X11R6/bin/X -dpi 100 -nolisten tcp Just take out the "-nolisten tcp" and you should be able to run X apps remotely without SSH X tunnelling. I, too, like to run them directly for that little bit of less latency.=B |
PERFECT..... this is what i was looking for....
good answers come to those who wait ;) |
Thanks qwijibow for persevering with this thread. I have had exactly the same problem and I am about to try the solution outlined by zsazs.
I use Gnome so I hope the Xservers file exists there as well. |
Nope, FC2 does not have the file... but it was the clue I needed.
For me the critical switch is in /etc/X11/gdm/gdm.conf In the security section set: DisallowTCP=false Alternatively use the 'gdmsetup' gui accessible from System Settings -> Login Screen -> 'security' tab -> uncheck the appropriate box. |
THE ANSWER!
in gentoo, the default startup options are in :
/usr/kde/3.3/share/config/kdm/Xservers : the first uncommented line has -nolisten tcp in the end. If you comment that option out and restart your x-server, it should work just fine. greetings, Jeroen Trappers |
lol.. you were beaten to it by 18 days :p
look at zsazs post a few posts up. |
Thanks for the help, I was looking for this too.
For those running plain X servers (not using kdm,xdm or gdm), know that you can set this on a per user basis by adding a ~/.xserverrc to your home directory, contents of which are: exec /usr/bin/X -dpi 100 (replace X with wherever your xserver is). As well, on my gentoo install, the system-wide default file is at - /etc/X11/xinit/xserverrc |
For SUSE 10.0 the -nolisten TCP is in /etc/opt/kde3/share/config/kdm/kdmrc
on a line ServerArgsLocal=-nolisten tcp |
Running OpenSuse11, given that I searched a bit, thought i would update this old thread.
it appears this option has moved to: /etc/sysconfig/displaymanager setting: # TCP port 6000 of Xserver. When set to "no" (default) Xserver is # started with "-nolisten tcp". Only set this to "yes" if you really # need to. Remote X service should run only on trusted networks and # you have to disable firewall for interfaces, where you want to # provide this service. Use ssh X11 port forwarding whenever possible. # DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no" |
All times are GMT -5. The time now is 06:32 AM. |