Re: User looses access to DISPLAY

From: Kent West (westk_at_acu.edu)
Date: 11/06/03

  • Next message: Roberto Sanchez: "Re: setting hardware clock from NIST"
    Date: Wed, 05 Nov 2003 23:49:51 -0600
    To: debian-user@lists.debian.org
    
    

    Haines Brown wrote:
    > Finally bringing to conclusion my first debian (3.0r.1) install, I
    > ran aptitude update. When I subsequently rebooted, user cannot start
    > x, but root can.
    >
    > I reconfigured XF86Config-4 by running dpgk-reconfigure , using the
    > simple configuration, which worked before, and kept the same
    > values. But that did not help. There are a couple warnings in the
    > XF85config log (a set of fonts does not exist; can't open APM), but no
    > errors.
    >
    > When root runs # echo $DISPLAY, it returns: :0.0.
    > But when user runs $ echo $DISPLAY, there is nothing.
    >
    > I'm currently logged in as root, and in an xterm su to user to handle
    > my mail. I find that user can start emacs, but not other x
    > clients. The error returned when I try is that there is no display
    > name and no DISPLAY variable.
    >
    > I don't think I did anything that would affect authentification.
    >
    > Haines Brown
    >
    >

    Create a new user, and see if that user has the same problems.

    Also check
    enjae[westk]:/home/westk> sudo cat /etc/X11/Xwrapper.config
    Password:
    allowed_users=console
    nice_value=-10

    If the "allowed_users" is not "console", either change it, or better
    yet, run "dpkg-reconfigure xserver-common", which I believe will give
    you the option to change who can run the server.

    If I log in as a normal user into a text console (no X11) and run "echo
    $DISPLAY", I too get nothing displayed. I don't think the lack of having
    a display env-var set is a problem.

    -- 
    Kent
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roberto Sanchez: "Re: setting hardware clock from NIST"

    Relevant Pages

    • User looses access to DISPLAY
      ... Finally bringing to conclusion my first debian install, ... ran aptitude update. ... But when user runs $ echo $DISPLAY, ... I'm currently logged in as root, and in an xterm su to user to handle ...
      (Debian-User)
    • Re: Simple little basic config questions
      ... On Wed, 29 Oct 2003 at 18:34 GMT, Haines Brown penned: ... > I have more elementary configuration questions arising from my ... > transition from RedHat to debian. ... > $DISPLAY environment variable. ...
      (Debian-User)
    • Re: Simple little basic config questions
      ... On Thu, 30 Oct 2003, Haines Brown wrote: ... >> export DISPLAY ... authenticate yourself to the Xserver. ... Root as a key and each user does. ...
      (Debian-User)
    • Re: User looses access to DISPLAY
      ... >> ran aptitude update. ... >> x, but root can. ... > $DISPLAY", ... Haines Brown ...
      (Debian-User)
    • Re: User looses access to DISPLAY (resolved)
      ... >> ran aptitude update. ... >> start x, but root can. ... ~/.xsession from icewm to icewm-session, as I was advised to do, ... Haines Brown ...
      (Debian-User)