Starting the Xserver automatically
While playing around, I noticed that the /etc/inittab is missing.
The reason for that is that Ubuntu is using Upstart instead of the Sys-V Init.
In order to change the default runlevel you have to:
- (fix the apt key for launchpad if necessary) thanks to secure_it
- apt-get install kdm
- vi /etc/kde4/kdm/kdmrc
- change the line AllowRootLogin=false to AllowRootLogin=true
- save and exit
- vi /etc/event.d/rc-default
- change the two occurences of telinit 2 to telinit 3
- save and exit
I just tried this out on a fresh download of BT4. It definitely reboots into rc3, but the XServer still doesn't start (pre or post auth).
Did you make other changes to get X into rc3 or am I just messing something else up?
Added the installation of kdm. Then it is working.
Sorry have been customizing my installation quite a lot. Tried it out yesterday with a fresh image and it worked after installing kdm. I added the steps in the list above.
works great, except it wont allow root logins. hmm.
Gna, ok, one more thing to add. Sorry I am just forgetting about the minor details
Just getting a out of the box VM up and running with BT4. Give me half an hour and I'll add it to the guide.
Basically the allowrootlogin has to be set to true in the kdmrc.
Edit: Added the fix. Thanks for pointing it out.
Just wanted to say: I tried this. and after installing kdm it completely messed up everything forcing me to reinstall bt4.. Luckily ive taken notes on some critical things and it didnt take me days like first time.
But so far it doesnt start up the kde at boot.
Perhaps it would be an idea to make tutorial for the runlevels and how to add things. (just figured that would be a place where people would mess around with it mostly.. especially those not seasoned in linux)
Well I just took a fresh out of the box VMWare BT4 release and followed the guide. Working like a charme.
Maybe you did an apt-get upgrade? That will break KDE atm and is not related to kdm only.
I've checked out the runlevel stuff and basically you can still do it in the old fashioned way with the /etc/rcX.d.
Edit: For instance to get the network automatically started a simple link in /etc/rc2.d to /etc/init.d/networking is sufficient
- ln -s /etc/init.d/networking S13networking
well i try this tutorial, is great, but there is some way to enter X server with auto-login?
i just don't like kdm, remember me kde4 >(
Yup there is an option in the Control Panel -> Login Manager -> Convenience.
I hope that you will be able to figure it out from there on