You are not logged in.
First I think this is the first how to I have posted here so be gentle!
I wanted to get rid of login managers like GDM or lightdm
so I uninstalled them and put stuff in .xinitrc
strange but it seemed to get bypassed or not noticed and my default openbox would startup
so another way:
I installed nodm
sudo apt-get install nodmafter it's installed you edit two lines in the NoDM configuration file
sudo nano /etc/default/nodmNODM_ENABLED=false
NODM_USER=root
The first line change to:
NODM_ENABLED=true
The second line change to the username you want to be logged in with.
in my case
NODM_USER=dk
Lastly you need to tell your system what type of session to start when X is spawned.
So for instance If you want to use the herbstluft as your desktop, in your ~/.xsession file I add the following line:
exec herbstluft --locked
dont put the --locked part for other window managers herbstluft just likes it like that
Troll = not a fanatic
slave of #! and arch
Offline
You do not need a display manager like "nodm". You can deinstall "nodm" and "lightdm" ... After reboot you only get a text console. If that works i can post the configuration for automatic login to console 1 and automatic "startx".
Offline
if you notice in my post i said
"I wanted to get rid of login managers like GDM or lightdm
so I uninstalled them and put stuff in .xinitrc
strange but it seemed to get bypassed or not noticed and my default openbox would startup"
What I meant was I tried doing without a window manager and just putting stuff in .xinitrc but even though I would put an entry to start say ratpoison - openbox would still start up!
thats why i resorted to this method and it works because typing starx didn't work for me.
Troll = not a fanatic
slave of #! and arch
Offline
I think there is a display manager installed. Find the display manager in /etc/pam.d or /etc/init.d
If not find "openbox" with
fgrep -R openbox /home/userLast edited by uname (2013-10-17 14:49:26)
Offline
[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx -- vt1--Ben
Debian: II Arch: II openSUSE: I
Offline
I added this to the end of the .profile file in my home directory.
It executes startx after I logged in to tty1 and logs me out when it gets killed.
#start X at login
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx
fiOffline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh