Desktop Sharing in Ubuntu 12.04 does not support RDP (remote desktop protocol ),so we need to install xrdp to allow connection from Windows 7 Remote Desktop.
Requirements:
- xrdp install on Ubuntu 12.04
- Windows 7 professional or higher
1.Install xrdp in ubuntu 12.04.Open a terminal by pressing CTL+ALT+t ,then run below command
sudo apt-get install xrdp
2.Open Remote Desktop Connection in Windows 7.(click Start button,then search “remote” in search box)

2.Input the host name or IP address of your Ubuntu machine ,then click Connect

3.Input your username and password of Ubuntu ,then click Ok to connect

4.You are done,enjoy

Note:you can run below command to disable this service in Ubuntu 12.04
sudo service xrdp stop
Pingback: Remote desktop to Ubuntu 12.04 from Windows 7
Is the connection from Win7 to Ubuntu xrdp secure, as in using OpenSSH?
non”t in working correct way…
GREAT!! No need to add software such as vnc & tsimilars…
I can access my Ubuntu system fine with RDP but whenever I try to do an administrative function, such as add a user, the unlock button does not prompt for the admin password, it just displays: System Policy Prevents Change. Contact your system administrator. This feature works fine from the same login account when using the console.
I did the same, i think i connected successfully. but i see only ubuntu desktop wallpaper on windows, no screens and i was not able to control ubuntu. I did not see any notification in ubuntu about the connection.
Go to this website: http://scarygliders.net/
And download & run the X11RDP-o-Matic.
This makes the initial setup so easy!
I am still working on the fine tuning, but this got me started. Now if I can just figure out if there is a “Console” mode, instead of a new session!!!
Please, if you find this works out for you, think about a donation to this guy! With more people like him writing easier installers, they could make Linux a viable alternative as a desktop replacement across the board!
Go to this website: http://scarygliders.net/
And download & run the X11RDP-o-Matic.
This makes the initial setup so easy!
I am still working on the fine tuning, but this got me started. Now if I can just figure out if there is a “Console” mode, instead of a new session!!!
Please, if you find this works out for you, think about a donation to this guy! With more people like him writing easier installers, they could make Linux a viable alternative as a desktop replacement across the board!
You actually make it appear so easy along with your presentation however I in finding this topic to be really one thing that I feel I would by no means understand. It sort of feels too complicated and very extensive for me. I am having a look ahead to your next submit, I will try to get the hold of it!
I have the same issues as the person above who stated that they just got the desktop wallpaper with no control over Ubuntu. I’m a bit better off as I have a link to my homepage, so that comes up and I’m at least online. I also have a script for a root terminal. If I really knew what I was doing, I could probably do a lot with the terminal, but I am little more than a newbie, so I’ll try REWard’s suggestion. I wish the other guy came back with a results report….
Negative results with X11-RDP-O-matic!
Now I have the condition described by DeeJ!!!
I’ve regressed!
Now I gotta figure out how to revert my Ubuntu to before I installed this…or just remove it…
At least I’m getting more educated, but the only trouble is is that the learning’s proprietary!
I’m BAAA-ACK….
Couldn’t unstall X11 completely or properly, so I reinstalled it…..correctly this time. I’ll tell ya what I did. Maybe you’re doing the same type of thing.
I would run X11rdp-o-matic.sh, which is actually a script file by dragging and dropping it into the terminal. this is all well and good, BUT THE TERMINAL MUST BE RUNNING OUT OF THE SCARYMATIC folder, where all the other files are located! When I reinstalled X11rdp-o-matic.sh with the terminal running from the ScaryMatic folder, e.g.
root@ubuntu:/home/frank/Desktop/ScaryMatic#
things worked MUCH better…almost properly.
Then I did the same for the RDPsesconfig.sh file
It reinstalled, too, and I first tried the 2-D configuration.
When I did that and connected, I was informed that the 2-D file was unavailable, or something to that effect. Xfce would attempt to connect and drop out.
BUT the Gnome desktop seems to be juuuuust right. And that is what I’m on now with apparent full-functionality.
OH! And BTW….the Ubuntu I am connected to is actually a VM running under a Windows 7 machine down the basement which I also remotely connect to, but not simultaneously, of course. So all is well when it’s all done right….
Hi,
I have the same problem as some other here – I can get the desktop background but no access to folders or programmes. I’m sure the answer will be simple! Any pointers much appreciated
Thank for writing this up. I hadn’t tried an RDP version of remote desktop on linux. This seems to work better on my install of ubuntu 12.04 powered by an old geforce mx 440.
Not working . The only thing I can see is blank desktop wallpaper !
Thanks for the post !
I’m able to connect from Win7 Remote-Desktop to Ubuntu xrdp, log, get a new session and work.
Only problem is – Each and every time, after a few seconds the session freezes
I’ve googled this issue and saw I’m in a good comany… The only type of solution I found thus far that seems to have helped others was disabling all sorts of services / drivers on the Windows part (mainly the sound in Remote Desktop settings), but this has not worked for me. Does anyone have any idea ?
Just execute this:
echo “gnome-session –session=ubuntu-2d” > ~/.xsession
and reboot.
I’m going to try using RDP to login to Ubuntu 12.04 as soon as I upgrade to it (very soon I hope). My question though is how to access Ubuntu via the Interned since the Windows 7 machine is not on the LAN. I did some homework and believe I need to se up something like a dynamic DNS (http://dnslookup.me/dynamic-dns/), but that is all I know. Would appreciate any tips or ideas.
Thanks,
Dave
Dave,
Yes you will need to setup some sort of dyndns, and you will also need to port forward the port (3389) in your router.
I have installed Ubuntu 12.04 LTS and join domain successfully, i am able to remote Ubuntu from Microsoft windows using XRDP by using Ubuntu but when i try to remote Ubuntu using domain administrator blank screen appears, How to resolve this issue?
Problem. after connection – empty screen, gnome-session variant also do not work, Any ideas ?
Yes no ideas work for me i am creating session gnome-fallback.
Add this to your .xsession file
gnome-session –session=ubuntu-2d
Follow the below steps :
http://forums.esds.co.in/f4/access-ubuntu-server-remotely-via-rdp-instead-vnc-4617/
I cant do that. when I do the first step it ask again to do this and I see an error. some files unable to fetch you want to try again. I say yes and bam I keep seekin “y”