What you're seeing is basically the OpenBox windows manager, and it's now far easier for you to do useful things with your Raspberry Pi!
Monday, 10 December 2012
Installing VNC on a Raspberry Pi
Where Raspberry Pi really differs from things like Arduino is that it uses a Linux distro complete with an X Server - this means it has a graphical windows-based interface similar Windows or OSX. I'm avoiding using an additional monitor/keyboard/mouse so I want to be able to view and interact with this remotely. There is a protocol called VNC used to access X Servers remotely to enable this (identical idea to Windows Remote Desktop). To enable remote access to our Rapsberry Pi we first have to install a VNC Server. Linux uses package management systems to simplify the installing of the vast array of available open source Linux software, the same way the Apple App Store and Google Play enable this for mobile phone/tablet software. To install our VNC server with first have to connect to the Pi over SSH, we then issue the command 'sudo apt-get install tightvncserver' and hit return. Sudo grants us permissions to install software (we're usually prompted to re-enter our password - 'raspberry' unless it's been changed), apt-get is the package management program, install tells apt-get we want to install something, tightvncserver is the name of the thing we want to install. Answer Y at the prompt and in a few second our VNC Server is installed. Now type 'vncserver' and hit enter, for a password you can put anything you like ('raspberry' may be a good choice!), you most likely wont need a view-only password, you should now being seeing something like this:
The part 'New 'X' desktop is raspberrypi:1' is signifiant as the ending number is the display number needed to connect (you can have multiple VNC Servers running simultaneously with different display numbers). You now need a VNC client to connect to your Pi, there are plenty of free options but to get up and running quickly I'd use TightVNC under Windows and Chicken under OSX (under Linux you'll probably find one already installed). The host you specify is the IP address of your Pi and the display number is most likely 1 (this is the number from earlier), you'll also need the password you entered earlier, if everything went to plan you'll now see something like:
What you're seeing is basically the OpenBox windows manager, and it's now far easier for you to do useful things with your Raspberry Pi!
What you're seeing is basically the OpenBox windows manager, and it's now far easier for you to do useful things with your Raspberry Pi!
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment