Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
starting xdm as user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Mon May 04, 2015 10:30 pm    Post subject: starting xdm as user Reply with quote

I did a handbook/wiki install including KDE base

I have to be root (or have root priviledges?) to start KDE as follows

Code:

/etc/init.d/xdm start


about 20 years ago I heard somewhere not to login into a GUI (X?) as root

how can I start KDE as a user with wheel priviledges?

if not capable, is it better to start KDE as a user with su priviedges than starting it with a root log-in?

once I get the KDE log-in I use the user with wheel priviledges to log-n?

what about using su in kconsole to do things needing su? should I exit KDE to do these things? probably faster with compiles, etc., right?

should I avoid even wheel priviledges in KDE?
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2882
Location: Illinois, USA

PostPosted: Mon May 04, 2015 11:33 pm    Post subject: Reply with quote

Code:
rc-update add xdm
once as root, thereafter xdm will start on every boot. You log in as a user.

If you don't want to run xdm evey boot, then run 'startx' as user instead.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Mon May 04, 2015 11:34 pm    Post subject: Reply with quote

Not sure if this is how you intended to use the machine:

xdm is the X11 display manager and will give permissions to whoever is using the display.

Thus it was intended to be run by root - and it will prompt for login information so that it can give permissions to subsequent users.

If you want to let xdm (or other display manger) let you login to your machine, you should run this on startup:

# rc-update add xdm default

Then it will provide you with a GUI login screen that you can login with a regular user.

You can still use the old "startx" method too, if you want to run X11 from a text login screen. You may need to configure it a bit more to make sure that session has proper console access (consolekit) if you want KDE to manage your disk devices, shutdown, etc.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dale__
n00b
n00b


Joined: 18 Apr 2015
Posts: 55

PostPosted: Tue May 05, 2015 3:07 am    Post subject: Reply with quote

Thanks, I think I got it now
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