ubuntu 14.04 xrdp grey

128,440

Solution 1

Your steps are correct so far. The only thing that you should be aware of is that the xrdp solution is not working with the Unity Desktop Interface nor with the Gnome Desktop.

You can still perform a remote session to your ubuntu through xrdp but you will need to install an alternate desktop environment. The one that seems to be the most used (probably because working) is the xfce desktop.

You can find a step by step process on how to use xrdp with ubuntu 14.04 at this location http://c-nergy.be/blog/?p=5305

To summarize the steps, you install xrdp you install alternate desktop you configure your profile so xrdp know that it has to use the alternate desktop Test your configuration and possibly tweak the config as required

This should help you

By the way, you could also fill a bug report for that given that the xrdp solution is working fine on fedora (yes, you can use xrdp and Gnome interface) but it's seems that something is broken in Ubuntu and/or xrdp package

Solution 2

Just to be clear in ubuntu 14.04 none of the following work as of right now:

gnome-session --session=gnome-classic
gnome-session --session=gnome-fallback
gnome-session –session=ubuntu-2d

Instead the only thing that does work is:

xfce4-session

This appears to be an issue with xrdp's support of Gnome, which I don't see listed as a bug on xrdp's git.

~/.xsession

Solution 3

For me it worked (system restart may be required):

sudo apt-get install xrdp
sudo apt-add-repository ppa:ubuntu-mate-dev/ppa
sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate
sudo apt-get update 
sudo apt-get upgrade
sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop

echo mate-session >~/.xsession
sudo service xrdp restart

source: http://c-nergy.be/blog/?p=6046

Share:
128,440
swampfox07
Author by

swampfox07

Updated on September 18, 2022

Comments

  • swampfox07
    swampfox07 almost 2 years

    I installed the latest ubuntu desktop and when I install xrdp I get a grey screen when I connect from windows rdc. this works fine in ubuntu 12.04.

    I found several solutions but they are not really what I want. I would like for the ubuntu desktop to function with xrdp.

    Any suggestions?

    I have tried pretty much every post on xrdp "grey screen". I was able to get the xfe desktop to work but I really want the ubuntu desktop to work.

    I did the following to install xrdp:

    sudo apt-get update sudo apt-get install xrdp

    Restarted the ubuntu 14.04 desktop machine.

    RDC from windows results in a grey screen with an "x" cursor.

    The process of doing the update and installing xrdp works fine for ubuntu 12.04 desktop and I can get into the desktops via windows RDC just fine. But 14.04 desktop gives a greay screen.

    • hmayag
      hmayag about 10 years
      Welcome to AskUbuntu. Please edit your question and add information on what you have already tried and how it failed. This way you are more likely to get a better targeted answer without wasting other people's time and effort.
  • Dr.DB
    Dr.DB about 10 years
    I also have this problem with Ubuntu 14.04 64. I changed the session to xfce4 but it does not work!!!
  • Nicholas DiPiazza
    Nicholas DiPiazza about 10 years
    Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you
  • Nick
    Nick over 9 years
    Cinnamon works, but there seems to be issues with the network manager. It only works when launched w root.
  • Blender
    Blender about 8 years
    Would one need to echo mate-session >~/.xsession for each of the users if more than one needs RDP?
  • Priidu Neemre
    Priidu Neemre almost 8 years
    @Blender: Yes, since the .xsession file is located in the /home folder of the respective user.