Results 1 to 7 of 7

Thread: Openbox dependency - xorg vs xinit

  1. #1
    Join Date
    Sep 2011
    Beans
    107

    Openbox dependency - xorg vs xinit

    Folks,

    I have built a minimal Ubuntu 12.10 system. Now, I need to install openbox on it. As I understand, I need to first install Xwindow system before installing openbox. I am confused if I should install package xorg or package xinit.

    There also seems to be another package called xorg-xinit.

    Although installing xorg seems to work, I am wondering if xinit or xorg-init is sufficient to start openbox.

    Thank you in advance for your help.

    Regards,
    Peter

  2. #2
    Join Date
    Feb 2010
    Location
    /UK/Cambridge
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Openbox dependency - xorg vs xinit

    The xorg package depends on the xinit package, at least in Raring.

    The xorg package is a metapackage that pulls in all the relevant X stuff.

    xinit is used to start xorg without a display manager (e.g. LightDM, GDM, KDM, SLiM). With xinit you start xorg from a tty by typing startx.
    The early bird gets the worm. . . But the second mouse gets the cheese, and the early worm gets eaten.
    Unwarranted Self Promotion

  3. #3
    Join Date
    Sep 2012
    Beans
    5,003

    Re: Openbox dependency - xorg vs xinit

    I say just go ahead and install it. You have xorg installed it should pull in any other needed packages. Are you using as DM?


  4. #4
    Join Date
    Sep 2011
    Beans
    107

    Re: Openbox dependency - xorg vs xinit

    Thank you all for your help.

    My intention is to keep my box as lightweight as possible. If xinit is lighter than xorg and the only difference is that I have to type "startx," looks like xinit is what I need. Is this right?

    I also am wondering if I need a DM to get Openbox to work.

    I guess I can ask my question in a slightly different way.

    On an Ubuntu minimal box that does not have any x-thing installed (xorg, xinit, etc.), if I just "apt-get install openbox," will it automatically pull in whatever x-thing is needed to make it run? I guess this would be the best way to go about doing it.

    Thank you in advance for your help.

    Regards,
    Peter

  5. #5
    Join Date
    Sep 2012
    Beans
    5,003

    Re: Openbox dependency - xorg vs xinit

    If you install "lightdm" it will pull in xorg.

    If you install "slim" you need to install xorg.

    Openbox is not a DM.


  6. #6
    Join Date
    Jul 2007
    Location
    Auckland, NZ
    Beans
    4,436
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Openbox dependency - xorg vs xinit

    My experience with installing openbox from a minimal install: you have to install xorg AND openbox. Installing openbox doesn't automatically pull xorg in as a dependency.

    Xinit is something separate. Unless it also installs xorg, it won't give you a graphical desktop. The main reason for installing it is so that one can use startx from a tty.

  7. #7
    Join Date
    Sep 2011
    Beans
    107

    Re: Openbox dependency - xorg vs xinit

    Thank you all for your help. Looks like I must always install xorg first before installing openbox.

    Regards,
    Peter

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
  •