I've followed that link to creeate a "Xvnc Terminal Server":

http://forums.gentoo.org/viewtopic-t-72893-postdays-0-postorder-asc-start-0.html

* My machines has no Diplay connected to it and mouse, but to test it
i use to connect a monitor so i can check everything works fine.

* Xdm works proprly but i can't acces from the localhost neither fro
mthe local network. I'm always getting the can't open display error

>When i type vncviewer localhost:71: (in syslog doesn't appear nothing when 
>doing it from the localhost but it does if i do it over lan or connected over 
>ssh)

# vncviewer localhost:71
Error: Can't open display:


>xhost gives that error:

# xhost
X connection to sibok:11.0 broken (explicit kill or server shutdown).

> xauth ist like that, it's auto created when logging from ssh

That's the syslog when a try to connect from the local network

> cat /var/log/messages

Dec 13 15:10:16 sibok xinetd[18183]: START: vnc-640x480x8 pid=18351
from=172.26.0.2
Dec 13 15:10:16 sibok xinetd[18183]: EXIT: vnc-640x480x8 status=1
pid=18351 duration=0(sec)

># emerge -pv tightvnc xinetd tcp-wrappers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/tcp-wrappers-7.6-r8  USE="-ipv6*" 0 kB
[ebuild   R   ] net-misc/tightvnc-1.3.9-r1  USE="server tcpd -java" 0 kB
[ebuild   R   ] sys-apps/xinetd-2.3.14  USE="perl tcpd" 0 kB

># cat /etc/hosts.allow
ALL:127.0.0.1
ALL:172.26.
ALL:172.26.0.0/255.255.255.0
ALL:172.26.0.2

>sibok ~ # cat /etc/hosts.deny
ALL:ALL

Don't know if it could be something related to display 1:0 or somehow.
Can someone help me pease? Thanks in advanced

Reply via email to