Re: How to do X in sudo?
Re: How to do X in sudo?
- Subject: Re: How to do X in sudo?
- From: Itai Seggev <email@hidden>
- Date: Thu, 28 Aug 2008 10:53:00 -0500
On Thu, Aug 28, 2008 at 08:19:17AM -0400, James Rome wrote:
> sudo nedit file.txt did work. But I much prefer to do sudo su and run in
> the root window for administration. Why does that not work?
By default, su discards the environment. This means, in particular, that the
xauthority can longer before, preventing access. Adding -p ("preserve
environment") should fix this:
sudo su -p
--
Itai
Itai Seggev, Knox College, Mathematics Department
In 1997 a group of programmers started writing a desktop environment to fix a
travesty they didn't create. Their program promptly found its way onto un*x
systems everywhere. Today, still opposed by a software monopolist, they survive
as soldiers of fortune. If you share their vision, if you know you can help,
and if you can connect to internet, maybe you can join... the K-Team.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden