View previous topic :: View next topic |
Author |
Message |
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Thu Jul 06, 2017 7:32 pm Post subject: [solved] Lightdm does not launch plasma |
|
|
EDIT: changed title to better reflect the identified issue
Hello
following a nightmarish update I am experiencing a strange problem: the GUI does not start automatically. The boot process ends up at the command line, and after logging in I can start plasma entering startx with no problems. But: it won't start by itself!
I am using lightdm as display manager and these are the current settings: Code: | /etc/lightdm/lightdm.conf
Under [Seat:*] greeter-session=lightdm-kde-greeter
the lightdm-kde-greeter file is in /etc/lightdm
/etc/conf.d/xdm
DISPLAYMANAGER="lightdm"
/etc/inittab
x:a:once:/etc/X11/startdm.sh
/etc/X11/xinit/xinitrc
exec startkde # in the very first line of the file |
These settings should trigger an immediate launch of xserver, lightdm etc, at boot. But it does not. Needless to add that the Xorg log is of no help, not started ==> no log. Using startx, everything jolly good.
Am I missing something?
Thanks,
Lokesh _________________ Sometimes frustrated Linux User
Last edited by Lokesh on Fri Jul 07, 2017 10:24 am; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8931
|
Posted: Thu Jul 06, 2017 8:53 pm Post subject: |
|
|
xdm is in default runlevel? lightdm configured in /etc/conf.d/xdm? |
|
Back to top |
|
|
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Fri Jul 07, 2017 6:05 am Post subject: |
|
|
asturm wrote: | xdm is in default runlevel? |
I guess so Code: | rc-update show
binfmt | boot
bootmisc | boot
cupsd | default
dbus | default
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
loopback | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.eno1 | default
netmount | default
ntp-client | default
opentmpfiles-dev | sysinit
opentmpfiles-setup | boot
procfs | boot
root | boot
savecache | shutdown
swap | boot
sysctl | boot
sysfs | sysinit
sysklogd | default
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | boot
xdm | default | The symlink /etc/runlevels/xdm correctly points to /etc/init.d/xdm
asturm wrote: | lightdm configured in /etc/conf.d/xdm? | see info in the first post, yes it is. _________________ Sometimes frustrated Linux User
Last edited by Lokesh on Fri Jul 07, 2017 6:19 am; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8931
|
Posted: Fri Jul 07, 2017 6:09 am Post subject: |
|
|
I see you are using lightdm-kde-greeter. It is notoriously broken, never ported away from Plasma-4 libraries and was thus recently removed from tree. Did it somehow went missing on your system and you didn't notice?
Lokesh wrote: | Code: | /etc/X11/xinit/xinitrc
exec startkde # in the very first line of the file |
|
Why? |
|
Back to top |
|
|
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Fri Jul 07, 2017 8:21 am Post subject: |
|
|
asturm wrote: | I see you are using lightdm-kde-greeter. It is notoriously broken, never ported away from Plasma-4 libraries and was thus recently removed from tree. Did it somehow went missing on your system and you didn't notice? | Frankly, I don't know! It is indeed impossible to emerge it, on the other hand, the file can be found in /etc/lightdm/lightdm-kde-greeter. So assumed pulled in not as individual package.
If I understand right, without this particular greeter lightdm will not run under KDE/plasma. As a consequence, lightdm is no longer an alternative for plasma and sddm has to be used. Is this correct?
asturm wrote: | Code: | /etc/X11/xinit/xinitrc
exec startkde # in the very first line of the file |
Why? | Found it in several threads and in the KDE wiki. As it stands, the only way I can start plasma unless the display manager does it .... it should not be of harm anyway? _________________ Sometimes frustrated Linux User |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3919 Location: Hamburg
|
Posted: Fri Jul 07, 2017 8:35 am Post subject: |
|
|
[quote="Lokesh"] asturm wrote: | As a consequence, lightdm is no longer an alternative for plasma and sddm has to be used. Is this correct? | Can't blame lightdm, but sddm works flawlessly. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8931
|
Posted: Fri Jul 07, 2017 8:35 am Post subject: |
|
|
Lokesh wrote: | If I understand right, without this particular greeter lightdm will not run under KDE/plasma. As a consequence, lightdm is no longer an alternative for plasma and sddm has to be used. Is this correct? |
No greeter runs 'under Plasma', Plasma does not care by what it is started as long as it is started correctly. You just don't have a lightdm greeter based on Qt4/KDELibs-4 available anymore, use the gtk one if you wish to stay with lightdm.
Lokesh wrote: | Found it in several threads and in the KDE wiki. As it stands, the only way I can start plasma unless the display manager does it .... it should not be of harm anyway? |
Can you show me exactly where in the wiki? I would only advise it to put in ~/.xinitrc, and even then that startkde command is not enough to start a proper Plasma session. |
|
Back to top |
|
|
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Fri Jul 07, 2017 10:22 am Post subject: |
|
|
asturm wrote: | Can you show me exactly where in the wiki? I would only advise it to put in ~/.xinitrc, and even then that startkde command is not enough to start a proper Plasma session. |
My fault, I did not understand those informations right. They all refer of course to start plasma without usage of a DM.
I replaced lightdm by sddm with all required configurations and it works now. Thank you, problem solved.
Lokesh _________________ Sometimes frustrated Linux User |
|
Back to top |
|
|
|