Results 1 to 7 of 7

Thread: Installing a GUI

  1. #1
    Join Date
    Dec 2011
    Beans
    9

    Installing a GUI

    Hi there.

    I've been trying to produce my own linux thing. Therefore i used minimalCD, installed it with the bare minimum and, from there, started to build the "distro" if you allow me to say so.

    Now, I got to a point where i want to add a GUI to it, and that that GUI gets initiated automatically, but i can't seem to get it working.

    I thought I only needed to sudo apt-get install "chosen gui", reboot and that's it. Wrong.

    I tried Enlightenment and Fluxbox and i could only go to the GUI after a startx in the command prompt.

    What am i missing? (ubuntu desktop is a no go since it's too big and i'm doing this to install in a 6+ years old computer).

    Thanks for your input.

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Installing a GUI

    A diplay manager is needed if you don't want to startx manually. The Light Display Manager (LightDM)


  3. #3
    Join Date
    Aug 2011
    Beans
    1

    Re: Installing a GUI

    You need something like GDM or one of the other Display Managers see: http://en.wikipedia.org/wiki/X_display_manager_%28program_type%29#Some_implemen tations

  4. #4
    Join Date
    Dec 2011
    Beans
    9

    Re: Installing a GUI

    Thanks fellas.

    Will try it first thing in the morning.

  5. #5
    Join Date
    Apr 2008
    Location
    home
    Beans
    147
    Distro
    Ubuntu

    Re: Installing a GUI

    There are several ways to start a window manager : if you want a fancy one, look at tutoriels of distro wich are build by hand like archlinux and gentoo.

    One of the easiest way is to install a "login manager" like GDM (gnome) or KDM (kde).

    Another way is to just add a line in your .bashrc file. Append the "startx" command at the end of the file. (or "startx &" at beginning). But this method has several disadventages. First this file is executed each time you start a terminal (tty or gnome-terminal, etc.). So if your GUI is already started, this will generate a error but nothing more. If you don't use the terminal a lot, this will not be significant. Another disadventage is it will be harder to mount USB keys or similar filesystems.

    So the best will be just install gdm or kdm or any other taste and you'll be fine.

  6. #6
    Join Date
    Jul 2011
    Location
    /dev/sda1
    Beans
    352
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing a GUI

    Since in Arch you start with a minimal install, the Arch Wiki is useful for setting up stuff such as X and a desktop environment.

  7. #7
    Join Date
    Apr 2008
    Location
    home
    Beans
    147
    Distro
    Ubuntu

Bookmarks

Posting Permissions

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