Unable to login normally  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 1:48 pm

Re: Unable to login normally

#21 Post by MAYBL8 »

Yep
Here is the beginning:

Code: Select all

dcihon@mx21xfce:~$ find ~ -user root -ls
      256      0 drwxrwxrwx   2 root     root            0 Sep 23 09:09 /home/dcihon/mnt/servermusic
   142718      0 drwxrwxrwx   2 root     root            0 Jan 27  2022 /home/dcihon/mnt/servermusic/3\ Doors\ Down
   142719      0 drwxrwxrwx   2 root     root            0 Jan 26  2022 /home/dcihon/mnt/servermusic/3\ Doors\ Down/Away\ From\ The\ Sun
Here is the end:

Code: Select all

  200016  10176 -rwxrwxrwx   1 root     root      10414910 Sep 21 12:29 /home/dcihon/mnt/servermusic/James\ Blunt/Monsters/01\ -\ Monsters.mp3
   200021      0 drwxrwxrwx   2 root     root             0 Sep 23 09:09 /home/dcihon/mnt/servermusic/Lewis\ Capaldi
   200022      0 drwxrwxrwx   2 root     root             0 Sep 23 09:09 /home/dcihon/mnt/servermusic/Lewis\ Capaldi/Breach\ EP
   200015   4416 -rwxrwxrwx   1 root     root       4483361 Sep 20 14:19 /home/dcihon/mnt/servermusic/Lewis\ Capaldi/Breach\ EP/03\ -\ Someone\ You\ Loved.mp3
dcihon@mx21xfce:~$ ll

User avatar
dolphin_oracle
Developer
Posts: 22012
Joined: Sun Dec 16, 2007 12:17 pm

Re: Unable to login normally

#22 Post by dolphin_oracle »

there should be a log at /var/log/lightdm/lightdm.log
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 1:48 pm

Re: Unable to login normally

#23 Post by MAYBL8 »

Code: Select all

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=2739
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/02_MX.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.04s] DEBUG: Monitoring logind for seats
[+0.04s] DEBUG: New seat added from logind: seat0
[+0.04s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.04s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.04s] DEBUG: Seat seat0: Starting
[+0.04s] DEBUG: Seat seat0: Creating greeter session
[+0.04s] DEBUG: Seat seat0: Creating display server of type x
[+0.05s] DEBUG: Seat seat0: Plymouth is running on VT 1, but this is less than the configured minimum of 7 so not replacing it
[+0.05s] DEBUG: Quitting Plymouth
[+0.07s] DEBUG: Using VT 7
[+0.07s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.07s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.07s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.07s] DEBUG: XServer 0: Launching X Server
[+0.07s] DEBUG: Launching process 2864: /bin/X -dpi $DPI :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.07s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.07s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.07s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.10s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.10s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.80s] DEBUG: Got signal 10 from process 2864
[+0.80s] DEBUG: XServer 0: Got signal from X server :0
[+0.80s] DEBUG: XServer 0: Connecting to XServer :0
[+0.80s] DEBUG: Launching process 2966: /usr/local/bin/early-bg
[+0.80s] DEBUG: Process 2966 exited with return value 0
[+0.80s] DEBUG: Seat seat0: Exit status of /usr/local/bin/early-bg: 0
[+0.80s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.80s] DEBUG: Session pid=2972: Started with service 'lightdm-greeter', username 'lightdm'
[+0.81s] DEBUG: Session pid=2972: Authentication complete with return value 0: Success
[+0.81s] DEBUG: Seat seat0: Session authenticated, running command
[+0.81s] DEBUG: Launching process 2975: /usr/bin/lightdm-shutdown
[+0.83s] DEBUG: Process 2975 exited with return value 0
[+0.83s] DEBUG: Seat seat0: Exit status of /usr/bin/lightdm-shutdown: 0
[+0.83s] DEBUG: Session pid=2972: Running command /bin/lightdm-webkit2-greeter
[+0.83s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+0.83s] DEBUG: Session pid=2972: Logging to /var/log/lightdm/seat0-greeter.log
[+0.85s] DEBUG: Activating VT 7
[+0.85s] DEBUG: Activating login1 session c1
[+0.85s] DEBUG: Seat seat0 changes active session to c1
[+0.85s] DEBUG: Session c1 is already active
[+18.05s] DEBUG: Seat seat0 changes active session to 
[+25.24s] DEBUG: Seat seat0 changes active session to 1

Huckleberry Finn

Re: Unable to login normally

#24 Post by Huckleberry Finn »

MAYBL8 wrote: Thu Oct 06, 2022 2:29 pm...I haven't ran any commands as root
Yes, I just meant normally it works with user and not with root (therefore (since yours didn't work as user) it would be a sign that things might've changed to root.) (Whatever.. we can eliminate that as the other command shows just the music files and directory).

What if you create a new user with "MX User Manager" and then try to login with that?

User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 1:48 pm

Re: Unable to login normally

#25 Post by MAYBL8 »

I was really hoping that would work bu it didn't .
new user has the same issue.
That is interesting.

Should I try to uninstall lightdm or try a different login manager?

Huckleberry Finn

Re: Unable to login normally

#26 Post by Huckleberry Finn »

Then, yes, it's something system-wide.

If you like, first purge, then reinstall lightdm

User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 1:48 pm

Re: Unable to login normally

#27 Post by MAYBL8 »

I think I will save the configuration files first in case that isn't the solution.

Huckleberry Finn

Re: Unable to login normally  [Solved]

#28 Post by Huckleberry Finn »

Yes, of course you can.

Code: Select all

sudo apt purge lightdm -y ; sudo apt update ; sudo apt install lightdm -y

I'm on MX 19 at the moment, but these are the related packages:

Code: Select all

$ apt list *lightdm* -i
Listing... Done
liblightdm-gobject-1-0/mx,now 1.26.0-4+vtswitchmx19 i386 [installed,automatic]
lightdm-gtk-greeter-mx19/mx,now 20.12.01 all [installed]
lightdm-gtk-greeter-settings/oldstable,now 1.2.2-2 all [installed]
lightdm-gtk-greeter/oldstable,now 2.0.6-1 i386 [installed]
lightdm-modified-init/mx,now 20.01.02 all [installed]
lightdm/mx,now 1.26.0-4+vtswitchmx19 i386 [installed]

User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 1:48 pm

Re: Unable to login normally

#29 Post by MAYBL8 »

We have success!!!

Now what could it have been .
How much work do I want to do to try to figure that out?

Huckleberry Finn

Re: Unable to login normally

#30 Post by Huckleberry Finn »

That quick !? :D

Post Reply

Return to “MX Help”