[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: User looses access to DISPLAY



> From: Kent West <westk@acu.edu>
> 
> 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.
 
> Create a new user, and see if that user has the same problems.

The new user does not have the problem.
 
> Also check
> enjae[westk]:/home/westk> sudo cat /etc/X11/Xwrapper.config
> Password:
> allowed_users=console
> nice_value=-10

The above is what I have. allowed_users is console.

> > When root runs # echo $DISPLAY, it returns: :0.0.
> > But when user runs $ echo $DISPLAY, there is nothing.
> 
> 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.

OK, but I don't understand. Is the value of DISPLAY in the environment
of root all the time except when a user acquires it by starting X?

Haines Brown



Reply to: