Home Linux How to take Remote Control of Ubuntu from Windows RDP

How to take Remote Control of Ubuntu from Windows RDP

How can I take the remote control of Ubuntu server from windows pc via RDP ??

Some users feel comfortable with GUI on the Linux server. In this article, step by step instructions with screenshots is given. To take the Ubuntu server remote from windows pc via RDP, the following things are required:

1. GUI (Graphical User Interface) is required on the Linux Server.
2. xrdp and xfce4 install to take remote control.
3. Allow 3389 port from the firewall for the remote connection.

READ MORE: How to Install GUI on CentOS 7

Install XRDP Open Source Remote Control Tool

1.To install xrdp on ubuntu server, run the following command:

# sudo apt-get install xrdp
install xrdpInstall xrdp

2. Now install the xfce4 on the ubuntu server to use the alternate desktop environment.

# sudo apt-get install xfce4 

3. Make sure ubuntu server xrdp uses the xfce4 desktop environment.

#  echo xfce4-session >~/.xsession 

4. Next step is to add the following in the /etc/xrdp/startwm.sh before the last line.

startxfce4

5. Now restart the xrdp service.

# sudo service xrdp restart

6. Allow port 3389 from the Ubuntu server firewall and restart xrdp service.

# sudo ufw allow 3389/tcp
# sudo service xrdp restart

7. Now go to windows pc and take the remote control of ubuntu server.

Open Run and type mstsc. In the next windows, enter the IP address of the Ubuntu server.

8. Next windows will ask for the remote user credential. Enter the username and password of the Ubuntu server.

9. You will get the Ubuntu server remote connection with xfce desktop environment.




Conclusion: This is all about how to take remote control of the Ubuntu server from the windows via RDP. In case of any doubts or suggestion, please write in the below comment box.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here