You are not logged in.
Pages: 1
I've installed ArchLinux + Fluxbox, and I'm quite satisfied with it, however there is a certain issue that I cannot resolve. I'd like to use text login, without DM obviously, and then automatically start fluxbox, however solutions like modifying my ~/bash_profile weren't successful for some reason. I'm currently using autologin solution via /etc/inittab as suggested on arch wiki
x:5:once:/bin/su - -- PREFERRED_USER -l -c '/usr/bin/startx </dev/null' but that has become somewhat of a problem, considering my annoying roommate likes to exploit that . Usually, I'd keep trying to resolve this on my own, and I like learning about arch and linux in general, but this has become a matter of great emergency for me. After all, no one likes getting their privacy violated
Last edited by Niamh (2011-03-11 23:53:12)
Offline
so what is the problem with ~/.bash_profile ?
On login, you can have it start X automatically like so.
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
xinit -- :0 2>/dev/null
logout
fi
This simply makes sure that if the login is on tty1, then it will start X.
Make sure to change the inittab to start on runlevel 3 though.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Thank you I think I messed something up with inittab runlevels... Anyhow, this works perfectly.
Offline
Good Mark thread as solved please.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1