Quote:
Originally Posted by blackhatdbl
OK,
lets do our bt4 pre-final to run the "startx" command
create a new text file on your desktop and name it "xstrup.sh"
open it wit a text editor and write:
and save it.
then open a terminal.Run the following commands:
Code:
cd
chmod +x xstrup.sh
sudo cp xstrup.sh /etc/init.d/
DONE!!!
|
Done? are you sure? Did you forget all about /etc/init.d/skel and update-rc.d?
Quote:
Originally Posted by darkdog8157
Or maybe change the default runlevel to 4
/etc/inittab:
id:4:initdefault:
This will start kdm what you can configure from kde to log on automatically as a specified user
|
In Debian based distros there is no default run level for graphical mode unlike some others.
For more information about runlevels in Debian:
An introduction to run-levels
The preferred method of getting xserver to boot on startup is via the installation of a graphical display manager.
Code:
# aptitude install kdm
The postinst script of the package will automatically add it to the default runlevel.