The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Debian Linux Autostart Questions

bombardierbombardier Moderator Mod Emeritus
edited May 2007 in Help / Advice Forum
I'm setting up a Debian distro as a VMWare/VNC server. I installed KDE/KDM and vnc4server already and have those working fine, but when the computer starts it goes right into the KDE, rather than the command line.

1. How do I stop it from going straight to the KDE and rather just to a command line login?

2. How do I get vnc4server to autostart when the computer turns on?

bombardier on

Posts

  • Jimmy KingJimmy King Registered User regular
    edited May 2007
    1) In /etc/inittab you should see a line like so
    id:3:initdefault:

    But with a different number there. Change the number to 3.

    2) Read up on Sys V Init. It'll be something to do with all your rc.<whatever> and stuff directories. I'm a slackware guy, which uses BSD init, so I can't tell you how to deal with Sys V init from memory.

    Jimmy King on
  • bombardierbombardier Moderator Mod Emeritus
    edited May 2007
    Yeah, debian turned out to be a bit different. The runlevels 2-5 are apparently all the same, but I achieved the result I wanted by just commenting out the line in /etc/X11/default-display-manager.

    As for the autostart, there's a command 'update-rc.d' that makes links to whatever script you want in the init.d directory in each rcx directory.

    Thanks for that though, I was able to search for a proper solution with the id string you gave me. :^:

    bombardier on
  • Jimmy KingJimmy King Registered User regular
    edited May 2007
    runlevels 2-5 are all the same? Man, that's fucking weird. Even redhat leaves runlevel 3 as CLI only mult-user mode.

    Jimmy King on
Sign In or Register to comment.