OK - this is useful.
I asked you to do a
to determine what
runlevel your system was at. Different runlevels specify what programs should/should not be running. In
Debian linux the
default runlevel for a multi-user system with networking and a gui/desktop is
runlevel 2.
(In many other Unix's the Gui would not be turned on unless you were at runlevel 5)
So the command suggested by 62chevy was a good idea because
Code:
ls -l /etc/rc2.d | grep gdm
tells us whether there is the script to run/invoke gdm in the directory that contains all the scripts that should be invoked when we enter/exit runlevel 2.
(runlevel 3 scripts are in /etc/rc3.d. runlevel 4 in rc4.d etc.)
The actual original script lives in /etc/init.d and a link to it is placed in the appropriate runlevel directory by the
update-rc.d script as suggested by 62chevy.
When you run this script to enter/add a new script to a runlevel - it places the links in the appropriate directory. It makes 2 links. One link is for starting - when we first enter/change to that runlevel and one is for stopping when we exit from that runlevel.
The link that is created is your scriptname (in this case
gdm3) prefixed with Sxx or Kxx.
Where
"S" is for Starting (entering) the runlevel
"K" is for Stopping (leaving) the runlevel
"xx" is 2 digits as invented by the update-rc.d script indicating the order
in which the scripts will be run. Lower numbered scripts run first.
So - the fact that
you only have a "K01gdm3" means that
when entering runlevel 2 - gdm3 will not run.
So thanks to chevy69 - you should now run the update-rc.d script. The commands that should work are
Code:
update-rc.d -f gdm3 remove
update-rc.d gdm3 defaults
The first command forces removal of the links. In theory the "K01gdm3" should not be living in /etc/rc2.d because (according to the manual)
Quote:
If defaults is used then update-rc.d will make links to start the service in runlevels 2345 and to stop the service in runlevels 016 unless an LSB-style header is present in the init.d script and the /etc/update-rc.d-lsbparse file exist.
|
The second command installs the defaults.
Then
check that there are 2 entries in the rc2.d folder by re-running
Code:
ls -l /etc/rc2.d | grep gdm
If "yes" - then you should be good to go.
Dave
If I have helped - can you "click my rep" and indicate that I have done so.