You are not logged in.

#1 2023-09-15 22:17:55

bb6sigma
Member
Registered: 2023-09-15
Posts: 3

[SOLVED] Awesome Wm always in root

Hi! I have recently switch over to a window manager and decided to give awesome wm a try. I followed the awesome installation guide and everything was working as it should but I noticed that every time I open a terminal it shows that I am default logged in as root. I checked the awesome wiki to see if I missed a step and cross referenced with other tutorials to see if they did anything I didn't and found nothing. I've read through the wiki and all pertaining forums and scoured the internet but can't seem to find anything regarding the topic. I can exit root by using the "su username" command and use sudo as a normal user but I was wondering if there is an angle I'm not seeing or step that I missed so that I can set the default user as a normal user to prevent a mistake in the future being that I don't want to always be in root, thank you!

Last edited by bb6sigma (2023-10-11 08:33:21)

Offline

#2 2023-09-16 07:24:54

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

Re: [SOLVED] Awesome Wm always in root

Your WM has nothing to do w/ your login user.
How do you login/start awesome?

Offline

#3 2023-09-16 20:11:20

bb6sigma
Member
Registered: 2023-09-15
Posts: 3

Re: [SOLVED] Awesome Wm always in root

i start awesome using the sudo startx command in tty

Offline

#4 2023-09-16 20:14:57

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

Re: [SOLVED] Awesome Wm always in root

And why would you sudo "startx"?
Obviously don't do that, it's bad on multiple levels (UID0 AND sudo to trash your users permssions)

find ~ \! -user bb6sigma -print # assuming bb6sigma is also your regular login

Offline

#5 2023-10-11 08:27:18

bb6sigma
Member
Registered: 2023-09-15
Posts: 3

Re: [SOLVED] Awesome Wm always in root

Sorry for the late reply, but you were correct, I was asking the wrong question and I had simply just overlooked a step in my xinit config that prevented from starting x as normal. Thank you for your help and quick replies!

Offline

Board footer

Powered by FluxBB