You are not logged in.

#1 2023-02-11 16:38:04

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Lightdm - error reading existing xauthority

When i boot into my system, it stops at a blank screen with flicking cursor. When i run

lightdm --test-mode --debug

It returns error reading xauthority : failed to open file ?/run/lightdm/root/ :0 : permission denied

I do not know how to copy or upload logs with my terminal, so if you can also tell me it would be greatly appreciated.

Offline

#2 2023-02-11 16:46:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

lightdm --test-mode --debug

On the console?

https://wiki.archlinux.org/title/LightD … n_flashing
https://wiki.archlinux.org/title/LightD … TTY_output

I do not know how to copy or upload logs with my terminal

1st link below, lightdm log is in /var/log

Offline

#3 2023-02-11 16:56:19

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:

lightdm --test-mode --debug

On the console?

https://wiki.archlinux.org/title/LightD … n_flashing
https://wiki.archlinux.org/title/LightD … TTY_output

I do not know how to copy or upload logs with my terminal

1st link below, lightdm log is in /var/log

On tty
http://ix.io/4nLu

Last edited by DaysSky (2023-02-11 16:56:50)

Offline

#4 2023-02-11 17:01:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7

Check your lightdm conf, in doubt post it.

Running the test-mode on the tty will likely not be possible.

Offline

#5 2023-02-11 17:05:48

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7

Check your lightdm conf, in doubt post it.

Running the test-mode on the tty will likely not be possible.

http://ix.io/27Wv

Offline

#6 2023-02-11 17:09:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

Boring, and it's indeed X11

[+0.00s] DEBUG: Launching process 678: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
…
[+0.02s] DEBUG: Process 678 exited with return value 1

So please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#7 2023-02-11 17:11:55

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:

Boring, and it's indeed X11

[+0.00s] DEBUG: Launching process 678: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
…
[+0.02s] DEBUG: Process 678 exited with return value 1

So please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

http://ix.io/4nLy

Offline

#8 2023-02-11 17:18:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

Did you also look at it?

[     5.901] (EE) Screen 0 deleted because of no matching config section.
[     5.901] (II) UnloadModule: "modesetting"
[     5.901] (EE) Device(s) detected, but none match those in the config file.
[     5.901] (EE) 
Fatal server error:
[     5.901] (EE) no screens found(EE) 
[     5.901] (EE) 

It's a hybrid system, you're running on the AMD chip, but the nvidia chip is preferred and somehow misconfigured.
You need to elaborate on your configuration.

Offline

#9 2023-02-11 17:19:44

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:

Did you also look at it?

[     5.901] (EE) Screen 0 deleted because of no matching config section.
[     5.901] (II) UnloadModule: "modesetting"
[     5.901] (EE) Device(s) detected, but none match those in the config file.
[     5.901] (EE) 
Fatal server error:
[     5.901] (EE) no screens found(EE) 
[     5.901] (EE) 

It's a hybrid system, you're running on the AMD chip, but the nvidia chip is preferred and somehow misconfigured.
You need to elaborate on your configuration.

So what do i need to do?

Offline

#10 2023-02-11 17:25:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

You need to elaborate on your configuration.

How did you intend to configure the system and what did you actually do?

Post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Also

ls /{etc,usr/share}/X11/xorg.conf*

Offline

#11 2023-02-11 17:29:26

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:

You need to elaborate on your configuration.

How did you intend to configure the system and what did you actually do?

Post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Also

ls /{etc,usr/share}/X11/xorg.conf*

http://0x0.st/Hrcf.txt
10-nvidia-drm-outputclass.conf
10-quirks.conf
40ibinput.conf
I tried to make my system recognize my nvidia card

Offline

#12 2023-02-11 17:32:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

I tried to make my system recognize my nvidia card

How? Did you blacklist the amdgpu module?
Don't.

https://wiki.archlinux.org/title/PRIME

Offline

#13 2023-02-11 17:32:32

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:

I tried to make my system recognize my nvidia card

How? Did you blacklist the amdgpu module?
Don't.

https://wiki.archlinux.org/title/PRIME

Yes.
How do i fix my system?

Offline

#14 2023-02-11 17:34:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

seth wrote:

Did you blacklist the amdgpu module?
Don't.

Next time you start out by "I blacklisted the amdgpu module and now my graphical target fails", because that could have us spared this game of 20 questions.

Offline

#15 2023-02-11 17:36:30

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:
seth wrote:

Did you blacklist the amdgpu module?
Don't.

Next time you start out by "I blacklisted the amdgpu module and now my graphical target fails", because that could have us spared this game of 20 questions.

i will make sure to do that, thank you

Offline

#16 2023-02-11 17:38:41

DaysSky
Member
Registered: 2022-12-30
Posts: 35

Re: Lightdm - error reading existing xauthority

seth wrote:

I tried to make my system recognize my nvidia card

How? Did you blacklist the amdgpu module?
Don't.

https://wiki.archlinux.org/title/PRIME

I un blacklisted it by doing sudo rm /etc/modprobe.d/amdgpu.conf but it still does not work
http://0x0.st/HrcJ.txt

Last edited by DaysSky (2023-02-11 17:39:35)

Offline

#17 2023-02-11 20:09:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Lightdm - error reading existing xauthority

The amdgpu module isn't loaded, so it's still blacklisted.
You probably picked up /etc/modprobe.d/amdgpu.conf in the initrramfs via the modconf hook.
=> rebuild the initramfs.

Offline

Board footer

Powered by FluxBB