You are not logged in.
.
Last edited by stjepan (2022-09-20 21:45:02)
Offline
inittab and a second entry in grub for init 3 boot
Offline
I like the daemon way, because i dont need to touch any other file except rc.conf, this makes life much easier.
Offline
startx (laptop) and slim daemon (desktop).
Offline
inittab I prefer for the same reasons listed all above.
...but I also have an ATI card in another box soooo:
kdm in DAEMONS... 'cos I think ATI drivers don't work well w/ inittab!
(please correct me if I've been misguided here!!! )
Last edited by CipherPaladin (2007-07-05 09:40:53)
Offline
ATI drivers seem to work fine with inittab; I am using inittab for gdm. I also keep a additional fallback init 3 option in menu.lst.
Offline
I use inittab, just in case I am messing with X settings and it hardlocks the system upon startup. That way, I can just boot into run level 3, fix things, then move to run level 5, instead of having to use a liveCD. ;3
Offline
Back when I used dwm, I had to try out small edits to it every so often. So I had two seperate scripts, one to run the Xorg server (Xorg -noreset ...something something, also sets the wallpaper) and one script to start the wm. So when I wanted to try out a change to the wm, I could 'Quit' it and rerun the second script without Xorg closing or my applications dying.
Now I use icewm (but looking for something else), and I use a single script usable only from vc after logging in, that cd's to the homedir* and setsids xinit in the background, so I can still do small things with the vc (not big things since stdout and stderr of xinit write to it.)
*don't you just hate it when you start xinit/startx from another directory and every term you make starts in that directory?
Offline
startx, sort of.
~/.bashrc extract
alias sx='startx -- -nolisten tcp >& $HOME/.startx-errors'
I know I can edit /usr/bin/startx to turn off TCP listening, but I prefer to do here.
~/.xinitrc
exec xmodmap ~/.colemak-1.0/xmodmap/xmodmap.colemak && xset r 66 &
exec xbindkeys &
eval $(cat ~/.fehbg) &
openbox
~/.xbindkeys
"xlock"
Scroll_Lock
"scrot"
Print
"amixer set Master 5%-"
m:0x10 + c:174
"amixer set Master 5%+"
m:0x10 + c:176
"amixer set Master toggle"
m:0x10 + c:160
"mpc toggle"
KP_Enter
"mpc next"
Mod2 + KP_Add
"mpc prev"
Mod2 + KP_Subtract
"setxkbmap us; xset -r 66"
F7
"setxkbmap us; xmodmap ~/.colemak-1.0/xmodmap/xmodmap.colemak && xset r 66"
Colemak isn't too tough to get used to. The most troublesome programs are vim (though I do have colemak.vim), nethack and starcraft, which is why I use F7 and F8 to activate QWERTY and colemak. I should write a script to toggle them and assign that to just one key.
Last edited by tomfitzyuk (2007-07-06 13:44:30)
Offline
slim + .xinitrc (xfce4)
Offline
slim with inittab... I screwed my laptop's xorg.conf so many times trying to perfect it that the fall back "ro 3" entry was very necessary.
Offline
I don't use a LoginManager.
Just automatically executed startx after login on first console.
~/.bash_profile
. $HOME/.bashrc
if [ "$(tty)" = "/dev/vc/1" ]; then
startx -- -nolisten tcp -dpi 96
logout
fi
Offline
ATI drivers seem to work fine with inittab; I am using inittab for gdm. I also keep a additional fallback init 3 option in menu.lst.
I do that to. Works fine with ati here also.
Unknown Horizons - Open source real-time strategy game with the comfy Anno 1602 feeling!
Offline
I don't use a LoginManager.
Just automatically executed startx after login on first console.~/.bash_profile
. $HOME/.bashrc if [ "$(tty)" = "/dev/vc/1" ]; then startx -- -nolisten tcp -dpi 96 logout fi
I used to do the same, but after a system update a week ago (with testing enabled) this isn't working anymore. It seems like $tty isn't set anymore... What exactly sets this variable?
Cheers Sigi
Haven't been here in a while. Still rocking Arch.
Offline
SiD wrote:if [ "$(tty)" = "/dev/vc/1" ]; then
I used to do the same, but after a system update a week ago (with testing enabled) this isn't working anymore. It seems like $tty isn't set anymore... What exactly sets this variable?
There's a difference between $tty and $(tty). SiD uses $(tty) to grab the output of the tty app.
Me, I just use startx from console - I manually run it. I also have startx aliased to 'exec startx' so that if I have the computer locked, someone can't just change to VC1, ctrl-C, and use my PC. If they kill the startx process, it kicks them back to login.
Offline
Actually I use the ".bash_profile" autologin, but I think I'll switch to GDM because it can manage /var/adm/utmp, /var/adm/wtmp etc.
Maybe I'll use the DAEMON way... maybe the inittab way...
However if you use the DAEMON way and you don't use X anymore, just stop the GDM daemon and kill X... using the inittab way and switch to init 3 isn't the only option.
Last edited by ekerazha (2008-01-04 16:10:22)
Offline
startx method here to be able to select between single and dual head setup (startx -- -layout single|dual).
I would like to use qingy for that like I did with Gentoo, but unfortunately I couldn't get it working right (path problems).
Bye, signor_rossi.
Offline
Normally, I just use the daemon array.
...
Offline
The daemons array, that way it starts all the not-necesary for-desktop stuff after I logged (such as ssh, samba and the for-testing-php-code apache and mysql)
Offline
How oh how does a thread like this get resurrected.. I started this question in April 2007
Offline
How oh how does a thread like this get resurrected.. I started this question in April 2007
so it was the same... it seemed strange to me that it would get resurrected, so I thought it was a new one (yes, I actually remembered this thread somehow)
Offline
I used to do the same, but after a system update a week ago (with testing enabled) this isn't working anymore. It seems like $tty isn't set anymore... What exactly sets this variable?
Cheers Sigi
Btw, this works again. For some strange reason, my .bash_profile was missing...
Haven't been here in a while. Still rocking Arch.
Offline
i log in, and type my l33t startx alias, 'x'
PROCRASTINATION
is like masturbation...it's good in the beginning, but in the end, you realize
you've just fkd yourself
Offline
Used to do it the startx way, but gleidson's darch theme for slim is just too immense to miss.
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
Same here.
btw:
I've made a splashy-theme based on gleidson's work.
It's in AUR. Pkgname is splashy-theme-darch
Offline