Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: 18.04.2 seems to have broken xrdp

  1. #1
    Join Date
    Jun 2011
    Beans
    9

    18.04.2 seems to have broken xrdp

    I have observed the following on two different computers:

    On Ubuntu 18.04, I am able to install xrdp and log in remotely via Reminna or Windows RDP client without any problems.

    If I do a fresh install of 18.04.2 and install xrdp or if I update my working 18.04 installation by running

    Code:
    sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
    xrdp stops working. That is, when I login using an RDP client, I am presented with the xrdp login screen, but when I select xorg and try to login with my username and password, I see a blue screen for about a minute and then

    Code:
    connecting to sesman ip 127.0.0.1
    sesman connect ok
    sending login info to session manager, please wait...
    login successful for display 10
    started connecting
    connection problem, giving up
    some problem
    The only difference between the working configuration and the broken one is Ubuntu 18.04 vs 18.04.2 (OR HWE installed using the above command).

    Any ideas?

  2. #2
    Join Date
    Oct 2018
    Beans
    5

    Re: 18.04.2 seems to have broken xrdp

    i have same issue. pls help

  3. #3
    Join Date
    Oct 2018
    Beans
    5

    Re: 18.04.2 seems to have broken xrdp

    These steps works in 18.04 LTS

    Install xfce4 first
    Code:
    sudo apt install xrdp
    echo xfce4-session>~/.xsession
    sudo vi/etc/xrdp/startwm.sh
    Add startxfce4 to the end
    However, it does not work on 18.04.2 LTS. Since xrdp is a must for me, I ended up reinstall 18.04.2 with 18.04.

    So xrdp 100% does not work on 18.04.2. Please fix the issue.
    Last edited by flyingosprey; March 1st, 2019 at 07:14 PM. Reason: reset fonts to forums default; added code tags

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,810
    Distro
    Ubuntu

    Re: 18.04.2 seems to have broken xrdp

    So xrdp 100% does not work on 18.04.02. Please fix the issue.
    The forums have little influence on fixing bugs.
    Please use the appropriate venues as instructed in this link:
    https://help.ubuntu.com/community/ReportingBugs
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    Jun 2011
    Beans
    9

    Re: 18.04.2 seems to have broken xrdp

    Last edited by rushik.1986; March 3rd, 2019 at 07:48 PM.

  6. #6
    Join Date
    Feb 2006
    Beans
    217

    Re: 18.04.2 seems to have broken xrdp

    Quote Originally Posted by flyingosprey View Post
    These steps works in 18.04 LTS

    Install xfce4 first
    Code:
    sudo apt install xrdp
    echo xfce4-session>~/.xsession
    sudo vi/etc/xrdp/startwm.sh
    Add startxfce4 to the end
    However, it does not work on 18.04.2 LTS. Since xrdp is a must for me, I ended up reinstall 18.04.2 with 18.04.

    So xrdp 100% does not work on 18.04.2. Please fix the issue.
    I had the problem with the latest version of 18.04 (I presume it is 18.04.2 since it's fully updated). What I found as a solution/workaround is to change the last lines in /etc/xrdp/startwm.sh as follows:

    Code:
    # test -x /etc/X11/Xsession && exec /etc/X11/Xsession
    # exec /bin/sh /etc/X11/Xsession
    
    startxfce4
    
    exit(0)
    And it works.

  7. #7
    Join Date
    Jun 2011
    Beans
    9

    Re: 18.04.2 seems to have broken xrdp


    Thiago Martins' solution works if you do not want to continue using gnome.


    https://bugs.launchpad.net/ubuntu/+s...25/comments/25

    So, there is a need to rebuild xrdp against HWE 18.04.Maybe Ubuntu should provide a new binary package, let's say "xrdp-hwe-18.04"
    For now, I've recompiled the same xrdp from Ubuntu 18.04, on Ubuntu 18.04.2 and uploaded to my "XRP PPA", here:
    https://launchpad.net/~martinx/+arch...xrdp-hwe-18.04
    To enjoy xrdp on Ubuntu 18.04 with HWE, just do:
    sudo add-apt-repository ppa:martinx/xrdp-hwe-18.04
    sudo apt install xrdp xorgxrdp


  8. #8
    Join Date
    Jul 2018
    Beans
    3

    Re: 18.04.2 seems to have broken xrdp

    For all desperate souls out there:

    sudo apt install xserver-xorg-core
    sudo apt install xorgxrdp

    Tested both on Kubuntu and Ubuntu 18.04.2

  9. #9
    Join Date
    Jul 2018
    Beans
    3

    Re: 18.04.2 seems to have broken xrdp

    FYI, on the next day (after reboot) I was unable to use Keybord and Mouse after Login screen on ubuntu 18.04 (gnome). apt purge the xorgxrdp from CLI tty solve the issue...

  10. #10
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,813

    Re: 18.04.2 seems to have broken xrdp

    Considering all the horrid bugs in Windows RDP, you really, really should consider changing to SSH. Windows 10 now has SSH support built in.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •