Announcement

Collapse
No announcement yet.

{SOLVED} How do I install the xserver-org package??

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    {SOLVED} How do I install the xserver-org package??

    Imagine my surprise to find that xserver-org is not installed on my working system.
    The package description for xserver-org sez:
    "This package depends on the full suite of the server and drivers for the X.Org X server. It does not provide the actual server itself."
    And then promptly DOES NOT state just what package does supply the actual server itself -- what gives?
    Here's a list of X11-related packages installed on my system:

    xorg install
    xorg-docs-core install
    xsane install
    xsane-common install
    xscreensaver install
    xscreensaver-data install
    xscreensaver-gl install
    xserver-common install
    xserver-xorg install
    xserver-xorg-core install
    xserver-xorg-input-all install
    xserver-xorg-input-evdev install
    xserver-xorg-input-mouse install
    xserver-xorg-input-synaptics install
    xserver-xorg-input-vmmouse install
    xserver-xorg-input-wacom install
    xserver-xorg-video-all install
    xserver-xorg-video-apm install
    xserver-xorg-video-ark install
    xserver-xorg-video-ati install
    xserver-xorg-video-chips install
    xserver-xorg-video-cirrus install
    xserver-xorg-video-fbdev install
    xserver-xorg-video-geode install
    xserver-xorg-video-i128 install
    xserver-xorg-video-i740 install
    xserver-xorg-video-intel install
    xserver-xorg-video-mach64 install
    xserver-xorg-video-mga install
    xserver-xorg-video-neomagic install
    xserver-xorg-video-nv install
    xserver-xorg-video-openchrome install
    xserver-xorg-video-r128 install
    xserver-xorg-video-radeon install
    xserver-xorg-video-radeonhd install
    xserver-xorg-video-radeonhd-dbg install
    xserver-xorg-video-rendition install
    xserver-xorg-video-s3 install
    xserver-xorg-video-s3virge install
    xserver-xorg-video-savage install
    xserver-xorg-video-siliconmotion install
    xserver-xorg-video-sis install
    xserver-xorg-video-sisusb install
    xserver-xorg-video-tdfx install
    xserver-xorg-video-trident install
    xserver-xorg-video-tseng install
    xserver-xorg-video-v4l install
    xserver-xorg-video-vesa install
    xserver-xorg-video-vmware install
    xserver-xorg-video-voodoo install
    xterm install
    xtrans-dev install

    If none of these "xserver-org" packages are the real xserver, then where is it and how is my system
    even working without /etc/X11/xorg.conf being present?


    I found this problem(?) when attempting to run glxinfo which bombs out with:
    "No protocol specified
    Error: unable to open display :0
    "


    #2
    Re: How do I install the xserver-org package??

    Originally posted by stychokiller
    If none of these "xserver-org" packages are the real xserver, then where is it and
    The server binary is in xserver-xorg-core package (which should be installed on your system). xserver-xorg is a metapackage that depends on the various packages that make up the X server, so you can easily install them with just installing the metapackage 'xserver-xorg'.

    how is my system even working without /etc/X11/xorg.conf being present?
    Newer xserver versions don't need a xorg.conf file anymore (it relies on hal automagiks for hardware recognition and configuration), you can still create a xorg.conf file it the automatic configuration doesn't work for you for some reason (although you can make the changes directly to hal, as well).

    I found this problem(?) when attempting to run glxinfo which bombs out with:
    "No protocol specified
    Error: unable to open display :0"
    Is the xserver running?

    Comment


      #3
      Re: How do I install the xserver-org package??

      alright smart guy how do get the xserver running?

      Comment


        #4
        Re: How do I install the xserver-org package??

        Originally posted by stychokiller
        alright smart guy how do get the xserver running?
        If you have xserver-xorg installed, it should start automatically. If it doesn't, there might be a problem. You can try starting kdm manually (kdm will start the xserver as well) by running 'sudo service kdm start'

        Comment


          #5
          Re: How do I install the xserver-org package??

          system reports that kdm is already running, which stands to reason, since I'm currently using firefox
          to access this forum.

          /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-mHYEa1
          -:0 (also present according to ps ax)


          is how the OS starts xserver, no?

          Comment


            #6
            Re: How do I install the xserver-org package??

            Originally posted by stychokiller
            system reports that kdm is already running, which stands to reason, since I'm currently using firefox
            to access this forum.

            /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-mHYEa1
            -:0 (also present according to ps ax)


            is how the OS starts xserver, no?
            Yes, it's running. You basically only need xserver-xorg-core + necessary drivers for your hardware for x server to start/work, xserver-xorg metapackage only makes sure all xorg driver packages are installed (of course one does not need all display drivers, for example)

            "No protocol specified Error: unable to open display :0"
            You still get this even with x server running?
            Any other problems with your X configuration (if the system works in general)?

            Comment


              #7
              Re: How do I install the xserver-org package??

              taking a dare, I ran xhost --help and
              received the same error message (No protocol specified
              Error: unable to open display :0
              ).

              I have tried to change the behavior of the Right-Alt key which is defaulted to
              Key to choose 3rd level (whatever that means) in the Keyboard
              Layout - System Settings (Advanced), so that it can be used in conjunction with
              the left-arrow key as a back page key in firefox (just like Left_Alt-Left_arrow does),
              but even after rebooting KDE refuses to recognize the change.
              Apparently, there is some sort of problem with X11, I just don't know what it is.
              Later, I plan on getting rid of the non-used xserver-xorg files that dont pertain to
              the Radeon X1950 graphics cards installed in the system -- but I do not want to
              create more problems until this xserver issue is fixed.

              I appreciate your help on this -- me and X11 don't get along too well -- the X11
              system is too mind-numbingly complex to be believed. I wish they would mandate that
              all X11 configuration files be located in one place and follow one kind of format.

              Comment


                #8
                Re: How do I install the xserver-org package??

                This just in -- If I switch to another user acct, I can run glxinfo and glxgears with
                no problems (other than the frame rate being a factor of 10 slower than it was
                when I was running with gentoo Linux and the Proprietary Ati drivers for the grahpics
                card). Kinda makes sense since the other user acct will generate a new display of :1
                then the user logs in.

                Comment


                  #9
                  Re: How do I install the xserver-org package??

                  Originally posted by stychokiller
                  taking a dare, I ran xhost --help and
                  received the same error message (No protocol specified
                  Error: unable to open display :0
                  ).
                  You probably want to run 'xhost -help', I think xhost --help will try to do something else, but the error you're getting suggests there is definitely something amiss. You're running the commands as a user (as in not from a root shell)?

                  have tried to change the behavior of the Right-Alt key which is defaulted to
                  Key to choose 3rd level (whatever that means) in the Keyboard
                  Layout - System Settings (Advanced)
                  Did you try enabling "reset old settings" and "Right Alt will never change to 3rd level" (from 3rd level chooser options) in the advanced xkb settings dialog. (3rd level keymap is mostly used by international users/keyboards to produce special letters).

                  If I switch to another user acct, I can run glxinfo and glxgears
                  Hmm...baffling, I'll have to get back to you on that :P

                  I was running with gentoo Linux and the Proprietary Ati drivers for the grahpics
                  card
                  are you using fglrx (propietary ATI drivers) with your current kubuntu installation as well?

                  Comment


                    #10
                    Re: How do I install the xserver-org package??

                    Originally posted by kubicle
                    If I switch to another user acct, I can run glxinfo and glxgears
                    Hmm...baffling, I'll have to get back to you on that :P
                    To narrow it down, could you log the latter user into :0 and the former user into :1 (this should tell us if the problem is connected to a particular user or to a specific display [:0])

                    Comment


                      #11
                      Re: How do I install the xserver-org package??

                      Apparently xserver commands are verboten to root shells, sorry about that.
                      I got the right_alt key up also, thanks for your help.
                      I'm not currently running the proprietary Ati driver. The only reason I would have for
                      doing so is to speed up the frame rate. glxgears now reports a frame rate of over 21000
                      frames (avg), which is phenomenal, since the most I was getting under gentoo Linux with the
                      proprietary Ati driver was 11000. Apparently, someone improved the open-source Ati driver
                      because the most I was getting before was around 4700.

                      As you stated previously, hal is setting up the display, among other things. If I were crazy
                      enough (or needed it), how does one go about telling the system to use the settings in xorg.conf?
                      Is it as simple as just creating xorg.conf?

                      I know how to create a default one (from X -configure).
                      Also, how do I mark this thread as SOLVED??

                      Comment


                        #12
                        Re: How do I install the xserver-org package??

                        Originally posted by stychokiller
                        Apparently xserver commands are verboten to root shells, sorry about that.
                        Yes, the x server does not allow connections from root by the default. It is possible (but usually not necessary) to work around that by, for example, using xhost (as a user) or sux (an X wrapper for su) or tinkering with root's $XAUTHORITY variable.

                        Originally posted by stychokiller
                        Apparently, someone improved the open-source Ati driver because the most I was getting before was around 4700.
                        There is definitely a lot of development effort going into the radeon drivers nowadays.

                        Originally posted by stychokiller
                        As you stated previously, hal is setting up the display, among other things. If I were crazy
                        enough (or needed it), how does one go about telling the system to use the settings in xorg.conf?
                        Is it as simple as just creating xorg.conf?
                        Yes and no. Any display settings/options should be read automagically from xorg.conf (if one exists), but settings for input devices (mice/keyboard) are ignored IIRC.

                        Originally posted by stychokiller
                        Also, how do I mark this thread as SOLVED??
                        Editing the title of your first post should do it (it would be nice to have a "solved" button, though)

                        Comment


                          #13
                          Re: {SOLVED} How do I install the xserver-org package??

                          I knew about the root prohibitions re X11, however its kinda counterintuitive when you expect to be able
                          to do everything when logged in as root. The only reason I have root enabled is this is a fresh install and
                          lots of files have to be moved in from my previous setup and it gets tedious dealing with sudo and constant requests for passwords. Once the system is close to the way I want it, the root acct will see only rare usage. So, in the meantime, time to get into setting up tightVNC (or its equivalent) and getting other PCs
                          to communicate with the allspark (see http://www.frontiernet.net/~jimbot/allsparkproject.htm for pix of the allspark).

                          Comment

                          Working...
                          X