Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autologin without login manager?! d(-_-)b
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
purpler
n00b
n00b


Joined: 11 Jan 2007
Posts: 38
Location: /v*/l*/p*/world

PostPosted: Tue Dec 18, 2007 4:12 pm    Post subject: autologin without login manager?! d(-_-)b Reply with quote

ever thought about having a really slick, neat minimal xfce/fluxbox system without having to emerge some bloaty and/or crappy login manager such as {x,k,g}dm which you actualy dont need and dont want because they usualy pull in bunch of kde/gnome related stuff?

well fear no more:
Code:
sudo echo "su -c "startxfce4" your_username" >> /etc/conf.d/local.start;rc-update del xdm


change "startxfce4" for your session as well as your_username for your own..
hope you like it..it works excellent for me because i wanted to avoid pulling in gdm/kdm on brand new lean xfce desktop.. :)
_________________
Our system, who art on raised tile,hallowed be thy OS..
Gentoo.
Back to top
View user's profile Send private message
pjj
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 165
Location: The Netherlands

PostPosted: Tue Dec 18, 2007 6:46 pm    Post subject: Reply with quote

Looks cool, although you can setup XDM to look pretty good, there was a topic about it somewhere a few years ago ;)
Back to top
View user's profile Send private message
purpler
n00b
n00b


Joined: 11 Jan 2007
Posts: 38
Location: /v*/l*/p*/world

PostPosted: Wed Dec 19, 2007 8:07 am    Post subject: Reply with quote

heh, well exact point of this topic is that one-user-system do not need login manager at all :)
thus saving you either from emerging additional packages to system and/or one default runlevel service less :)
everybody wins in any case. isnt that cool? :D
_________________
Our system, who art on raised tile,hallowed be thy OS..
Gentoo.
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Wed Dec 19, 2007 10:30 am    Post subject: Reply with quote

does su - set all environment variables properly?
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
purpler
n00b
n00b


Joined: 11 Jan 2007
Posts: 38
Location: /v*/l*/p*/world

PostPosted: Wed Dec 19, 2007 10:56 am    Post subject: Reply with quote

Code:
man su

Quote:
" -, -l, --login Provide an environment similar to what the user would expect had the user logged in directly. "

cant say since i don't use it.. :)
_________________
Our system, who art on raised tile,hallowed be thy OS..
Gentoo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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