sddm will not start lxqt desktop correctly

Bug #1781392 reported by dieselnutjob on 2018-07-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxqt-session (Ubuntu)

Bug Description

How to reproduce:-
Install Ubuntu 18.04 LTS server edition
apt-get update
apt-get upgrade
apt-get install xorg lxqt sddm xfwm4

desktop will start but no task manager, start menu or panels.

if sddm is uninstalled and slim installed then the desktop works

@t470:~$ lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04

philip@t470:~$ dpkg -l |grep xfwm
ii xfwm4 4.12.4-0ubuntu1 amd64 window manager of the Xfce project
philip@t470:~$ dpkg -l |grep lxqt
ii liblxqt-globalkeys-ui0:amd64 0.12.0-3ubuntu1 amd64 daemon used to register global keyboard shortcuts (ui files)
ii liblxqt-globalkeys0:amd64 0.12.0-3ubuntu1 amd64 daemon used to register global keyboard shortcuts (shared libs)
ii liblxqt-l10n 0.12.0-4ubuntu1 all Language package for liblxqt
ii liblxqt0:amd64 0.12.0-5 amd64 Shared libraries for LXQt desktop environment (libs)
ii lxqt:amd64 25 amd64 Metapackage for LXQt
ii lxqt-about 0.12.0-4 amd64 About screen for LXQt
ii lxqt-about-l10n 0.12.0-4ubuntu1 all Language package for lxqt-about
ii lxqt-admin 0.12.0-4 amd64 Admin tools for LXQt
ii lxqt-admin-l10n 0.12.0-4ubuntu1 all Language package for lxqt-admin
ii lxqt-config 0.12.0-3 amd64 LXQt system settings center
ii lxqt-config-l10n 0.12.0-4ubuntu1 all Language package for lxqt-config
ii lxqt-core 25 all Metapackage for the LXQt core
ii lxqt-globalkeys 0.12.0-3ubuntu1 amd64 daemon used to register global keyboard shortcuts (appl.)
ii lxqt-globalkeys-l10n 0.12.0-4ubuntu1 all Language package for lxqt-globalkeys
ii lxqt-notificationd 0.12.0-3 amd64 LXQt notification daemon
ii lxqt-notificationd-l10n 0.12.0-4ubuntu1 all Language package for lxqt-notificationd
ii lxqt-openssh-askpass 0.12.0-3 amd64 OpenSSH user/password GUI dialog for LXQt
ii lxqt-openssh-askpass-l10n 0.12.0-4ubuntu1 all Language package for lxqt-openssh-askpass
ii lxqt-panel 0.12.0-8ubuntu1 amd64 LXQt desktop panel
ii lxqt-panel-l10n 0.12.0-4ubuntu1 all Language package for lxqt-panel
ii lxqt-policykit 0.12.0-3 amd64 LXQt authentication agent for PolicyKit
ii lxqt-policykit-l10n 0.12.0-4ubuntu1 all Language package for lxqt-policykit
ii lxqt-powermanagement 0.12.0-4 amd64 power management module for LXQt
ii lxqt-powermanagement-l10n 0.12.0-4ubuntu1 all Language package for lxqt-powermanagement
ii lxqt-qtplugin:amd64 0.12.0-6ubuntu3 amd64 LXQt system integration plugin for Qt
ii lxqt-runner 0.12.0-4ubuntu1 amd64 LXQt program launcher
ii lxqt-runner-l10n 0.12.0-4ubuntu1 all Language package for lxqt-runner
ii lxqt-session 0.12.0-5 amd64 session manager component for LXQt
ii lxqt-session-l10n 0.12.0-4ubuntu1 all Language package for lxqt-session
ii lxqt-sudo 0.12.0-3 amd64 Graphical QT frontend for plain sudo
ii lxqt-sudo-l10n 0.12.0-4ubuntu1 all Language package for lxqt-sudo
ii lxqt-system-theme 0.12.0-3 all System theme for LXQt
ii lxqt-themes 0.12.0-3 all Themes for LXQt
philip@t470:~$ dpkg -l |grep sddm
ii sddm 0.17.0-1ubuntu7 amd64 modern display manager for X11
ii sddm-theme-debian-maui 0.17.0-1ubuntu7 all 'Debian Maui' theme for SDDM X11 display manager

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: sddm 0.17.0-1ubuntu7
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: LXQt
Date: Thu Jul 12 12:18:04 2018
SourcePackage: sddm
UpgradeStatus: No upgrade log present (probably fresh install)

dieselnutjob (dieselnutjob) wrote :
Simon Quigley (tsimonq2) on 2018-07-12
affects: sddm (Ubuntu) → lxqt-session (Ubuntu)
Alf Gaida (agaida) wrote :

ok, it's a bit superfluous:

apt-get install xorg lxqt sddm xfwm4

is really

apt install lxqt xinit - to be more verbose;

sddm is the recommended dm
sddm-maui is the recommended theme
xfwm4 is the recommended WM
the very most needed X-related packages should be thrown in by default, except xinit - the dependencies of xorg are a bit overkill

Without further modifications sddm will start, lxqt will start - everything is fine, except the xdg-config-path which is hard set in /etc/X11/Xsession.d/60x11-common_xdg_path - it should fix that. (i guess, that deleting that file is not an option :) )

so - whats happend: without deleting or extending 60x11-common_xdg_path the minimum upstream configurations are not found, no configuration package was loaded so LXQt will start without any configuration. And it start perfectly fine - ok, no wm is found, the design is black in black, the black panel on a black background has no widgets - but it starts fine.

Option 1: Somewhere before 99x11-common_start XDG_CONFIG_DIRS should be extended by /usr/share
Option 2: the session should depend on or recommend a settings package which put settings into /etc/xdg
Option 3: the lxqt-session itself should be patched to include /usr/share - like the current state in cosmic.

dieselnutjob (dieselnutjob) wrote :

I also have a Debian Stretch laptop with LXQT installed on it.
I notice that this does have an /etc/xdg/lxqt folder
This appears to be created by Debian package lxqt-common

On Ubuntu Bionic if I try to install lxqt-common I get:-

root@t470:~# apt-get install lxqt-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ffmpegthumbnailer gvfs-fuse libffmpegthumbnailer4v5 liblxqt-globalkeys-ui0 liblxqt-globalkeys0 libmuparser2v5 libstatgrab10 libsysstat-qt5-0
  libupower-glib3 lxqt-globalkeys-l10n lxqt-notificationd-l10n lxqt-panel-l10n lxqt-policykit-l10n lxqt-powermanagement-l10n lxqt-runner-l10n
  lxqt-session-l10n pcmanfm-qt-l10n upower
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  breeze-cursor-theme fonts-noto fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted policykit-1-gnome xfwm4-theme-breeze
Suggested packages:
The following packages will be REMOVED:
  lxqt lxqt-core lxqt-globalkeys lxqt-notificationd lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-runner lxqt-session lxqt-system-theme
  lxqt-themes pcmanfm-qt qlipper
The following NEW packages will be installed:
  breeze-cursor-theme fonts-noto fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted lxqt-common policykit-1-gnome xfwm4-theme-breeze
0 upgraded, 8 newly installed, 13 to remove and 1 not upgraded.
Need to get 65.7 MB of archives.
After this operation, 121 MB of additional disk space will be used.
Do you want to continue? [Y/n]

I'm sorry but I don't have the skills to figure out why installation of lxqt-common causes uninstallation of lxqt

dieselnutjob (dieselnutjob) wrote :

On the Ubuntu laptop:-

root@t470:/# ls -al /etc/xdg/lxqt/
total 12
drwxr-xr-x 2 root root 4096 Jun 18 00:37 .
drwxr-xr-x 10 root root 4096 Jun 18 00:37 ..
-rw-r--r-- 1 root root 657 Oct 21 2017 globalkeyshortcuts.conf

on the Debian one I also have:-

Alf Gaida (agaida) wrote :

lxqt-common is deprecated in upstream, debian and ubuntu - and anywhere else. It will be removed from debian testing soon and from sid after the upcoming debian release - please see also the respective launchpad bug in lxqt-common. In short: lxqt is not co-installable with the current version of LXQt.

All files that was former in lxqt-common are moved to the packages where they belong to. If you run a pure ubuntu installation with LXQt as only desktop environment you have some sane choices:
* fix 60x11-common-xdg... (just add /usr/share to the config_dirs) or delete this file - or maybe better copy that file to 61x11.. and leave only the fixed path in
* update right now to cosmic
* backport the patch from cosmic to your package

dieselnutjob (dieselnutjob) wrote :

ok thanks
What I just tried
clean install of ubuntu server
updgrade to cosmic
install lxqt

root@t470:~# history
    1 apt-get update
    2 apt-get upgrade
    3 apt autoremove
    4 reboot
    5 vi /etc/update-manager/release-upgrades
    6 do-release-upgrade -d
    7 reboot
    8 apt-get update
    9 apt-get upgrade
   10 apt-get install lxqt xinit
   11 reboot

It works beautifully.

Thank you.

Simon Quigley (tsimonq2) on 2018-07-16
Changed in lxqt-session (Ubuntu):
status: New → Confirmed
assignee: nobody → Simon Quigley (tsimonq2)
importance: Undecided → Low
importance: Low → Medium
Simon Quigley (tsimonq2) on 2018-10-07
Changed in lxqt-session (Ubuntu):
assignee: Simon Quigley (tsimonq2) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers