Thread: Autostart Xfce
View Single Post
  #7   (View Single Post)  
Old 16th June 2008
Errinok Errinok is offline
Port Guard
 
Join Date: Jun 2008
Posts: 14
Default

Quote:
Originally Posted by vermaden View Post
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.
why do you need that big long command. cant you just use startx in between the if statement? if your xorg.conf is correct then shouldnt most of that be set (ie. xinerama, nologo)?
Reply With Quote