pottzie
Posts: 15
Joined: Wed Aug 08, 2012 6:39 pm

using vnc to connect to a Linux computer?

Mon Aug 27, 2012 4:08 am

I installed vnc-server so I can see the GUI of my Pi from my Fedora laptop. I installed Tiger VNC Viewer on the laptop, but I haven't gotten it to connect to the Pi. I can get into the Pi using ssh, but now I have to figure out how to make Tiger VNC and the vncserver on the Pi work with each other.

Any info appreciated. I think I have to tell either, or both computers which sockets to use, but no set up info shows when I try to connect. Don't know if there's more involved, or what, but that's my guess.

shortcircuit
Posts: 14
Joined: Sat Aug 04, 2012 5:14 pm

Re: using vnc to connect to a Linux computer?

Mon Sep 03, 2012 5:29 pm

If you haven't done it already you first need to start the server on the pi.
The first time you do it you'll have to pick a password for the vnc connection:

Code: Select all

pi@raspberrypi ~ $ vncserver -geometry 1024x768

You will require a password to access your desktops.

Password: 
Verify:   
Would you like to enter a view-only password (y/n)? n

New 'X' desktop is raspberrypi:1

Creating default startup script /home/pi/.vnc/xstartup
Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log
I don't know about tiger vnc but if you'd use vnc4 or tightvnc you could then say say:

Code: Select all

vncviewer address.of.your.raspberrypi:1
(for an unencrypted connection)
or:

Code: Select all

vncviewer -via pi@address.of.your.raspberrypi :1
(for a connection tunneled through ssh)
The worst part of censorship is ###### ########

Return to “Troubleshooting”