Results 1 to 8 of 8

Thread: Doubt on fglxinfo

  1. #1
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default Doubt on fglxinfo

    is this supposed to work like this?
    Im under Opensuse 11.1 x86_64, XFCE. ATI Hd2600XT


    Code:
    dhcppc0:/home/gabriel # glxinfo|grep OpenGL
    Error: unable to open display (null)
    dhcppc0:/home/gabriel # glxinfo|grep Direct
    Error: unable to open display (null)
    also
    Code:
    dhcppc0:/home/gabriel # glxgears
    glxgears: Error: couldn't open display '(null)'

  2. #2
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default Re: Doubt on fglxinfo

    Forgot to mention, driver G02 from ATI repository, 8.650

  3. #3

    Default Re: Doubt on fglxinfo

    Do _not_ use any of those tools as root but always as the user actually logged into the GUI session.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,728

    Default Re: Doubt on fglxinfo

    You are apparently loged in as root. Just run it from a console as the normal user.

    When it worls and you nevertheless want an explanation, come back here and ask.

    Edi: Aaargh, one minute to late.
    Henk van Velden

  5. #5
    Join Date
    Oct 2008
    Location
    Santiago, Chile
    Posts
    655

    Default Re: Doubt on fglxinfo

    heh, stupid of me.

    It would be great to hear a simple explanation of why root user cant view this commands.

    Thanks !

  6. #6

    Default Re: Doubt on fglxinfo

    Because the X-session display does not belong to root (see error message).

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,728

    Default Re: Doubt on fglxinfo

    And root can not simply use your xsession (DISPLAY) when you do not:
    1) tell it which DISPLAY to use (remember Unix/Linux is a multi user OS so there might be more sessions running at the same time) with a DISPLAY= setting of the environment variable, and
    2) allow root to attach to your xsession with the xhost tool (read man xhost, even root can not do everything).

    But as Akoellh allready explained, it is your session, so you can do it yourself. No need for root. And when no need for root ......., yes then do not use root.
    Henk van Velden

  8. #8

    Default Re: Doubt on fglxinfo

    Quote Originally Posted by hcvv View Post
    And when no need for root ......., yes then do not use root.
    One of the "all time favorite" basic rules for _any_ *NIX-type OS.

Posting Permissions

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