You are not logged in.

#1 2007-07-27 12:21:21

MW
Member
Registered: 2007-07-27
Posts: 127

TightVNC

I'm primarly a Gentoo user but am busy trying out Arch on my daughters PC.

Problem:
I can install and initiate a vncserver session with TightVNC on her PC but cannot seem to connect to it from my PC.

I saw in the little while that I used Arch that it seems to be very restrictive on incoming connections, but what service needs to be enables in hosts.allow to allow for vnc type connections?

root@192.168.0.5's password:
Last login: Fri Jul 27 20:45:25 2007 from mw
[root@carley ~]# vncserver
xauth: (argv):1:  bad display name "carley:7" in "add" command

New 'X' desktop is carley:7

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/carley:7.log
vncviewer 192.168.0.5
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server

Now the log file on her PC:

[root@carley ~]# cat .vnc/carley\:7.log
28/07/07 14:12:01 Xvnc version TightVNC-1.3.9
28/07/07 14:12:01 Copyright (C) 2000-2007 TightVNC Group
28/07/07 14:12:01 Copyright (C) 1999 AT&T Laboratories Cambridge
28/07/07 14:12:01 All Rights Reserved.
28/07/07 14:12:01 See http://www.tightvnc.com/ for information on TightVNC
28/07/07 14:12:01 Desktop name 'X' (carley:7)
28/07/07 14:12:01 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
28/07/07 14:12:01 Listening for VNC connections on TCP port 5907
28/07/07 14:12:01 Listening for HTTP connections on TCP port 5807
28/07/07 14:12:01   URL http://carley:5807
kbuildsycoca running...

Can't see anything wrong there...

And lastly the config file:

[root@carley ~]# cat .vnc/xstartup
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
kwin
startkde &

Offline

#2 2007-07-29 01:44:36

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: TightVNC

Well I'm kinda mixed on the issue I hope your daughter is young or else you shouldn't really be spying on her. Anyways from my understanding tightvnc starts up its own X session so you can see your daughters X session. Thus you would want to use a program called x11vnc to view the current xsession and I also believe gnome has a vnc server thing in the options.


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

#3 2007-07-29 09:26:54

MW
Member
Registered: 2007-07-27
Posts: 127

Re: TightVNC

As you can see the problem is not finding a client to view the session, the problem is getting access to the server.

Offline

#4 2007-07-29 09:43:28

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,629

Re: TightVNC

Is your vncviewer set to connect on port 5907 ?

Iirc you also need to enable 'x fowarding' or something similar on your daughter's pc.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2007-07-29 13:00:42

mezoko
Member
Registered: 2005-03-26
Posts: 310
Website

Re: TightVNC

My bad I think tightvnc uses port 5901 instead of the standard 5900


"The only thing we have to fear is fear itself." - Franklin D. Roosevelt

Offline

Board footer

Powered by FluxBB