Re: xhost:  cannot connect to X server [SOLVED]
Florian Kulzer wrote:
Hmm, on my system that is enough to make Xorg listen to port 6000 (after
I restart kdm). However, looking at /etc/init.d/kdm I get the impression
that in some cases you also have to edit /var/run/kdm/kdmrc to remove
ServerArgsLocal.
If that does not help then I would like to see the output of
pstree -aAc | grep -B2 -A2 '[X]org'
  
Hi Sebastian,
It's working now. I think it was caused by DisallowTCP=true in gdm.conf
Many Thanks,
Dieder.
===============================================================
dieder@koala:$ xhost +
access control disabled, clients can connect from any host
dieder@koala:$ ps -ef | grep "[/]bin/X "
root      3878  3874  2 22:31 tty7     00:00:08 /usr/bin/X :0 -audit 0 
-auth /var/lib/gdm/:0.Xauth vt7
dieder@koala:$ pstree -aAc | grep -B2 -A2 '[X]org'
 |-gdm
 |   `-gdm
 |       |-Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth vt7
 |       `-startkde /usr/bin/startkde
 |           `-kwrapper ksmserver
dieder@koala:$ export DISPLAY=koala:0
dieder@koala:$ xterm
dieder@koala:$       
dieder@koala:$ cat /etc/gdm/gdm.conf|grep TCP
DisallowTCP=false
dieder@koala:$  
Reply to: