Is it possible to open a rdp from raspberry to another pc ??
I'm reading this as you want to use your RPi as an RDP client to connect to a remote Windows computer. If this is the case, try installing the
remmina package. I've used it as an RDP client to Windows machines, and it works very well.
- Start up your Pi to the terminal prompt.
Type the following command
sudo apt-get install xrdp
If promoted enter your password (the default is "raspberry")
- Type "Y" and press enter.
- This is now installing xrdp onto your Pi which is the software we are going to use for the remote desktop connection. Wait for it to complete. Restart your Pi. We are going to check that xrdp is going to start up automatically.
When your Pi has booted to the command prompt look for [ ok ] Starting Remote Desktop Protocol server : xrdp sesman. This shows you that xrdp is installed and automatically starting up on start up of your Pi
The last step is to make a note of the IP address of your Pi which should also be displayed on the start up screen. Run the command
to find out your I.P. This is the address of your Pi on your network and what we will use to connect to your Pi from the second machine.
ON THE REMOTE COMPUTER
- Launch Remote Desktop Connection which can be found at Start->All Programs->Accessories->Remote Desktop Connection
- Type in the IP Address for your Pi which you noted above.
- Click Connect (you may get a security warning at this stage just click OK if you do. After all it is your Pi on your network so nothing to worry about security wise).
- Leave the Module on the default of sesman-Xvnc and enter your username and password for your Pi. (The default is pi and raspberry if you haven't changed them).
- Click OK and after a few moments you should be greeted my your Raspberry Pi's desktop!
I would rather recommend you use the built in VNC:
You need to do some setup though
- Download VNC Viewer to the computer you want to use to connect
On the Raspberry Pi
On the desktop GUI:
- On your Raspberry Pi, boot into the graphical desktop.
- Select Menu > Preferences > Raspberry Pi Configuration > Interfaces.
- Ensure VNC is Enabled.
In the command line
- sudo raspi-config
- navigate to Interfacing Options.
- scroll down and select VNC > Yes.
Alternatively on the command line (wrote this puppy myself)
sudo systemctl enable vncserver-x11-serviced.service && systemctl start vncserver-x11-serviced.service && echo "VNC started: $(hostname -I)"