Find the answer to your Linux question:
Results 1 to 8 of 8
I'm having a terrible time with installing debian today. I just installed debian from 2 DVDs + I had it install GRUB boot loader, ran it, and told it to ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    17

    Debian Installation Troubles

    I'm having a terrible time with installing debian today.

    I just installed debian from 2 DVDs + I had it install GRUB boot loader, ran it, and told it to install a desktop environment when it asked to install packages. Not only did it never go back to that package selection page (I wanted to install the web server package too) but it restarted, didn't load up GRUB boot loader, and now I'm in the command line. I want to install KDE, and preferably have GRUB install the web server package with apache and everything.

    So, my questions:

    1 - If it installed correctly, either KDE or Gnome should be available. How would I run them from the command prompt? (I have basic knowledge of the command prompt, folder navigation, etc., and I have root access)

    2 - If KDE and Gnome aren't installed, how would I install them from my DVDs?

    Thank you in advance for any assistance you can provide.

  2. #2
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    180
    Have you tried
    Code:
    startx
    ?

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    17
    yes, I've tried that - it's says "command not found" both when I'm logged in as root and when I'm not

  4. #4
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    180
    Yeah I think you're right that it didn't install a desktop environment for you. You don't have to reinstall though. As root go

    Code:
    apt-get install xserver-xorg
    And then apt-get install gnome, kde or whatever floats your boat. Just to be safe you will also need to make sure that after you do that you have either gdm or kdm, so it doesn't hurt to go apt-get install gdm or apt-get install kdm.

    And then you will need to configure xorg, and you have to edit your .xinitrc file to startup the desktop environment that you want. After you've done all that startx should work.

    If it says apt-get not found then just go ahead and reinstall!

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    17
    Thanks a ton! That was exactly what I was looking for!

    Then, after installing, to configure xorg, I just use "xorgconfig", but what do I have to do do configure the .xinitrc file?

    UPDATE:

    I installed xserver, kdm, and kde, but "xorgconfig" and "startx" both give me "command not found"

    Do i have to restart or something?

    UPDATE:

    Okay, I think I have most stuff configured, but it keeps complaining that $DESKTOP isn't set. What should this be set to?

  6. #6
    Just Joined!
    Join Date
    Nov 2006
    Posts
    17
    Nevermind.

    But, how do I change back and forth between installed interfaces, kde and gnome? Can I decide which one I want each time i boot up?

    EDIT:

    Nevermind again. =D

    I figured everything out.

  7. #7
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    180
    Edit /etc/inittab to have the runlevel be X11, usually 4 or 5. Then you will be greated with either the kdm or the gdm login window and you can choose what desktop environment you want to login there.

  8. #8
    Just Joined!
    Join Date
    Nov 2006
    Posts
    17
    Oh, yea, I didn't see your post - thanks, though! I definitely need all the help I can get. =D

Posting Permissions

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