Posts: 64
Joined: Wed Jul 11, 2012 5:45 pm

Accessing RaspberryPI Remotly with Thightvncserver (Debian)

Mon Jul 16, 2012 12:40 pm

What it worked for me was doing the following procedure::

sudo apt-get install tightvncserver

then run:

sudo /usr/bin/tightvncserver

and when prompted setup a password for the remote users.

To make tightvncserver to run at boot time do the following:

sudo nano /etc/rc.local

And add this line somewhere in the middle or beginning:

su -c "/usr/bin/tightvncserver -geometry 1280x1024" username

username in my case is 'pi' and the -geometry option can be for instance: 1024x768 or 1152x864, et. I had included other options/parameters in that line above, and I was getting black icons on the screen, but with only -geometry option it did the trick and it's working great!, I don't even have to login into the local Raspberry PI screen, just boot the device and access it immidiatly remotly in Windows 7.

That’s it! To test you can either reboot, or else manually run the rc.local script:

sudo /etc/rc.local

then proceed to access your raspberrypi remotly from a vnc-viewer (I use tightvnc viewer in windows 7). login with the IP address of the raspberrypi box followed by a colon and the port

password (the one you setup when run sudo /usr/bin/tightvncserver)

Posts: 3
Joined: Sat Feb 04, 2012 5:26 am

Re: Accessing RaspberryPI Remotly with Thightvncserver (Debi

Thu Aug 02, 2012 4:54 am

Awesome! Just installed this on my tablet and win7 machine. Works great! Will install on my pi and other linux boxes. Thanx for posting this!

Return to “General discussion”