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

Re: Diety / Apt Questions.

Hi! I've been looking for a way to run root stuff under X!
I tried doing what you said and su'ing to root, and then export DISPLAY=:0
Then when I start anything X it says:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

I'm not sure what you mean by "whatever I run X on", but when I try other
numbers besides 0, it says:
_X11TransSocketUNIXConnect: Can't connect: errno = 2

Any ideas / explanation of what is going on here?

Thanks Alot!

On 02-May-98 Shaleh wrote:
> Any time you log in as a user different than the one who owns the X
> session you have to set the variable DISPLAY.  so next time you su to
> root simply: export DISPLAY=:0 or whatever you run your X on.

E-Mail: hospedales@wow.net
Date: 02-May-98
Time: 16:13:00

This message was sent by XFMail.
Powered by GNU/Linux 2.0.

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

Reply to: