Remote Desktop (RDP) (From another computer to your RPi)
To do remote access to another computer from your RPi see below
RDP will allow you to connect remotely to the RPi. from another computer on your LAN.
The RPi can then be run 'headless' or without keyboard, mouse or monitor connected to the RPi.
The RPi will of course need to be connected to your LAN via network cable or WIFI.
Response however will be a bit sluggish especially if you attempt to browse the Internet remotely through the RPi
RDP must be running on the RPi and an RDP client must be running on the 2nd computer:
Note that this is not merely a terminal login such as you get with an
SSH or serial console connection. This will provide the full GUI user interface
The GUI will start when connecting remotely even if the RPi is not configured with the auto startx.
The remote session(s) will be
independent and in addition to any session that may be already running on the RPi.
Connection to an existing session is not discussed here. Can be done
but not straight forward. When I figure that out I may add to this page.
You will need to install XRDP server on the RPi
sudo apt-get install xrdp
Once installed the xrdp process will auto load and start when you boot the RPi.
- You will be asked for the RPi username and password. If you haven't changed it then- User: pi Password: raspberry
- You need to know the current IP address of your RPi.
Look in your router
config pages to find it. Should be something like: 192.168.1.xxx
From the RPi enter sudo ifconfig. Look for inet addr: 192.168.x.xxx.
Note: For Ethernet connections look in eth0 section. For WIFI connections look in wlan0 section.
Hint: I find it better to set up IP reservations in the routers config pages. When set up like this, the
router always gives the same IP address to the RPi and you won't have to look it up each time. See tutorial here.
Also you can save the IP address as well as the username and
password in the remote client software. Having the IP
address always the same means you wont have to fuss around and edit the
saved configurations each time the router gives your RPi a different IP.
Remote Computer Software
On the remote computer I have used 2 programs. The Windows XP
Remote Desktop Connection and RDPDesk. Both work well. RDPDesk has a
bit better screen settings setup and can automatically go full screen
on the remote monitor. In the Windows program you must manually choose
a resolution setting that will best fit the screen you are using.
Remote Desktop Connection (Windows XP)
Windows XP and maybe other versions come with Remote desktop (RDP) pre installed.
Start --> All Programs --> Accessories --> Remote Desktop Connection
- Be sure to log out of the RPi session when done. This means you
click on the red logout Icon at the bottom right side of the RPi session screen. then click
Don't close the RDP program until logging out of the RPi else you may leave sessions running on the RPi.
- It is possible to have multiple sessions running on one RPi. Again be sure to log out of each one.
RDPDesk Software (Free)
Look for the 'Open Source' version. (Not the professional free trial version).
Hints on RDPDesk program on Windows PC
- I prefer to run full screen by default see configuration below.
sure to log out of the RPi session when done. This mean you click on
the red logout Icon in the RPi session screen bottom right.... then click Logout. Don't
click the red x icon in the top RDP menu or terminate RDP until AFTER logging out of the
RDP Desk Configuration Hints
- You must enter the IP address of your PI in the Server field.
- The login user & password can be saved and automatically sent if you wish. Check Auto Login.
- Click display tab and select the screen you want. I like the full screen mode.
- Click Performance and choose LAN 10mb+
- Settings can be saved in the connection tree if you wish.
- Right click on your saved item to get back to configuration if you need to make changes later.
RDP Desktop (Full Screen)
This is RDP Desk running in full screen mode from a Windows XP machine.
The tab at the top will allow you to minimize the remote session.
When done be sure to logout of the RPi session properly by clicking
on the red icon in bottom right corner. Not the close [X] button on the
Remote Desktop (RDP) (From your RPi to another computer)
To bring the screen of another computer to your RPi, first install the following program on your RPi:
sudo apt-get install rdesktop
Get the IP address of the computer that you want to connect to, then from a command line type:
- You will need the username and password of the remote computer
- Be sure to log out of the remote session properly.
- Remote Desktop DOES NOT work to a Windows XP Home Edition machine.
- Must be Windows XP professional version and remote desktop must be enabled.