View previous topic :: View next topic |
Author |
Message |
Bachus n00b
Joined: 04 Sep 2004 Posts: 69 Location: Leiden, The Netherlands
|
Posted: Sun Feb 20, 2005 3:50 pm Post subject: Unable to get TightVNC working :( |
|
|
Hi,
Just read this excellent howto. Only thing is that I'am unable to connect to the server. Every time I strat vncviewer it tells me it is unable to connect and that the connection is refused. Tried to run the server manually, but it it just keeps complaining that it is unable to connect. This is what happens:
Code: |
fcoppens@void ~ $ vncserver
Warning: void:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server void:1
New 'X' desktop is void:3
Starting applications specified in /home/fcoppens/.vnc/xstartup
Log file is /home/fcoppens/.vnc/void:3.log
|
Code: |
fcoppens@void ~ $ vncviewer 127.0.0.1
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server
|
Doesn't matter if I try it with 'localhost', '192.168.1.11' or the hostname. Same result every time.
What's going on here? The howto is very straightforward and I read through it again and again, hoping to find any mistakes I made. Noone seems to ran into this problem jet as far as I could tell. |
|
Back to top |
|
|
Rcomian Apprentice
Joined: 10 Jan 2004 Posts: 174 Location: Uk, Northwest
|
Posted: Sun Feb 20, 2005 5:40 pm Post subject: |
|
|
Yeah, I had a similar issue.
For the manual vncserver, it looks a bit like you're running on Xvnc display 3, so maybe you'll wanna try:
Code: |
vncviewer 127.0.0.1:3
|
As for the terminal server, try commenting out the line in xinetd.conf that limits connections from the localhost, it just kinda breaks things as far as I can tell:
Code: | # Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.conf,v 1.6 2004/07/15 00:53:48 agriffis Exp $
# Sample configuration file for xinetd
defaults
{
# only_from = localhost
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d |
Now, I'm *sure* there's a more secure way of setting that, but it'll get you started. Have fun. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|