You are not logged in.

#1 2015-04-11 17:03:17

spectacledsloth
Member
Registered: 2015-04-11
Posts: 1

Unable to connect to vncserver

Hi all, newbie here
So I got a raspberry pi. Put Arch on the sd card. SSH to it using my kubuntu-box. Install openbox, tint2, midori etc etc. Installed tigervnc (I followed the wiki).I did not touch the xstartup file because I was unsure of what to do. Started up vncserver (I see the process running in Top/htop) . Anyway, when i try to connect using gvncviewer localhost::8900 on my kubuntubox, it simply says "Failed to connect to server".

i am not sure what I am doing wrong. From what i scoured on the web, it should be an open and shut case.

Eventually my aim is to do vnc from my windows box to arch.

Offline

#2 2015-04-18 17:27:42

scryan
Member
Registered: 2014-07-01
Posts: 50

Re: Unable to connect to vncserver

Did you run the vncserver command to generate passwords?
Is the server shown when you run vncserver -list
Are you trying to tunnel VNC through SSH, and if so did you connect to SSH with the correct command as shown in the wiki?

ssh IP_OF_TARGET_MACHINE -L 8900:localhost:5901

From your kubuntu machine where you would be trying to set up a tunnel to connect to vncserver :1

If your just connecting over your local network, and are not trying to tunnel through SSH for security, then you should be connecting to something like alarmpi:5901 where alarmpi is the host name of your raspberry pi, or its IP address.

Also... Probably going to have to touch that xstartup, how is it going to know that you like openbox with tint2?
Not sure what it tries to startup by default, but probably not openbox with tint2 so it probably wont start up properly as is. As stated in the wiki article this is basically and xinitrc file for the vnc session...

Last edited by scryan (2015-04-18 17:29:07)

Offline

Board footer

Powered by FluxBB