xrdp wants to remove lubuntu-desktop on lubuntu

Bug #1923328 reported by Kenneth Heal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xrdp (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

If I attempt to install xrdp on a Lubuntu 18.04.5 machine apt wants to remove lubuntu-desktop (a variant of LXDE), which would obviously disrupt the system.

kenneth@khlubbbuntu1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
kenneth@khlubbbuntu1:~$ lsb_release -rd
Description: Ubuntu 18.04.5 LTS
Release: 18.04

kenneth@khlubbbuntu1:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

kenneth@khlubbbuntu1:~$ apt-cache policy xrdp
xrdp:
  Installed: (none)
  Candidate: 0.9.5-2
  Version table:
     0.9.5-2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

kenneth@khlubbbuntu1:~$ sudo apt-get -s install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libxatracker2 libxvmc1
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libglu1-mesa x11-apps x11-session-utils xbitmaps xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xinit
  xinput xorg xorg-docs-core xorgxrdp xserver-xorg xserver-xorg-core
Suggested packages:
  mesa-utils xorg-docs xfonts-100dpi xfonts-75dpi x11-xfs-utils guacamole xrdp-pulseaudio-installer xfonts-100dpi
  | xfonts-75dpi
Recommended packages:
  xserver-xorg-video-all
The following packages will be REMOVED
  lubuntu-desktop lubuntu-gtk-core lubuntu-gtk-desktop xserver-xorg-core-hwe-18.04 xserver-xorg-input-all-hwe-18.04
  xserver-xorg-input-libinput-hwe-18.04 xserver-xorg-input-synaptics-hwe-18.04 xserver-xorg-video-all-hwe-18.04
  xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04 xserver-xorg-video-fbdev-hwe-18.04
  xserver-xorg-video-intel-hwe-18.04 xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04
  xserver-xorg-video-radeon-hwe-18.04 xserver-xorg-video-vesa-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed
  libglu1-mesa x11-apps x11-session-utils xbitmaps xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xinit
  xinput xorg xorg-docs-core xorgxrdp xrdp xserver-xorg xserver-xorg-core
0 to upgrade, 16 to newly install, 17 to remove and 0 not to upgrade.
Remv lubuntu-desktop [0.94.1]
Remv lubuntu-gtk-desktop [0.94.1]
Remv lubuntu-gtk-core [0.94.1]
Remv xserver-xorg-input-synaptics-hwe-18.04 [1.9.1-1ubuntu1~18.04.1]
Remv xserver-xorg-video-all-hwe-18.04 [1:7.7+19ubuntu8~18.04.3]
Remv xserver-xorg-video-amdgpu-hwe-18.04 [19.1.0-1~18.04.1]
Remv xserver-xorg-input-all-hwe-18.04 [1:7.7+19ubuntu8~18.04.3]
Remv xserver-xorg-input-libinput-hwe-18.04 [0.28.1-1~18.04.1]
Remv xserver-xorg-video-vmware-hwe-18.04 [1:13.3.0-2build1~18.04.1]
Remv xserver-xorg-video-vesa-hwe-18.04 [1:2.4.0-1~18.04.1]
Remv xserver-xorg-core-hwe-18.04 [2:1.20.8-2ubuntu2.2~18.04.4] [xserver-xorg-video-intel-hwe-18.04:amd64 xserver-xorg-video-nouveau-hwe-18.04:amd64 xserver-xorg-video-radeon-hwe-18.04:amd64 xserver-xorg-video-ati-hwe-18.04:amd64 xserver-xorg-video-qxl-hwe-18.04:amd64 xserver-xorg-video-fbdev-hwe-18.04:amd64 ]
Remv xserver-xorg-video-ati-hwe-18.04 [1:19.1.0-1~18.04.1] [xserver-xorg-video-intel-hwe-18.04:amd64 xserver-xorg-video-nouveau-hwe-18.04:amd64 xserver-xorg-video-radeon-hwe-18.04:amd64 xserver-xorg-video-qxl-hwe-18.04:amd64 xserver-xorg-video-fbdev-hwe-18.04:amd64 ]
Remv xserver-xorg-video-fbdev-hwe-18.04 [1:0.5.0-1ubuntu1~18.04.1] [xserver-xorg-video-intel-hwe-18.04:amd64 xserver-xorg-video-nouveau-hwe-18.04:amd64 xserver-xorg-video-radeon-hwe-18.04:amd64 xserver-xorg-video-qxl-hwe-18.04:amd64 ]
Remv xserver-xorg-video-intel-hwe-18.04 [2:2.99.917+git20171229-1ubuntu1~18.04.1] [xserver-xorg-video-nouveau-hwe-18.04:amd64 xserver-xorg-video-radeon-hwe-18.04:amd64 xserver-xorg-video-qxl-hwe-18.04:amd64 ]
Remv xserver-xorg-video-nouveau-hwe-18.04 [1:1.0.16-1~18.04.1] [xserver-xorg-video-radeon-hwe-18.04:amd64 xserver-xorg-video-qxl-hwe-18.04:amd64 ]
Remv xserver-xorg-video-qxl-hwe-18.04 [0.1.5-2build2~18.04.1] [xserver-xorg-video-radeon-hwe-18.04:amd64 ]
Remv xserver-xorg-video-radeon-hwe-18.04 [1:19.1.0-1~18.04.1]
Inst x11-apps (7.7+6ubuntu1 Ubuntu:18.04/bionic [amd64])
Inst x11-session-utils (7.7+2build1 Ubuntu:18.04/bionic [amd64])
Inst xbitmaps (1.1.1-2 Ubuntu:18.04/bionic [all])
Inst xfonts-encodings (1:1.0.4-2 Ubuntu:18.04/bionic [all])
Inst xfonts-utils (1:7.7+6 Ubuntu:18.04/bionic [amd64])
Inst xfonts-base (1:1.0.4+nmu1 Ubuntu:18.04/bionic [all])
Inst xfonts-scalable (1:1.0.3-1.1 Ubuntu:18.04/bionic [all])
Inst xinit (1.3.4-3ubuntu3 Ubuntu:18.04/bionic [amd64])
Inst xinput (1.6.2-1build1 Ubuntu:18.04/bionic [amd64])
Inst xserver-xorg-core (2:1.19.6-1ubuntu4.8 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Inst xorgxrdp (0.9.5-2 Ubuntu:18.04/bionic [amd64])
Inst xserver-xorg (1:7.7+19ubuntu7.1 Ubuntu:18.04/bionic-updates [amd64])
Inst libglu1-mesa (9.0.0-2.1build1 Ubuntu:18.04/bionic [amd64])
Inst xorg-docs-core (1:1.7.1-1.1 Ubuntu:18.04/bionic [all])
Inst xorg (1:7.7+19ubuntu7.1 Ubuntu:18.04/bionic-updates [amd64])
Inst xrdp (0.9.5-2 Ubuntu:18.04/bionic [amd64])
Conf x11-apps (7.7+6ubuntu1 Ubuntu:18.04/bionic [amd64])
Conf x11-session-utils (7.7+2build1 Ubuntu:18.04/bionic [amd64])
Conf xbitmaps (1.1.1-2 Ubuntu:18.04/bionic [all])
Conf xfonts-encodings (1:1.0.4-2 Ubuntu:18.04/bionic [all])
Conf xfonts-utils (1:7.7+6 Ubuntu:18.04/bionic [amd64])
Conf xfonts-base (1:1.0.4+nmu1 Ubuntu:18.04/bionic [all])
Conf xfonts-scalable (1:1.0.3-1.1 Ubuntu:18.04/bionic [all])
Conf xinit (1.3.4-3ubuntu3 Ubuntu:18.04/bionic [amd64])
Conf xinput (1.6.2-1build1 Ubuntu:18.04/bionic [amd64])
Conf xserver-xorg-core (2:1.19.6-1ubuntu4.8 Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64])
Conf xorgxrdp (0.9.5-2 Ubuntu:18.04/bionic [amd64])
Conf xserver-xorg (1:7.7+19ubuntu7.1 Ubuntu:18.04/bionic-updates [amd64])
Conf libglu1-mesa (9.0.0-2.1build1 Ubuntu:18.04/bionic [amd64])
Conf xorg-docs-core (1:1.7.1-1.1 Ubuntu:18.04/bionic [all])
Conf xorg (1:7.7+19ubuntu7.1 Ubuntu:18.04/bionic-updates [amd64])
Conf xrdp (0.9.5-2 Ubuntu:18.04/bionic [amd64])

Expected behaviour:

xrdp to install without attempting to remove lubuntu-desktop lubuntu-gtk-desktop and lubuntu-gtk-core.

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1923328

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

FYI: `lubuntu-desktop` on bionic is EOL in a few days, being the last of the LXDE desktop supported by Lubuntu.

I booted a Lubuntu 18.04.5 LTS live system, and performed
`sudo update` to update software lists
`sudo apt install xrdp`
and two new packages are installed (xorgxrdp & xrdp) so I don't see an issue.

I'm going to mark this bug incomplete; as it appears you need support and I could NOT re-create the issue. Please use `ubuntu-bug` in future, but your issue is likely other software you have installed. If you believe I'm in error, or have made a mistake, please leave a comment explaining why, and you can change the status of this bug report back to "New".

Changed in xrdp (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Guiver (guiverc) wrote :

Sorry I booted a focal 20.04.3 thumb-drive (comment #1) & I didn't notice in my prior test (grabbed the wrong thumb-drive for my test)

The effect of the `sudo apt install xrdp` (after `sudo apt update`) does in fact cause removal of the packages suggested by the OP (kheal/Kenneth)

however please note as stated in my last comment; `xrdp` & `lubuntu-desktop` are from 'universe' and reach EOL this month so the chance of this being fixed is extremely small.

YOU CAN HOWEVER achieve what you want with the command

`sudo apt install xrdp --no-install-recommends`

(tested this time on a bionic Lubuntu 18.04.5 live system)

Revision history for this message
Kenneth Heal (kheal) wrote :
Download full text (3.3 KiB)

Thanks for the update, I was under the impression 18.04 is an LTS release.

Anyway I think I may have solved the issue with the following:

kenneth@khlubbbuntu1:~$ sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-generic-hwe-18.04 is already the newest version (5.4.0.70.78~18.04.63).
The following packages will be REMOVED
  xserver-xorg-legacy
The following NEW packages will be installed
  xserver-xorg-hwe-18.04 xserver-xorg-legacy-hwe-18.04
0 to upgrade, 2 to newly install, 1 to remove and 0 not to upgrade.
Need to get 45,7 kB of archives.
After this operation, 240 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 xserver-xorg-hwe-18.04 amd64 1:7.7+19ubuntu8~18.04.3 [13,4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 xserver-xorg-legacy-hwe-18.04 amd64 2:1.20.8-2ubuntu2.2~18.04.4 [32,4 kB]
Fetched 45,7 kB in 0s (160 kB/s)
Preconfiguring packages ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
(Reading database ... 159697 files and directories currently installed.)
Removing xserver-xorg-legacy (2:1.19.6-1ubuntu4.8) ...
Selecting previously unselected package xserver-xorg-hwe-18.04.
(Reading database ... 159692 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-hwe-18.04_1%3a7.7+19ubuntu8~18.04.3_amd64.deb ...
Unpacking xserver-xorg-hwe-18.04 (1:7.7+19ubuntu8~18.04.3) ...
Selecting previously unselected package xserver-xorg-legacy-hwe-18.04.
Preparing to unpack .../xserver-xorg-legacy-hwe-18.04_2%3a1.20.8-2ubuntu2.2~18.04.4_amd64.deb ...
Unpacking xserver-xorg-legacy-hwe-18.04 (2:1.20.8-2ubuntu2.2~18.04.4) ...
Setting up xserver-xorg-legacy-hwe-18.04 (2:1.20.8-2ubuntu2.2~18.04.4) ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
Setting up xserver-xorg-hwe-18.04 (1:7.7+19ubuntu8~18.04.3) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
kenneth@khlubbbuntu1:~$ sudo apt-get install -s xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xorg-docs-core
Suggested packages:
  xorg-docs guacamole xrdp-pulseaudio-installer
Recommended packages:
  xorgxrdp
The following NEW packages will be installed
  xfonts-base xfonts-encodings xfonts-scalable xfonts-utils xorg-docs-core xrdp
0 to upgrade, 6 to newly install, 0 to remove and 0 not to upgrade.
Inst xfonts-encodings (1:1.0.4-2 Ubuntu:18.04/bionic [all])
Inst xfonts-utils (1:7.7+6 Ubuntu:18.04/bionic [amd64])
Inst xfonts-base (1:1.0.4+nmu1 Ubuntu:18.04/bionic [all])
Inst xfonts-scalable (1:1.0.3-1.1 Ubuntu:18.04/bionic [all])
Inst xorg-docs-core (1:1.7.1-1.1 Ubuntu:18.04/bionic [all])
Inst xrdp (0.9.5-2 Ubuntu:18.04/bionic [amd64])
Conf xfonts-encodings (1:1.0.4-2 Ubuntu:18.04/bionic [all])
Conf xfonts-utils (1:7.7+6 Ubuntu:18.04/bionic [amd64])
Conf xfonts-base (1:1.0.4+nmu1 Ubuntu:18.04/bionic [all])
C...

Read more...

Revision history for this message
Kenneth Heal (kheal) wrote :

Further digging around revealed https://c-nergy.be/blog/?p=13390 blog post.

====
So, there is a need to rebuild xrdp against HWE 18.04 on Ubuntu 18.04.2.

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/+archive/ubuntu/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

Bug report:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1817225
===

In short the following steps resolved the issue:
$ sudo add-apt-repository ppa:martinx/xrdp-hwe-18.04
$ sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
$ sudo apt-get install xrdp xorgxrdp xfonts-100dpi xfonts-75dpi
$ sudo adduser xrdp ssl-cert
$ grep ^X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes
$ cat ~/.xsession
#!/bin/sh

/usr/bin/lxsession -s Lubuntu -e LXDE

Revision history for this message
Chris Guiver (guiverc) wrote :

> I was under the impression 18.04 is an LTS release.

Yes Ubuntu 18.04 LTS, and Lubuntu 18.04 LTS were long-term-support releases, however that means 5 years for Ubuntu 18.04 LTS & 3 years for 'universe' based Lubuntu 18.04 LTS. Not all 'universe' packages however had 3 years of supported life, eg. Ubuntu Studio 18.04 was not a LTS release thus it's packages only had 9 months of supported life (as did Lubuntu Next 18.04 which likewise wasn't a LTS so had 9 months; ie. the LXQt release)

The release notes state

"Maintenance updates will be provided for 5 years for Ubuntu Desktop, Ubuntu Server, Ubuntu Cloud, and Ubuntu Core. Ubuntu Studio will be supported for 9 months. All the remaining flavours will be supported for 3 years."

(https://fridge.ubuntu.com/2018/04/27/ubuntu-18-04-lts-bionic-beaver-released/ https://lubuntu.me/bionic-5-released/)

Five years applies to 'main' repository only (ie. what was provided on the Ubuntu 18.04 LTS Server, Desktop, Cloud or Core ISOs)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xrdp (Ubuntu) because there has been no activity for 60 days.]

Changed in xrdp (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.