Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lightdm - can not login
Date: Fri, 11 Jun 2021 17:35:15
Message-Id: 15abcb1e-a6fb-0857-ec9e-5a9d23c49fb5@sys-concept.com
In Reply to: Re: [gentoo-user] lightdm - can not login by Michael
1 On 6/11/21 2:17 AM, Michael wrote:
2 > On Thursday, 10 June 2021 22:42:10 BST thelma@×××××××××××.com wrote:
3 >> On 6/10/21 2:38 PM, Michael wrote:
4 >>> On Thursday, 10 June 2021 21:22:12 BST thelma@×××××××××××.com wrote:
5 >>>> On 6/10/21 1:19 PM, thelma@×××××××××××.com wrote:
6 >>>>> I'm trying to use the default "lightdm" for login but whenever I type-in
7 >>>>> the password it it puts me back to login screen (asking for password) I
8 >>>>> changed/updated the password and the system accept it but I still can
9 >>>>> not
10 >>>>> log-in.
11 >>>>
12 >>>> I switched to "sddm" and it works, but it is "ugly".
13 >>>
14 >>> There are some themes you could choose from, or make your own to improve
15 >>> the aesthetics of its default appearance. Access to themes may be
16 >>> available via your desktop environment's settings, or by setting them
17 >>> manually in sddm.conf.>
18 >>>> How to enable "num-lock" with sddm?
19 >>>> I have "num-lock" in default run-level and it turns on when system is
20 >>>> booting but when the "sddm" starts the num-lock is OFF again.
21 >>>
22 >>> The default /usr/share/sddm/sddm.conf.d/00default.conf has:
23 >>>
24 >>> # Initial NumLock state. Can be on, off or none.
25 >>> # If property is set to none, numlock won't be changed
26 >>> # NOTE: Currently ignored if autologin is enabled.
27 >>> Numlock=none
28 >>>
29 >>> You can change this in yours to 'on' and see if it makes any difference.
30 >>
31 >> In: /usr/share/sddm/sddm.conf.d/00default.conf
32 >> I change to
33 >> Numlock=on
34 >>
35 >> It makes no difference, when system boots the "Numlock" is still off.
36 >
37 > By "... when system boots" you mean when sddm starts, or when the xfce4
38 > desktop loads?
39 >
40 > Is it actually off, or is the corresponding LED failing to illuminate, but the
41 > keyboard responds correctly?
42 >
43 > https://forum.xfce.org/viewtopic.php?id=3270
44 >
45 >
46 > I do not have numlock enabled via openrc on the default runlevel and I have
47 > not installed numlockx. I copied the numlock configuration snippet into /etc/
48 > sddm.conf and set it to 'on'. Restarting enabled the numlock function and
49 > turned on the LED too, once sddm was running. After login into a desktop
50 > finished (Plasma) the numlock remained on. So on this machine it works as
51 > advertised with sddm and a Plasma DE.
52 >
53 > xfce4 has a desktop setting, under Settings > Keyboard where you can enable
54 > numlock - without depending on the display manager.
55 >
56 >
57 >> There
58 >> is no default user login either and some kind of "Consoll log for..." on
59 >> the lower right hand corner (that user don't need to see).
60 >
61 > This is not what I see here of a number of different PCs. There are avatars
62 > for each linux user and there is no log showing on the sddm panel. Do you
63 > have missing components like e.g. elogind, policykit?
64 >
65 > If the OS have only one user then this user's avatar will be selected to login
66 > with. With more than one user, the last user who logged in will be selected.
67 >
68 >
69 >> Previously I did not use any log-in manager, I start X from
70 >> .bash_profile
71 >> if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx; fi
72 >>
73 >> .xinitrc
74 >> exec startxfce4
75 >
76 > Have you looked at this page - it describes bashrc as an option:
77 >
78 > https://wiki.gentoo.org/wiki/X_without_Display_Manager
79 >
80 >
81 >> but I'm not sure if it runs/starts in VT=7
82 >> How to check or force X to VT=7
83 >
84 > Ctrl+Alt+Fn to discover which virtual terminal your Xsession is running on.
85
86 I'm back on "LightDM" login manager, the login works.
87 It was as simple as selecting, in top right hand corner (on "setting") during Login "Xfce" instead of "Xsession" that is using "twm" which I don't have it even installed. Xfce4 is the only desktop I have so it should be a default one.
88
89 As for numlock it still not ON.
90 The solution I think is to install: "x11-misc/numlockx" and point to it the configuration file.
91 I but I have "numlock" in default run-level and during start up the Numlock key turn ON but as soon as the "LightDM" starts, the Numlock light goes OFF.
92 Installing another application just to turn it ON is pointless.

Replies

Subject Author
Re: [gentoo-user] lightdm - can not login Michael <confabulate@××××××××.com>