Quoting Robert McWilliam <[EMAIL PROTECTED]>: > On Wed, 20 Jun 2007 13:24:55 +0100 > Matthew Macdonald-Wallace <[EMAIL PROTECTED]> wrote: >> Quoting Robert McWilliam <[EMAIL PROTECTED]>: >> > xhost +local: >> >> In theory, you shouldn't need to do even this, the gksudo command >> should work without needing to open up X to local connections. > > Doesn't work here: > > [EMAIL PROTECTED]:~$ xhost -local: > non-network local connections being removed from access control list > [EMAIL PROTECTED]:~$ gksudo -u st firefox > Xlib: No protocol specified > > > (firefox-bin:26170): Gtk-WARNING **: cannot open display: > [EMAIL PROTECTED]:~$ xhost +local: > non-network local connections being added to access control list > [EMAIL PROTECTED]:~$ gksudo -u st firefox > [EMAIL PROTECTED]:~$ > > firefox started the second time.
Yeah, it will. There's no need to run xhost -local before running gksudo, this will lcok the system out (as demonstrated effectively above!) M. -- Matthew Macdonald-Wallace Group Co-Ordinator Thanet Linux User Group http://www.thanet.lug.org.uk/ [EMAIL PROTECTED] GPG KEY: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFEA1BC16 -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
