To take the Remote desktop of your ubuntu machine from windows machine using ‘mstsc’, we have an option to do that by installing the xrdp remote desktop protocol.
With the release of Ubuntu 14.04, the xRDP functionality has been improved but some small issues are still showing up. In this post, we will show you how to
- Easily install xRDP
- Connect to your Ubuntu Unity Desktop Interface
- Set the keyboard layout to be used when using xRDP
~]$ sudo apt-get install ubuntu-desktop
install xrdp using below command
~$ sudo apt-get install xrdp
add the user to access the ubuntu using the same user account
~]$sudo adduser arkit
Note: adding the user will not have a administrator access, in order to provide administrator access to created user account provide sudo access
~]$sudo adduser arkit sudo
start the xrdp service
~]$sudo /etc/init.d/xrdp start
now try to access from your windows machine
Start >> Run >> mstsc
type the IP address and click on connect
provide the user name and password which you have created
Note: if your getting an below error
then do the below steps to resolve the issue
aravi@ankam-ubuntu:~$ sudo apt-get install gnome-session-fallback
aravi@ankam-ubuntu:~$ echo "gnome-session --session=gnome-fallback" > ~/.xsession
aravi@ankam-ubuntu:~$ cat .xsession
gnome-session --session=gnome-fallback
restart the xrdp service
~]$sudo /etc/init.d/xrdp restart
Still no Luck..!!
then try below
~]$ps -ef |grep vnc
~]$kill -9 <PID>
Now try you will get it..
No comments:
Post a Comment