Lightdm keeps failing to start. Have to sudo to load

So I fresh installed the community edition of Manjaro with I3 earlier today. Seems like everything is great except i always get stuck in console having to sudo run lightdm to get to a login screen and onto my desktop.
When i do manage to login, I get an error titled “Unable to get connection to the message bus session”

I have fully updated my system, and upgraded the kernel to 514.

Other posters have said updating fixed the problem, but I feel I have updated everything I can to no avail.

Hit me with those tasty terminal commands to give y’all all the info you need to hopefully help me out. if you are willing of course.

-Mike

Welcome to the forum! :wave:

Here’s an almost similar post and the solution:

I updated my gpu drivers and still nothing.
This is what i get from lightdm --test-mode --debug

[+0.00s] DEBUG: Logging to /home/unhinged/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=1000 PID=1443
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/snapd/desktop/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+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: Running in user mode
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.02s] DEBUG: Seat seat0: Starting local X display
[+0.02s] DEBUG: XServer 1: Logging to /home/unhinged/.cache/lightdm/log/x-1.log
[+0.02s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.02s] WARNING: Error reading existing Xauthority: Failed to open file ?/run/lightdm/root/:1?: Permission denied
[+0.02s] WARNING: XServer 1: Failed to write authority: Failed to open X authority /run/lightdm/root/:1: Permission denied
[+0.02s] DEBUG: XServer 1: Launching X Server
[+0.02s] DEBUG: Launching process 1449: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.02s] DEBUG: XServer 1: Waiting for ready signal from X server :1
Failed to get D-Bus connection

Did you start lightdm as root ?

This is from my pc:

/run ls -lA /run|egrep lightdm                                                                                                                           
drwx--x--x  3 lightdm lightdm   60  2. Nov 07:16 lightdm
-rw-r--r--  1 root    root       4  2. Nov 07:16 lightdm.pid

/run ls -lA /run/lightdm                                                                                                                                 
insgesamt 0
drwx------ 2 root root 80  2. Nov 07:16 root

/run ls -lA /run/lightdm/root                                                                                                                            
insgesamt 8
-rw------- 1 root root 54  2. Nov 07:16 :0
-rw------- 1 root root 54  2. Nov 07:16 :1

Does /run/lightdm belong to lightdm:lightdm on your pc ?

You are trying to access 2nd X-server.

  • Do you have a multiseat-setup ?
  • Is maybe 1st X-server already running ? (run/lightdm/root/:0)

I did, as it is the only way to logon to the system.

Make sure amdgpu module is loading at boot time see this post: GDM does not start until I switch tty, - #3 by Syzygianinfern0

Got frustrated looking around and just switched back to KDE.
Thank you everyone for the help.

Not sure how to delete the post so if a mod sees this feel free to do so.

-Mike