Thread: Autostart Xfce
View Single Post
  #5   (View Single Post)  
Old 15th June 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

put that into your startup shell file ( ~/.profile / ~/.zshrc / ~/.bash+profile )
Code:
# start X11 after login on /dev/ttyv0 terminal
if [ $( tty ) = "/dev/ttyv0" ]; then
  nohup xinit -- -nolisten tcp -br -tst dpms nologo -xinerama -dpi 75 > /dev/null 2>&1 &
fi
With startxfce in ~/.xinitrc after you login on 1st virtual console XFCE will start automatically.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote