Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant run x when not root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
scrllock
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2002
Posts: 102

PostPosted: Wed Oct 16, 2002 11:04 pm    Post subject: cant run x when not root Reply with quote

well, i can run twm, but thats it. whenever i try to run kdm as a non-root user, it says something about preferring that root run it. And when I run kdm as root, then login to fluxbox as a non-root user none of my settings are there...
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Oct 16, 2002 11:16 pm    Post subject: Reply with quote

How are DISPLAYMANAGER and XSESSION set up in /etc/rc.conf?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
scrllock
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2002
Posts: 102

PostPosted: Wed Oct 16, 2002 11:31 pm    Post subject: Reply with quote

let me check...

DISPLAYMANAGER=kdm

XSESSION=fluxbox

so hows that?
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Wed Oct 16, 2002 11:58 pm    Post subject: Reply with quote

also having same problem...
Back to top
View user's profile Send private message
Zaxon
n00b
n00b


Joined: 22 Sep 2002
Posts: 39
Location: Madison, Alabama

PostPosted: Thu Oct 17, 2002 12:19 am    Post subject: Reply with quote

I will be honest i don't know much about userpermissions and such, but if ou create a user using superusermod(or something close to that) there is an ebuild to it, the user is allowed to use all x related stuff and most programs. Not sure if you have already done this. Hope it is of any help. And to be able to su to root add you user to wheel.
_________________
"Penguins can't fly, but they sure look cute!"
Back to top
View user's profile Send private message
scrllock
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2002
Posts: 102

PostPosted: Thu Oct 17, 2002 12:50 am    Post subject: Reply with quote

thanks i just made a new user, and that fixed it. thanks a lot.
Back to top
View user's profile Send private message
Kawada
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 159
Location: Florida, USA

PostPosted: Thu Oct 17, 2002 2:13 am    Post subject: Reply with quote

You are not actually supposed to run kdm (or xdm or gdm etc.) as anything but root. What you do is either set up kdm to start at login (set DISPLAYMANAGER to kdm in rc.conf and do rc-update add xdm default) or you run kdm as root. If you want to run an X session as a nonroot user, you login as that user through the kdm login screen, but you would still start kdm as root.
_________________
Kawada

2002 Nethack Tournament -- 317th runner-up http://nethack.devnull.net/
Back to top
View user's profile Send private message
scrllock
Tux's lil' helper
Tux's lil' helper


Joined: 14 Oct 2002
Posts: 102

PostPosted: Thu Oct 17, 2002 3:35 pm    Post subject: Reply with quote

yes, i know that. It was just that after i started kdm as root, and i then logged in as scrllock, the only thing i could do in flux was xterm. i could have done it manually, but te superadduser really helped. thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum