LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-25-2021, 07:37 AM   #1
mqrris
LQ Newbie
 
Registered: Jun 2021
Posts: 14

Rep: Reputation: Disabled
[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.

Last edited by mqrris; 07-25-2021 at 11:13 AM.
 
Old 07-25-2021, 09:59 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
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
 
Old 07-25-2021, 11:35 AM   #3
mqrris
LQ Newbie
 
Registered: Jun 2021
Posts: 14

Original Poster
Rep: Reputation: Disabled
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?
 
Old 07-26-2021, 02:34 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,008

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encryption of the whole disk vs. a partition filling the whole disk taylorkh Linux - Security 5 09-19-2016 11:03 AM
xorg / startx completely freezes system every time granth Slackware 17 11-06-2008 10:42 PM
Freeze of freeze on first boot compaq v6305nr distro: fedora core 7 schezel2000 Linux - Hardware 0 10-18-2007 10:01 AM
Start K3b freeze my whole system with Slack 12.0 rvdboom Slackware 6 07-14-2007 06:41 AM
Why is it so slow, and why does it freeze after i type startx? potenza Slackware - Installation 7 03-12-2004 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration