Re: How do you use su under X?
I use Xnest:
Xnest -query <hostname> :1 -geometry <width>x<height> &
This brings up an xdm login - login as root, perform your task, quit,
close the window.
Easy as abc. Works on my 486 Dx100 w/ 24MB ram and 1mb video!
>Date: Mon, 16 Nov 1998 09:26:28 -0700
>From: Chip Grandits <chipg@frii.com>
>To: Debianonians <debian-user@lists.debian.org>
>Subject: How do you use su under X?
>
>As has been strongly encouraged, I spend most of my time on my linux
box as a
>mortal user.
>Every once in a while I need to go 'root-in' around some system files
to set up
>a new application
>that I've downloaded (or for whatever reason?).
>Sure I can type
>$ su root
>at the promt and become root
>but I cannot use the x-server - any attempts result in a message
>
>Xlib: connection to :0.0 refused by server
>Xlib: Invalid MIT-MAGIC-COOKIE-1 key
>...
>Also use xhost program...
>
>Imagine my horror to find I have an invalid magic cookie! Do I really
have to
>use xhost in order
>to use an xwindows session started by another user?
>-Chip Grandits
>
>
>
>--
>Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org
< /dev/null
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Reply to: