1 |
I've followed that link to creeate a "Xvnc Terminal Server": |
2 |
|
3 |
http://forums.gentoo.org/viewtopic-t-72893-postdays-0-postorder-asc-start-0.html |
4 |
|
5 |
* My machines has no Diplay connected to it and mouse, but to test it |
6 |
i use to connect a monitor so i can check everything works fine. |
7 |
|
8 |
* Xdm works proprly but i can't acces from the localhost neither fro |
9 |
mthe local network. I'm always getting the can't open display error |
10 |
|
11 |
>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) |
12 |
|
13 |
# vncviewer localhost:71 |
14 |
Error: Can't open display: |
15 |
|
16 |
|
17 |
>xhost gives that error: |
18 |
|
19 |
# xhost |
20 |
X connection to sibok:11.0 broken (explicit kill or server shutdown). |
21 |
|
22 |
> xauth ist like that, it's auto created when logging from ssh |
23 |
|
24 |
That's the syslog when a try to connect from the local network |
25 |
|
26 |
> cat /var/log/messages |
27 |
|
28 |
Dec 13 15:10:16 sibok xinetd[18183]: START: vnc-640x480x8 pid=18351 |
29 |
from=172.26.0.2 |
30 |
Dec 13 15:10:16 sibok xinetd[18183]: EXIT: vnc-640x480x8 status=1 |
31 |
pid=18351 duration=0(sec) |
32 |
|
33 |
># emerge -pv tightvnc xinetd tcp-wrappers |
34 |
|
35 |
These are the packages that would be merged, in order: |
36 |
|
37 |
Calculating dependencies... done! |
38 |
[ebuild R ] sys-apps/tcp-wrappers-7.6-r8 USE="-ipv6*" 0 kB |
39 |
[ebuild R ] net-misc/tightvnc-1.3.9-r1 USE="server tcpd -java" 0 kB |
40 |
[ebuild R ] sys-apps/xinetd-2.3.14 USE="perl tcpd" 0 kB |
41 |
|
42 |
># cat /etc/hosts.allow |
43 |
ALL:127.0.0.1 |
44 |
ALL:172.26. |
45 |
ALL:172.26.0.0/255.255.255.0 |
46 |
ALL:172.26.0.2 |
47 |
|
48 |
>sibok ~ # cat /etc/hosts.deny |
49 |
ALL:ALL |
50 |
|
51 |
Don't know if it could be something related to display 1:0 or somehow. |
52 |
Can someone help me pease? Thanks in advanced |