D&R wrote: > On Sat, 28 Apr 2018 06:15:08 -0400 > Tom H <tomh0665@xxxxxxxxx> wrote: > >> On Fri, Apr 27, 2018 at 5:41 PM, Samuel Sieb <samuel@xxxxxxxx> wrote: >>> On 04/27/2018 07:26 AM, D&R wrote: >>>> On Fri, 27 Apr 2018 08:22:12 -0400 >>>> Tom H <tomh0665@xxxxxxxxx> wrote: >>>>> >>>>> sudo -s >>>>> sudo su >>>>> sudo su -l >>>>> sudo sh >>>>> sudo sh -l >>>>> sudo bash -l >>>>> ... >>>> >>>> None of the sudo commands listed allow you to run a graphical program ie. >>>> meld. Is there some way to do that? >>> > sudo su - is not on the above list so > I tried sudo su - > I was able to run meld without any apparent problems. "sudo su -" is equivalent to "sudo su -l". You could just run "sudo meld ..." as well. But running graphical apps as root is discouraged for many reasons. It would be better to use sudo to copy the files you want to work with and then run meld as a regular user. For a non-graphical app, vimdiff is an alternative (though it comes with the cost of learning another tool). -- Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cogito cogito ergo cogito sum -- I think that I think, therefore I think that I am. -- Ambrose Bierce, "The Devil's Dictionary"
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx