You are not logged in.
Okay, I've tried to get VNC running on my server so I can toss the bugger in the basement and just control it remotely from my desktop but I've run into errors and confusion as I haven't broached this area before. From the wiki, I installed vncserver and followed exactly the steps on the server, it went fine, but I can't connect. Here's my settings:
~/.vnc/xstartup:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec fluxbox &
Here's the output when I run vncserver:
New 'X' desktop is mythbox:1
Starting applications specified in /home/bobby2/.vnc/xstartup
Log file is /home/bobby2/.vnc/mythbox:1.log
~/.vnc #
Now when I run vncviewer and enter the IP, I just get a dialog saying connection refused, here's output with vncviewer run from console:
~ # vncviewer
VNC Viewer Free Edition 4.1.2 for X - built May 19 2006 20:31:34
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Wed Jul 30 17:14:21 2008
main: unable to connect to host: Connection refused (111)
~ #
In my /etc/hosts.deny on the server I even commented out the deny line:
#ALL: ALL: DENY
Still the same error. Any help would be appreciated, thanks
Offline
When you connect you usually have to specify either the port or the display number. If i recall the vncserver will run on port 5901 by default.
So to connect you would use something like the following (use your servers IP address obviously):
vncviewer 192.168.0.2:5901
Last edited by Wittfella (2008-07-31 07:46:41)
Offline
Thank you Wittfella! That worked! I also got x11vnc working and am using an SSH tunnel, all is well Thanks
Offline
@colbert - which package and repo was it in did you install for the vnc server? Under debian/ubuntu the package I installed was called 'vnc4server' which ran realvnc4. I did a search of the arch repo but didn't find realvnc server. The closest one I found was tightvnc.
Last edited by graysky (2009-02-07 10:28:11)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I installed package "x11vnc"
Offline
@colbert - cool, are you able to start parallel sessions with x11vnc or just control the currently active session? tightvnc allows for parallel ones for sure.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline