Find the answer to your Linux question:
Results 1 to 5 of 5
I have debian 4.0 business card install installed in qemu on my computer. Ive installed xfce and everything works perfect. Except when i log in i have to type in ...
  1. #1
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229

    making "startx" run on startup

    I have debian 4.0 business card install installed in qemu on my computer.
    Ive installed xfce and everything works perfect.
    Except when i log in i have to type in
    Code:
    startx
    I know theres a way to add it to the startup script ,or whatever its called,
    but i just dont know how.
    Thanks
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    hi

    check the default runlevel in the /etc/inittab file of your debian installation ,probably it is 2.

    then you must make a symlink into on of the /etc/rcX.d directory
    X means the run level wich you have find out.

    I'm not sure but i guess xfce uses xdm desktop manager.

    So.

    Look for this line
    Code:
    # The default runlevel.
    id:2:initdefault:
    making symlink
    Code:
    ln -s /etc/init.d/xdm /etc/rc2.d/S99xdm

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    You need to install a login manager e.g. gdm and then do
    Code:
    #update-rc.d gdm defaults
    Your system will then automatically start X at bootup.

  4. #4
    Linux Newbie thesimplecreator's Avatar
    Join Date
    Jun 2007
    Location
    washington , USA
    Posts
    229
    thank you guys,
    I tried daark.child's idea and it worked perfect.
    Microsoft isn't evil, they just make really crappy operating systems.
    Linus Torvalds

    Personal and politically centrist blog.--->
    http://www.deathnerd.com

  5. #5
    Just Joined! geniuz's Avatar
    Join Date
    Mar 2008
    Location
    Netherlands, Europe
    Posts
    71
    Yes, indeed the only to achieve running x on startup is to have a login manager installed, however, when installing gdm you will end up with a lot of gnome-libraries you probably don't need when you use xfce or kde for example, in that case I would rather recommend slim...a very lightweigt login manager

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •