[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xterminal login to gdm server not permitted by Xlib?



i.e. X-terminals

Xlib: connection to "full-hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "full-hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "full-hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "full-hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "full-hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Xlib: connection to "full-hostname:0.0" refused by server
Xlib: Client is not authorized to connect to Server


I have replaced the real hostname with the string "full-hostname" for the
purposes of this report. 

Reading gdm manual suggests that it looks into /etc/hosts.allow
and I have listed some hosts I want gdm to allow access to but
I am get the above message. gdm does not appear to links to 
libwrap0 the tcp wrapper library. Doing a strings of the gdm
binary one does see a listing of /etc/hosts.allow


I am using testing (woody).

/etc/pam.d/gdm:

#%PAM-1.0
auth     required       pam_nologin.so
auth     required       pam_env.so
auth     required       pam_unix_auth.so
account  required       pam_unix_acct.so
password required       pam_unix_passwd.so shadow
session  required       pam_unix_session.so


/etc/gdm/gdm.conf
 I have enabled xdmcp obviously since otherwise the error message above 
 would not have appeared under /var/log/gdm and besides:

 #lsof -i
 COMMAND   PID   USER   FD   TYPE DEVICE SIZE NODE NAME
 sshd      160   root    3u  IPv4     84       TCP *:ssh (LISTEN)
 inetd    4437   root    4u  IPv4  18741       TCP *:discard (LISTEN)
 inetd    4437   root    5u  IPv4  18742       UDP *:discard
 inetd    4437   root    6u  IPv4  18859       TCP *:auth (LISTEN)
 gdm      8975   root    3u  IPv4  22108       UDP *:xdmcp
 XFree86  8978   root    1u  IPv4  22121       TCP *:x11 (LISTEN)
 XFree86 13776   root    1u  IPv4  32457       TCP *:x11-1 (LISTEN)
 kdeinit 14343 wtautz    6u  IPv4  33662       TCP *:1239 (LISTEN)





Reply to: