Accessing VNC

The Astroman

Active Member
I am trying to access a Linux based machin via VNC. I have set the internal IP of the remote machine to 192.168.1.9. I have run a vnc server via the command "vncserver" in the terminal. On my Windows PC, I can't access the VNC server 192.168.1.9... How come? I have also downloaded a little tool for firefox, IP tool (http://extensionroom.mozdev.org/more-info/iptool) which gives you your internal and external IP address at all times. On the linux machine, there is only an external address. The internal address field is empty... Well, how do I access it? Also, how can I configure VNC to start a server on boot?

Oh yeah, also, when I run the vncserver command in terminal, I get a "xauth: (argv):1: bad display name "dhcppc3:1" in "add" command" error.
"New "dhcppc3:1 (myusername)" desktop is dhcppc3:1 ...
 
Last edited:
i had the same problem.. but i wasn't on linux. so hope this'll help..

my ip would show the 192.168.0.1 always.. and i was never able to access my computer via VNC with another computer.. so i wasn't able to find my ip through ipconfig or anything.. so i went to

testmy.net

and ran the testing thing on my computer.. then it showed that my ip was xxxxxxxxxxxx .. so that was how i was able to obtain my ip.. im not sure if this is the case for u because im unfamiliar with linux.. but its a suggestion
 
no.. go through it.. it'll show ur ip.. dont go through all the way.. do it as guest .. n like 2 screens after.. it'll show
 
"your personal connection/login information"

did u see that? it shows the IP when u click on "Download Speed Test"

if not.. then for some reason.. linux is diff. then..
 
most time you have to specify a port, default on linux is 5901, also try 5900.

so it would look like this 192.168.x.x:5901

in some programs you have also add a video number. what vnc program are you using?

you only need the external ip if your connecting from outside your network, and in that case you would need to map in your router that when this certain external port is accessed, then go to this particluar machine.
 
Thanks for answering. I have activated the "remote administration" in YaST, and now I can't start a vnc server in the terminal. The remote admin. installed TightVNC. How do I start a server now?

EDIT: I can create a new server but still get the following error message:

Warning: dhcppc3:2 is taken because of /tmp/.X11-unix/X2
Remove this file if there is no X server dhcppc3:2
xauth: (argv):1: bad display name "dhcppc3:4" in "add" command

New 'X' desktop is dhcppc3:4

Starting applications specified in /home/myusername/.vnc/xstartup
Log file is /home/laurentv2/.vnc/dhcppc3:4.log
 
Last edited:
Back
Top