You'll need this, later.ĭetermine the IP Address of the Pi With a Mac App It's a case of matching the known MAC address to the IP address. This creates a list of IP addresses that are currently being used on the local area network. Provided that you know the MAC address, open Terminal and enter the following commands: ifconfig | grep broadcast If you know the MAC address of the Pi, you can find the IP address from Terminal on the Mac In order to determine the IP address of a Raspberry Pi on the local area network, you will need to know the MAC (Media Access Control) address of the Raspberry Pi. Tightvncserver -kill :1 Determine the Raspberry Pi’s IP Address From a Mac If, at any point, you wish to stop the VNC server running, enter the following command: ![]() Raspberry Pi desktop at 1600x900 pixels Stopping VNC Raspberry Pi desktop at 1024x768 pixelsĬhanging the aspect ratio and pixel resolution, of the Pi, is possible. Provided that you kill the server, each time, you can change the resolutions displayed. If the tightvncserver is already running, you will need to stop it before running one of the commands, above, to change the resolution. Where 1 is the port number 5901, 2 is 5902, 3 is 5903 and so on. Changing the resolution of the Raspberry Pi desktopĮxamples of the command that you can enter are: vncserver :1 -geometry 1440x900 If you wish to run the Raspberry Pi at a particular screensize, for the VNC server, you can do so by entering a command that configures the port number and the screen resolution. You will then be asked if you wish to enter another password that the remote viewer will need to use in order to view the Raspberry Pi desktop, ie: a password that you need to enter everytime you connect. The password that you enter will be used to authenticate remote VNC clients that try to connect to the Raspberry Pi. Once the tightvncserver software has finished installing, you need to run the software by entering the following command on the command line: tightvncserver Enter a passwordĪs this is the first time that tightvncserver has been run on the Raspberry Pi, it will prompt you to enter a password. ![]() Then allow the software to be installed from the software repository. If you are in the graphical user environment, first launch LXTerminal to bring up the command line so that you can enter the following commands: sudo apt-get update If you are still at the command line, enter the following commands. If you have already enabled SSH, on the Pi, it is possible to use Terminal on the Mac to log into the Raspberry Pi command line by entering the following command in Terminal: ssh address of the Pi] Command Line Interface on the Pi Installing tightvncserver on the Raspberry Pi SSH From a Mac Using SSH (Secure SHell) to access a Raspberry Pi from a Mac Switch on the power to boot the Raspberry Pi and boot into Raspbian. Once you have created an SD Card with Raspbian, or NOOBS, insert the SD Card into the Raspberry Pi. Connect the Raspberry Pi to a keyboard, mouse, monitor and power. Instructions on how to do this are in the How to Install NOOBS on a Raspberry Pi With a Mac tutorial. If you have not already done so, install Raspbian on an SD Card. VNC allows the keyboard and mouse of Computer A to control Computer B which relays back the graphical user environment, GUI, to Computer A over a local-area or wide-area network. Or you could to the same from a Windows PC or a Linux box. Virtual Network Computing is independent of platform, thus it is possible to use a Mac to remotely control a Raspberry Pi. VNC stands for Virtual Network Computing and is a method of graphical desktop sharing to remotely control another computer. In this tutorial I'll show you how to take screenshots on a Raspberry Pi. ![]() With a picture you can paint a thousand words and, as a tool for teaching anything relating to computers, a screenshot is an effective way of getting across ideas or information.
0 Comments
Leave a Reply. |