I installed a minimal Debian system (stable) without GUI, switched to testing/jessie to be able to get the Cinnamon desktop, but X didn't start on boot. If I log in as myself at the CLI, I can type startx
to launch the GUI, and I don't have any problems. So, I added the following to /etc/inittab
:
# The default runlevel.
id:5:initdefault:
# ...
sx:45:once:/bin/su -c /usr/bin/startx -l bateman
This has no effect whatsoever. Why not? More importantly, how do I make it work, without installing any more software?
Edit
It looks like my /etc/inittab
doesn't do anything at all.
Changing
1:2345:respawn:/sbin/getty 38400 tty1
to
1:2345:respawn:/sbin/getty -a bateman 38400 tty1
does not autologin (even after creating and adding myself to the group autologin
) (a wild stab from here), and commenting out
3:2345:respawn:/sbin/getty 38400 tty3
does not disable tty3
. What is going on?
/etc/inittab
(which is not necessary nor particularly useful for your initial question), you need to tell us whether your system is using systemd (the jessie default) or sysvinit. If you're using systemd, some or all of inittab may not be used — inittab it the configuration file for sysvinit. – Gilles 'SO- stop being evil' Apr 08 '15 at 19:14