Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Lightdm does not launch plasma
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Thu Jul 06, 2017 7:32 pm    Post subject: [solved] Lightdm does not launch plasma Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Thu Jul 06, 2017 8:53 pm    Post subject: Reply with quote

xdm is in default runlevel? lightdm configured in /etc/conf.d/xdm?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Fri Jul 07, 2017 6:05 am    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Fri Jul 07, 2017 6:09 am    Post subject: Reply with quote

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?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Fri Jul 07, 2017 8:21 am    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Fri Jul 07, 2017 8:35 am    Post subject: Reply with quote

[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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6825
Location: Austria

PostPosted: Fri Jul 07, 2017 8:35 am    Post subject: Reply with quote

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.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 131

PostPosted: Fri Jul 07, 2017 10:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum