Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04

test

 

Hello World,

 

Ubuntu 14.04 has been released on April 17th 2014 and we already released the traditional post about how to perform a fresh install. We didn’t covered the upgrade process because it’s quite easy nowadays. Basically, you will be notified that a new version is available and you will be asked if you want to upgrade to the latest version.

Some readers and some of my colleagues have been asking for a post about XRDP functionality in Ubuntu 14.04. If you follow me, you know that we have been using xrdp package in order to connect to linux machines using the built-in remote desktop client available within Windows Operating System.

You probably also know that since the introduction of Unity Desktop Interface in Ubuntu you need to tweak the configuration in order to have it working. The most annoying part while using xrdp (with Ubuntu) is the fact that you have to install an alternate desktop environment.

So, in this post, we will describe the steps needed in order to install xrdp and the xfce alternate desktop that will be used while remoting into your Ubuntu 14.04 machine.

Let’s Go !

Install XRDP Package from Ubuntu Repository

In this post, we will be installing the standard xrdp package from the Ubuntu Repository. In order to perform the installation of the xrdp package, you will login into your ubuntu 14.04 machine.

Using the Dash button, in the search box, type Terminal

Click on Picture for Better Resolution

Click on the terminal icon and the Terminal console will open

In the Terminal, type the following command

sudo apt-get install xrdp

You will be prompted for your password

Click on Picture for Better Resolution

You will be then informed about the package size. To proceed with the installation, press Y

Click on Picture for Better Resolution

Wait for the completion

When done, you need to install an alternate desktop environment. In our scenario, we are using xfce4

Installing the xfce4 Desktop environment

In the Terminal console; type the following command

sudo apt-get update

sudo apt-get install xfce4

Click on Picture for Better Resolution

You might be prompted for a password.Enter the password and press enter

You will be then informed about the package size. To proceed with the installation, press Y

Wait for the completion

 

Configure xrdp to use xfce desktop environment

At this stage, you have to configure your Ubuntu machine in order for xrdp to know that the xfce desktop will be used instead of the Unity or Gnome (which are not working anymore in Ubuntu). To configure this, from the terminal console, you will issue the following command

echo xfce4-session >~/.xsession

Click on Picture for Better Resolution

Restart the xrdp service by issuing the following command

sudo service xrdp restart

 

Test your xrdp connection

At this stage, you should have a basic xrdp working solution. When I say basic, I mean that you can indeed connect to your remote Ubuntu machine but if you disconnect your session and try to connect again, you will each time open a new session. (Read below section in this post to see how you can reconnect to the same session)

To test your xrdp solution, find the ip address of your linux machine (or use the name if you have DNS Infrastructure in place). To find the ip address, issue the command

hostname -I

Click on Picture for Better Resolution

Now go to your windows machine, start remote Desktop client and enter the ip address/name of your ubuntu machine

Click on Picture for Better Resolution

You should see then the login screen of xrdp presented to you. Note that, at this screen (and because we have not configured keyboard layout yet), the keyboard layout is set to English by default.

Click on Picture for Better Resolution

Enter your username and password and Press OK

You will see a dialog box showing the login process

Click on Picture for Better Resolution

If everything is configured correctly,you should see your xfce desktop loading and you should be able to perform you work through this desktop environment.

Click on Picture for Better Resolution

 

To set Keyboard layout at the xrdp Login screen, perform the following steps

As explained above, with no special configuration, the xrdp login screen keyboard layout is set to english by default.  if you need to change it to another keyboard layout, you should proceed with the following actions

This is the command you should issue in order to change the keyboard layout to be used during xrdp sessions…

Step 1 : You go to the /etc/xrdp directory

Step 2 : you issue the command setxkbmap -layout <%your layout%> to define which keyboard map/layout to use

Step 3 : create a copy of the km-0409.ini file into the same directory. It seems that this is the default file used by xrdp to define the keyboard layout. You will need to use sudo in order to be able to write into the directory

Step 4 : Check that you have a backup of your file by typing the dir or ls command

Step 5 : update the file by issuing the following command sudo xrdp-genkeymap km-0409.ini

 

Reconnect to the same session throug xrdp

You have mutliple ways to reconnect to the same session through xrdp. we have explained two of them. One method is based on performing a custom installation and use the X11VNC software. This is one is working well but requires a little bit more effort. (http://c-nergy.be/blog/?p=4168)

The other one is to use the xrdp package from ubuntu repository and tweak some configuration files whil connected to the session. This solution is really a workaround and it’s not our favourite one. (see http://c-nergy.be/blog/?p=4471)

Here, we will use a third method that can be used if you use the xrdp pakcage from the ubuntu repository. This method is much better than the one provided by us some time ago. In this method, we will tweak the xrdp login screen. We will add a field in the login box where the user can specify the port to be used when remoting to the ubuntu machine.

You will first need to edit xrdp.ini file located under the /etc/xrdp. To edit the file, issue the following command

sudo gedit /etc/xrdp/xrdp.ini

You might be prompted for a password. if this is the case, provide the password and Press enter
When the file is open, locate the section [xrdp1] and replace the following line

port=-1
with the line
port=ask-1

Save the file. The file should look like this

Click on Picture for Better Resolution

When done, restart the xrdp service by issuing the following command

sudo service xrdp restart.

You are done.

When trying to access your Ubuntu machine through via the remote desktop client, you will see that the xrdp login screen has indeed an additional field called port.

Click on Picture for Better Resolution

If this is your first connection, leave the default value in the port field (i.e. -1), you will be then connecting through xrdp to your ubuntu machine using a specified port that can be seen on the login process dialog box.

Click on Picture for Better Resolution

Take a note of this port.

When you need to reconnect, you will have to specify the same port as your first connection and you should see the same screen as you left it.

Click on Picture for Better Resolution

Note : This tip has been provided to us by one of our reader (Thank you Wei 🙂 )

 

This is it for this post. Using only the ubuntu xrdp package, we have been able to install and configure a remote access solution. By tweaking the xrdp.ini file, we even have been able to provide a simple and easy to use solution in order to reconnect to an existing session.

However, we still have a problem with xrdp used in conjunction with Ubuntu. In order to remote into your ubuntu machine, you have no other choice than using an alternate desktop environment (in our case its xfce). I find it quite irritating that we cannot have the xrdp package working with Unity or Gnome desktop environment.

We have installed fedora distribution and installed the xrdp package. And guess what ! I can connect through xrdp to fedora and have the gnome desktop environment working. Moreover, I can disconnect and when reconnecting I will be reconnecting to the existing session I just left. And all of this with no tweak in configuration files.

I would love to see the same functionality in Ubuntu. As one of our readers mentionned, it might be time for Ubuntu users to fill in a bug report about xrdp and try to have it fixed. If more and more users complains, maybe Ubuntu team will take the request into account.     

 

Till next Time

See ya

 

272 thoughts on “Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04

  1. Hello morpheus,

    So, it worked at least one time. so setup should be correct.. Are you using different user accounts to login ? if this is the case, you have to create for each user the .xession (or let the system do that for you (see http://c-nergy.be/blog/?p=6050) )

    To get a little bit more inof, can you check/post the content of the ~/.xsession-errors.log adn see if you can find out why you cannot display the deskop.
    FYI, if you are using the latest package version of xrdp (0.6.1-1 or similar), you should be able to reconnect to your existing session…

    so, first ,have a look at your log file and let us know what you see inside …we mihgt be able to provide more info

    till next time
    see ya

  2. Hello there,
    Ok, I see that ping back is not working….
    I will try to fix this when I will have some time

    Till next time
    See ya

  3. Hello Dagem,

    Which module are you selecting when connecting to your xrdp ?
    What’s the final error message you are getting ?

    Can you check you log files for xrdp (/var/log/xrdp.log)
    Can you check your log file for .xsession (in your user profile xession-errors.log)

    Have you restarted your xrdp service as well (or reboot machine) ?

    Get more info about the failure and we might be able to help
    Till next time
    see ya

  4. Is there necessary to install other packages? I just installed xrdp in ubuntu 12.04,and it works well.But in ubuntu14.04,the screen is grey with a x cursor.I try the solution in the website.it never works.So ,is there some improvements in ubuntu14.04 make it happen?

  5. hello liang,

    since Ubuntu 12.10, unity is not supported with xrdp and unity-2D is not available. You will need indeed to install an additional desktop package to have it working….
    You can choose from different desktop environment..looking through our blog, you can see that we have described how to install mate,kde,lxde and xfce desktop as alternative and make them working with XRDP.

    You can also have a look at this post http://c-nergy.be/blog/?p=5984 which provides a lot of information about the xrdp and will redirect you to the correct post

    Hope this help
    till next time
    See ya

  6. hy i will same problem with morpheus,
    can u help me?
    this is error, i installed on my vps on gandi.net

    Xsession: X session started for at Wed Apr 29 01:13:52 CEST 2015
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    localuser:ipin being added to access control list
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    x-session-manager[2159]: WARNING: software acceleration check failed: Child process exited with code 1
    x-session-manager[2159]: CRITICAL: We failed, but the fail whale is dead. Sorry….
    Xsession: X session started for at Wed Apr 29 01:18:42 CEST 2015
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    localuser:ipin being added to access control list
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    x-session-manager[2311]: WARNING: software acceleration check failed: Child process exited with code 1
    x-session-manager[2311]: CRITICAL: We failed, but the fail whale is dead. Sorry….

  7. hy griffon i get a grey screen on my xrdp on my vps on gandi.net
    can you help me, this my error

    Xsession: X session started for at Wed Apr 29 01:13:52 CEST 2015
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    localuser:ipin being added to access control list
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    x-session-manager[2159]: WARNING: software acceleration check failed: Child process exited with code 1
    x-session-manager[2159]: CRITICAL: We failed, but the fail whale is dead. Sorry….
    Xsession: X session started for at Wed Apr 29 01:18:42 CEST 2015
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    localuser:ipin being added to access control list
    X Error of failed request: BadValue (integer parameter out of range for operation)
    Major opcode of failed request: 109 (X_ChangeHosts)
    Value in failed request: 0x5
    Serial number of failed request: 6
    Current serial number in output stream: 8
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    Script for ibus started at run_im.
    Script for auto started at run_im.
    Script for default started at run_im.
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    gnome-session-is-accelerated: No composite extension.
    gnome-session-check-accelerated: Helper exited with code 256
    x-session-manager[2311]: WARNING: software acceleration check failed: Child process exited with code 1
    x-session-manager[2311]: CRITICAL: We failed, but the fail whale is dead. Sorry….

  8. Hello There,

    Checking your logs, It seems that you are trying to connect via xrdp but you have not installed additional package.
    Since Ubuntu 12.04, you cannot use anymore the gnome interface. You will need to install an other desktop environment
    You can choose from
    xfce
    lxde
    mate
    kde

    For info and instructions, check http://c-nergy.be/blog/?p=5984
    You have to also ensure that you have configured properly your .xsession file. If only one user connect to your server, you can manually create/update the .xsession file. If you have multiple users, you should configure your system to create this file manually (see http://c-nergy.be/blog/?p=6050)

    Hope this help
    Till next time
    See ya

  9. Hello There,

    Checking your logs, It seems that you are trying to connect via xrdp but you have not installed additional package.
    Since Ubuntu 12.04, you cannot use anymore the gnome interface. You will need to install an other desktop environment
    You can choose from
    xfce
    lxde
    mate
    kde

    For info and instructions, check http://c-nergy.be/blog/?p=5984
    You have to also ensure that you have configured properly your .xsession file. If only one user connect to your server, you can manually create/update the .xsession file. If you have multiple users, you should configure your system to create this file manually (see http://c-nergy.be/blog/?p=6050)

    Hope this help
    Till next time
    See ya

  10. Thanks man for sharing such a informative information.
    i also had the issue with my computer that grey screen with x curson so after lot of googling i found the best solution here :

    http://expertisenpuru.com/how-to-fix-grey-screen-with-x-cursor-problem-in-ubuntu-14-04-or-higher/

  11. Hello Robby,

    Thank you for the visit. By the way, we have also described how to use MATE deskop (see http://c-nergy.be/blog/?p=5382 – Ubuntu 14.04 – Gnome Classic alike Desktop for XRDP : MATE-Desktop)

    You might want to look into our xrp section where you might find useful or additional information about xrdp configuration

    Till next time
    See ya

  12. Thanks Griffon for the how-to!
    One issue:

    some programs (most notably synaptic and software updates) can’t be executed from the graphic menu, it’s possible to invoke them thru the cli

    I wonder if there’s any workaroung, can you help?
    thanks

  13. Hello there,

    We assume that you are using xfce as desktop interface. You might want to use the MATE Desktop as default Desktop interface for XRDP connection. (read http://c-nergy.be/blog/?p=5874 – for Ubuntu 14.10 or read http://c-nergy.be/blog/?p=7984 for ubuntu 15.04).

    This should fix your issue with the synaptic interface. Obviously, you can always use command line to update or install software on your system (sudo apt-get update or sudo apt-get install).

    The other option would be to configure your system as described in the post http://c-nergy.be/blog/?p=5956 . you will be then be able to connect to unity console via your xrdp session and perform your installation…

    Hope this help
    till next time
    See ya

  14. many, many, many thank’s…to you, for your very efficient job !!
    have a nice day’s!

  15. root@oklerserver:/home/okler# sudo apt-get install xrdp
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    xrdp is already the newest version.
    The following packages were automatically installed and are no longer required:
    account-plugin-windows-live apturl apturl-common kde-l10n-engb
    linux-headers-3.16.0-30 linux-headers-3.16.0-30-generic
    linux-image-3.16.0-30-generic linux-image-extra-3.16.0-30-generic
    Use ‘apt-get autoremove’ to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    root@oklerserver:/home/okler#

  16. Hello Nari,

    Does not understand your question, statement, information.
    What I see on this comment is that the xrdp has already the latest version installed

    Hope this help
    Till next time
    See ya

  17. Hello,

    i’m quite newbie about all those linux things. i got a free vps from one of hosting site. i’m able to connect via putty.

    After connect, i followed all your steps but unfortunately i can’t connect to my xdrp. i didn’t get any error while install anything.

    when i check to “hostname -I”

    i see this one : 127.0.0.2
    10.222.1.151
    2a02:4780:1:1::1:108a

    i’m putting 10.222.1.151(where i connecto vps host) on my windows RDC but can’t connect.

    i’m feeling so stupid cause i tried so many things to solve it but ur guide is pure easy to understand and execute.

    What i’m doing wrong? do you have any idea?

    thanks

    Nuri.

  18. Excellent article! Followed it precisely and it work great with Kubuntu 15.04. using the repository install for xrdp.

    The only thing that confounds me is the lack of some of the hotkeys. For instance not having “tab” to autocomplete the path is frustrating. Things that DO work are ctl-a to jump to the beginning of a line and ctl-e to jump to the end, and ctl-d to close the console window.

    ctl-p is a workaround for the up arrow key that doesn’t work, but can’t seem to find a workaround for tab autocomplete and the down arrow key.

    If you have any insight an excellent addition to your article would be if you are able to document how to resolve this.

  19. Hello Nuri,

    can you be more precise about the problem you are having ? When connecting, do you reach the xrdp login screen or not at all ?
    If you do not see this xrdp login screen, can you check that the service is running on your ubuntu machine and possibly check that firewall allows traffic from the port used by xrdp..
    You can always check logs files on your ubuntu system (to locate log files, have a look at XRDP – Frequently Asked Questions

    Provide us more info about the errors and we will try to help you

    hope this help
    till next time
    see ya

  20. Hello Griffon

    Thanks for the reply..

    Unfortunately i can’t even reach to login screen. Windows Remote can’t connect. i have another vps which has same OS on the other server and i’m able to connect with this configurations(your method)

    But this one totally messed up for me. i reinstalled the same OS and didn’t work even i tried to install fedora, it also didn’t work. the funny thing is, when i check to “hostname -I”, i’m getting 1 ip from my active and working vps(other server) but this one always gave me 3 ips. probably the problem comes from vps host server. because i tried to edit host and hosts file with correct informations and again failed.

    i gave up from this free vps thing because they have no support for free users. since 2 days i learned so much commands about linux and appreciated for your reply..

    Nuri

  21. Hello Nuri,

    If you do not even see the login screen, this means probably that you have no connectivity to your server. Can you ping the ip address ? (if you still want to give it a try)
    We have understood that you have changed VPS provider….

    Thank you for the visit and keep in touch

    Till next time
    See ya

  22. Hello, this is a very insightful article and Q&A section. More important is updated!

    Quick question: does xrdp works with Cinnamon?

    Cheers,

  23. Hello Eric,

    Thanks for the feedback. .To answer your question, you have never tried the cinnamon desktop interface. We do not think that will work because cinnamon is based on Gnome desktop .Xrdp and gnome 3 does not seems to work well together..

    Till next time
    see ya

  24. Hi,
    Tried exactly as per your article but I am unable to connect. I always end up with a blank black screen. I was able to connect with earlier version but after the update it fails.

  25. Hello there,

    can you tell us which desktop environment you are using (we assume xfce desktop) ? . can you try to install mate desktop instead (check this post : http://c-nergy.be/blog/?p=5874)

    as per post XRDP – Frequently Asked Questions, you could review the logs and see where the problem might be

    Question 20 – I still cannot login to my XRDP session. Where should I look for troubleshooting my issues?

    Answer: xRDP writes some log files into your system. We would recommend you to have a look at these log files. These logs files might provide useful insight about the problem you are encountering.

    You should look at the following files

    ~/.xsession-errors
    /var/log/xrdp.log
    /var/log/xrdp-sesman.log

    hope this help
    till next time

    see ya

  26. Hello,

    I have the same problem as dengem. The login just stops connecting to tcp and then nothing.
    ip 127.0.0.1 port 3350

    [20150625-11:46:12] [INFO ] scp thread on sck 10 started successfully
    [20150625-11:46:29] [INFO ] scp thread on sck 10 started successfully
    [20150625-11:46:30] [INFO ] ++ created session (access granted): username titanuser1, ip 192.168.225.176:57011 – socket: 19
    [20150625-11:46:30] [INFO ] starting Xvnc session…
    [20150625-11:46:30] [INFO ] starting xrdp-sessvc – xpid=22195 – wmpid=22194

    If i close rdesktop and try to reconnect it freezes in the tcp and the log entry is just this.

    [20150625-11:48:26] [INFO ] scp thread on sck 10 started successfully

    There are no error in the .xsession from this. And i know its not the firewall as i get the same even if the firewall is disabled. Any ideas?

  27. Amigo, muito obrigado pelo seu tutorial.

    Procurei em diversos foruns mas não consegui encontrar uma solução que realmente funcionasse.
    Seu tutorial resolveu definitivamente meu problema.

    Valew!

  28. Hello Diego,

    Thank you for your feedback.. I’m really happy to see that this post is still helping people to find their way in the xrdp journey

    till next Time
    See ya

  29. Hello George,
    Please provide more info about your configuration and the error you are getting.
    Are you connecting from a Windows machine or a linux machine ????

    Till next time
    See ya

  30. Hi i followed all the steps but in the end it gives:
    started connecting
    connecting to 127.0.0.1 3350
    tcp connected

    But after this there is no progress. screen stops

  31. Hello arp,

    have you tried multiple connections or you stopped at the first time ?
    To troubleshoot, you should check which kind of error the system is generating. Can you have a look at the log files generated by xrdp and the the user session in order to narrow down the issue ?

    To find out where are the log files located and for other possible errors, you can have a look at the following post http://c-nergy.be/blog/?p=5984

    To speed up the process, what do you see as errors in the following files
    You should look at the following files

    ~/.xsession-errors
    /var/log/xrdp.log
    /var/log/xrdp-sesman.log

    Check that VNC4Server component is installed as well on the system

    Hope this help
    Till next time
    See ya

  32. Although a Linux novice, I have a virtual Linux server (Ubuntu 14.04) with xfce4. Although I could log into this server from Windows using RDP and use my xfce desktop, etc., my colleague, who has his own user account on this server, got only a gray screen when he logged in. Both of us can access the server over SSH.

    In hope of giving my colleague a GUI like mine, I ran these commands

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

    from this article. Now neither of us gets a graphical screen–just gray. What did these commands do, and how could I undo it?

  33. Hello Curtis,

    this command simply populate the .xsession file for the currently logged user… You can open and edit the file to check if everything is ok…
    Our blog covers different scenarios where xrdp can be used. One of the scenario is when you want to have multiple users login into the system….
    Have a look at http://c-nergy.be/blog/?p=6050 to enable multiple users to connect via xrdp

    We have also compiled a list of faq related to xrdp… have a look at http://c-nergy.be/blog/?p=5984 (highly recommended for debugging -check question 20)

    hope this help
    till next time
    see ya

    I would recommend that you go through our blog to find out useful information

  34. I had same issue as VOIP above… “problem connecting”

    I removed rxdp
    re-installed rxdp
    and picked up in the guide @ echo xfce4-session >~/.xsession

    that fixed it for me.

  35. Hello Bill,

    Thank you for sharing the info…this can be helpful to other people…
    thank for the visit and your feedback

    Till next time
    See ya

  36. than you for the xrdp support & tweaking. For me xrdp is essential as i work from home via VPN and admins allow to start only mstcs.exe from VPN softw … so only via xrdp i can link to linuxbox.

    For me the 1st tutorial part worked for me , unfortunately the 2nd part with saving session did not work .
    After providing log& pass the log window had only 4 log lines of text (usually it shows more config log lines before it brings remote screeen ) , last line said “TCP connected ” , clicking OK button nothing happens … so i changed the xrdp to default settings … Will try again later this week . I see on the asku forum they provide sometimes fixed port for single user http://askubuntu.com/questions/133343/how-do-i-set-up-xrdp-session-that-reuses-an-existing-session

    B

  37. Hello Branko…

    What’s working and not working for you…. so, you can install xrdp and make xrdp connection right ?
    Is the problem related to reconnecting to the same session ?? You can check the log files for xrdp to try to identify what the problem might be (check this post – Question 20 http://c-nergy.be/blog/?p=5984)

    Note also that if you upgrade to ubuntu 14.10 (or if you are using the latest xrdp package as described on this post http://c-nergy.be/blog/?p=6046), you should not perform any other configuration and you should be able to reconnect to the same session……

    Finally, if you really need to have this reconnect session feature, you can also perform a custom xrdp install where X11vnc will be used as vnc server and will ensure that you will be reconnecting to the same session each time with no further configuration (check this post – http://c-nergy.be/blog/?p=5439)

    Go through our blog if you need to have xrdp installed on different ubuntu versions

    Hope this help
    Till next time
    See ya

  38. I have the same problem as morpheous. The downside is using other options has the same problem also. I have tried creating another user, same issue. No matter what I do I get a grey screen /w a black X. Here is my xsession-error log file.

    http://pastebin.com/A7gyyq9i

Leave a Reply