I am trying to access Ubuntu 11.10 using Remote Desktop from a Win 7 machine. I installed xrdp. I launch the Windows remote desktop client and login in. I then get prompted for the user name and password.
It then logs in, but all I see is the background, no menus, nothing. I have to kill remote desktop by closing it.
Even if I right click , nothing. Any ideas???
The only reason I even went down the RDP road was that VNC would not work either, even after I enabled desktop sharing. I am in a bind as I need to connect to Ubuntu via Windows. In version 8 Ubuntu this was not an issue and it just worked.
You might still have another desktop manager in your .xsession config.
I've had a similar issue and this solved it.
For future readers of this post (I found this post top of my Google search when I had the same problem), xrdp no longer seems to work with Ubuntu-2d in Ubuntu 14.04. Instead you must install xfce
sudo apt-get install xfce4
Then add the line
xfce4-session
to your ~/.xsession file instead of the gnome-session --session=ubuntu-2d line
Try this. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
If I understood you correctly, you have Win 7 machine (rdp client) and ubuntu 11.10 (rdp server).
If you have unity 3d enabled in ubuntu, that will cause problems. Use gnome session fallback:
(you have to log out and select "gnome classic no effects")
..or xubuntu (xfce) :
..or lubuntu (lxde):
Also, try using rdesktop from command line. Looks like xrdp and other rdp gui programs don't support rdesktop's full capabilities, so it's best to use the command line directly.Add a backslash in front of your login, like: \yourlogin
This made it work for me. It removes the domain from your credential.
A limitation of the xrdp is that you can only login to desktop:0
I was logged in on the target machine as well as trying to connect. Once I logged out of the server I was able to login.
I had to do the following before it worked:
Install
xfce4
and configure.xsession
to "xfce4-session" as per Paul Rosenberg's reply above.Fix a permissions problem with
/etc/xrdp/
that caused the following error in/var/log/xrdp.log
:I added user
xrdp
tossl-cert
group, not sure if this is the best workaround though.For 20.04 black screen issue is being fixed by adding
gnome-session
orxfce4-session
to~/.xsession
file.In my case I has been successfully logged in into gnome-session:
This is more of a workaround, but if you get a blank desktop, then there might be a question on the remote Ubuntu computer asking whether to refuse or allow. Just click the allow button from the alert.
Try a different desktop manager. While using lightdm I was getting a blank/black screen via XRDP. Once I switched to lxdm everything worked as expected.