Re: How to do X in sudo?
Re: How to do X in sudo?
- Subject: Re: How to do X in sudo?
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 26 Aug 2008 20:16:41 -0700
ssh -X -Y email@hidden
sudo nedit myfile.txt
Make sure your /etc/sudoers file on the remote host saves your DISPLAY
and whatnot:
Defaults env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY"
--Jeremy
On Aug 26, 2008, at 19:52, James Rome wrote:
I want to login to my Ubuntu machine and do X as root. But it does
not work:
jar@jarhp:~$ sudo su
[sudo] password for jar:
root@jarhp:/home/jar# cd /etc
root@jarhp:/etc# nedit wpa_supplicant.conf &
[1] 16270
root@jarhp:/etc# X11 connection rejected because of wrong
authentication.
NEdit: Can't open display
How do I solve this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden