![]() The reason, if you’re using the standard “pi” user account, is that you’re not an admin user and you don’t have the password for the superuser/root account. If you’re using the Debian “squeeze” flavour of Linux you may have seen the “Enter administrative password” dialog box pictured below and stumbled when trying to authenticate as the admin user. If this doesn’t work, enter the IP address followed by “:x”, e.g. Use port “590x”, where “x” is the session number used in step 3 in the previous section.Connect your client to the IP address obtained from 1.The IP address with be shown as highlighted in the image below. Get your RPi’s IP address by running "ip addr show”.A Google search should find you a suitable app for your own system. TightVNC has a free client application, there’s a native Windows version and a surprisingly good (but limited) Java version, which should run on any desktop/laptop system. I’m using Apple’s Remote Desktop software which is incredibly powerful (especially when administering Macs) but is overkill if you are just using it with your RPi. There are lots of VNC clients you can use, depending on your platform. You can set this to run at start up, see the eLinux wiki tutorial, or look for a later post on this blog on automatic login which can start the VNC session with less effort. ![]() You can start more than one VNC session by running subsequent vncserver commands, just increment the first digit: e.g “vncserver :2 …” for a second, "vncserver :3 …“ for a third (I don’t know how many the RPi could handle).You could use 16-bit instead to reduce network traffic. In the above exampe, 24-bit colour depth is used. Colour depth is specified by the -depth argument.The RPi is capable of full HD so you could try 1920x1080. Configure the session’s resolution after the -geometry argument.Start a VNC session: “vncserver :1 -geometry 1024x728 -depth 24”.Install tight VNC: “sudo apt-get install tightvncserver”.There are various guides for this online, most suggest using the TightVNC server software, here’s my summarised need to know version, run all commands from the command line: The VNC server software runs on your RPi, access it by running VNC client software on your other device. How can you use it without disrupting your setup? VNC (Virtual Network Computing) allows you to see your Pi’s desktop and control it remotely using another computer running Mac OS X, Windows or Linux (and other devices too). So you’ve got your Raspberry Pi setup, but what if you don’t have a dedicated monitor to use with it (for example, mine’s connected to my TV). Enter your Raspberry Pi’s username and password (default username is “pi” with password “raspberry”).Enter “afp://” followed by your Raspberry Pi’s IP address.In Finder, open the Go menu and select “Connect to Server…” (⌘K).When apt-get has finished, you can connect from the Mac: My attempts at installing 2.2.3 failed though I’m sure it’s possible. ![]() This installs 2.1.2 of Netatalk which is not the latest ( 2.2.3 at time of writing) which may cause issues with using this for Time Machine and with Lion, although I have not experienced any issues on my two Lion machines. You should now be able to access your Raspberry Pi from the Finder side bar and under Network (shift + command + k).ĮDIT: The remainder of this post is now outdated and should not be required once you have installed netatalk. It will also cover setting it up to be easily accessible without the IP address. This post will guide you through setting this up using Netatalk. AFP (Apple Filing Protocol) is the protocol Macs use to share files over a network. This post will only interest you if you’re using a Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |