LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   [Xorg] startx freeze the whole system (https://www.linuxquestions.org/questions/linux-desktop-74/%5Bxorg%5D-startx-freeze-the-whole-system-4175698272/)

mqrris 07-25-2021 07:37 AM

[Xorg] startx freeze the whole system
 
I installed kiss linux and tried to startx as root.
In my .xinitrc I only have: exec dwm.
When I startx everything freezes and I can't even switch tty's.

Here is my dmesg output.
Unfortunately, xorg logs are empty :[

Please help, I'm lost.

teckk 07-25-2021 09:59 AM

linux 5.10.51, amdgpu.

startx as user not root.

That should be ~/.xinitrc not xinit.rc

How about posting
Code:

lspci -k
If you need to redirect that to file so that you can post it with another machine
Code:

lspci -k > lspci.txt
The idea is to see what hardware you have, and what kernel module is being loaded for it. Is it the right one for the hardware?

Does the journal give you any answers?
Code:

man journalctl
Post your ~./xinitrc

~ means home

mqrris 07-25-2021 11:35 AM

I do have two identical .xinitrc files in my root ~/ and user ~/ and there is only one line
Code:

exec dwm
I can't startx as user because of /dev/dri/card0 - to which I currently don't have access. Here is the log.
If I issue
Code:

chmod 666 /dev/dri/card0
I can startx as user, but after a reboot permissions drops.

I have a little experience configuring the kernel, so there is some gaps in my lspci output..
Could you recommend some literature about kernel configuration?

jefro 07-26-2021 02:34 PM

Thoughts only.
There could be one or more logs that tell the issue of how it is failing. Ctrl-Alt+Fkey to access terminal if not fully locked.
Might be more than one way to startx. I've never played with kiss linux.


All times are GMT -5. The time now is 01:46 AM.