hi:
i'm trying run gedit different user in order create configuration files. used following command:
but following error message:code:sudo -u www-data gedit syntax.php
i can run terminal programs fine using above command. value of $display ":0.0", believe correct. issuing command "xhost +" (to turn off authentication) didn't help.code:no protocol specified (gedit:5152): gtk-warning **: cannot open display: :0.0
cheers,
lk
try using gksudo, may set display variables application you're trying start.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Run a graphical program as a different user
Ubuntu
Comments
Post a Comment