View Single Post
  #7   (View Single Post)  
Old 29th October 2016
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 465
Default

I don't like display managers so instead of xdm(1) I use this line in ~/.profile:
Code:
[[ -z $DISPLAY && $(tty) = /dev/ttyC0 ]] && exec startx
This will autostart X but only for ttyC0, logins to the other TTYs result in a normal console session, which is useful for when I b0rk my desktop
Reply With Quote