I totally misunderstood you. The route you take is the route I was suggesting. Instead of getting a root shell, have you just tried: su - root -c "whatever" ? Also if it's something you do on a regular basis, you could always smack together a script instead of dealing with typing the quotes and all. I start up gui tools that require root like this, a lot. "xhost +" removes all X auth problems, except MIT cookie items I believe. Others may be able to elaborate on that. --Dan On 11/28/06, Dazed_75 wrote: > Either I am missing something or I am not being clear to you. 95+% of the > time I simply use sudo or gksudo to do things needing root permissions. I am > happy to do so and do not mind having to enter my password. > > The other 5-% of the time just having to add the sudo and sometimes (I don't > always know why) having to quote parts of the command line is just plain > irritating. I "su -" and enter roots password and go on my merry way > KNOWING that I need to excercise extra caution but not having to take extra > steps to do my work. During those times it would sometimes be handy to use > tools available via the gui desktop without having to spend 20-30 minutes > finding out HOW to do so since they are tools I do not know how to run from > the command line. > > I think I should be able to do that without removing the need to use a > password with sudo. I further think someone was on the right track earlier > with xhost but I suspect that is only part of the solution. But then I am > probably just wrong. -- "Courage is like love; it must have hope to nourish it." -Napoleon Bonaparte --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss