View Single Post
Old 23rd December 2008
kasse kasse is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 67
Default

Quote:
Originally Posted by robbak View Post
the log files I would be looking at are /var/log/Xorg.0.log, the console output of the X server, ([ctrl][alt][F1] should get you there, although I do not know where the console output goes if you are using a display manager (kdm, gdm or xdm)

the error messages suggest to me thta you are hitting the X server just fine, but are being rejected by the auth systems.
Thanks for the help, there are no errors in the Xorg.0.log.

Here is a list of netstat -an from the freebsd host system, connected to an openbsd computer with ssh -X running xclock fine, and connected to a jail 192.168.0.105 with ssh -X trying to run xclock with no success.

Code:
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0 192.168.0.100.58068    192.168.0.103.22       ESTABLISHED
tcp4       0      0 192.168.0.105.6010     *.*                    LISTEN
tcp4       0      0 192.168.0.105.22       192.168.0.105.58498    ESTABLISHED
tcp4       0      0 192.168.0.105.58498    192.168.0.105.22       ESTABLISHED
tcp4       0      0 192.168.0.106.22       *.*                    LISTEN
tcp4       0      0 192.168.0.100.57103    91.197.164.3.80        ESTABLISHED
tcp6       0      0 *.*                    *.*                    CLOSED
tcp6       0      0 *.*                    *.*                    CLOSED
tcp6       0      0 *.*                    *.*                    CLOSED
tcp4       0      0 192.168.0.105.25       *.*                    LISTEN
tcp4       0      0 192.168.0.105.22       *.*                    LISTEN
tcp4       0      0 192.168.0.104.25       *.*                    LISTEN
tcp4       0      0 192.168.0.106.25       *.*                    LISTEN
tcp4       0      0 127.0.0.1.25           *.*                    LISTEN
tcp4       0      0 *.22                   *.*                    LISTEN
tcp6       0      0 *.22                   *.*                    LISTEN
tcp4       0      0 *.*                    *.*                    CLOSED
tcp46      0      0 *.80                   *.*                    LISTEN
tcp46      0      0 *.3306                 *.*                    LISTEN
tcp4       0      0 *.6000                 *.*                    LISTEN
tcp6       0      0 *.6000                 *.*                    LISTEN
udp4       0      0 192.168.0.105.514      *.*                    
udp4       0      0 192.168.0.104.514      *.*                    
udp4       0      0 192.168.0.106.514      *.*                    
udp4       0      0 *.514                  *.*                    
udp6       0      0 *.514                  *.*
Here is a xauth list from from the freebsd
Code:
Dell/unix:0  MIT-MAGIC-COOKIE-1  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Dell/unix:10  MIT-MAGIC-COOKIE-1  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
from the openbsd
Code:
localhost.Barbar:10  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZ
localhost:10  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Fujutsu.Barbar/unix:11  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZ
Fujutsu.Barbar/unix:12  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Fujutsu.Barbar/unix:0  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZ
localhost.Barbar:0  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
localhost:0  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Fujutsu.Barbar/unix:10  MIT-MAGIC-COOKIE-1  ZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
and from the jail 192.168.0.105
Code:
mywww/unix:11  MIT-MAGIC-COOKIE-1  YYYYYYYYYYYYYYYYYYYYYYYYYYY
mywww/unix:10  MIT-MAGIC-COOKIE-1  YYYYYYYYYYYYYYYYYYYYYYYYYYY
A possible problem is that in /var/log/messages on the jails I have
Code:
Dec 23 10:27:29 mywww syslogd: kernel boot file is /boot/kernel/kernel
Dec 23 10:27:30 mywww sm-mta[1488]: My unqualified host name (mywww) unknown; sleeping for retry
Dec 23 10:28:30 mywww sm-mta[1488]: unable to qualify my own domain name (mywww) -- using short name
Dec 23 10:28:30 mywww sm-msp-queue[1528]: My unqualified host name (mywww) unknown; sleeping for retry
Dec 23 10:29:30 mywww sm-msp-queue[1528]: unable to qualify my own domain name (mywww) -- using short name
I have specified itself in it s /etc/hosts.
Reply With Quote