Fwd: sudo and X11 on Digital Unix?

George Meharry II gmeharry at yahoo.com
Mon Sep 11 07:17:55 EDT 2000


It's probably complaining about not being able to open
the DISPLAY ...

Try spawning the gui from a sub-shell ...

sudo /bin/csh -c "(setenv DISPLAY machine:0.0; gui)"

I've put this into a semi-generic (I say semi-generic
because my machine is "hard-coded") alias...

rmtXsudo        sudo /bin/csh -c "(setenv DISPLAY
auu-70:0.0; !*)"

This should do the trick.


Note: forwarded message attached.


=====
BEGIN:VCARD
N:Meharry II;George Lewis
TITLE:Infrastructure Analyst
EMAIL;INTERNET:GMeharry at yahoo.com
TEL;WORK:(317) 230-6176
TEL;FAX;WORK:(317) 230-8733
END:VCARD

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
-------------- next part --------------
An embedded message was scrubbed...
From: "Riggs, Joan" <JRiggs at kls.usaka.smdc.army.mil>
Subject: sudo and X11 on Digital Unix?
Date: Mon, 11 Sep 2000 14:53:37 +1200
Size: 3142
URL: </pipermail/sudo-users/attachments/20000911/fa7b6d14/attachment.mht>


More information about the sudo-users mailing list