[ALUG] How to override X security to run a remote network-admin?
Chris G
cl at isbd.net
Fri Jan 23 13:00:12 GMT 2009
I'm trying to run network-admin on a remote[ish] system on my LAN.
I.e. I'm using ssh to connect from my desktop machine to another
machine on the LAN (same subnet) and I want to run network-admin on
that machine.
Whatever I do to relax X security I still get:-
root at garage:/home/chris# network-admin
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
(network-admin:9918): Gtk-WARNING **: cannot open display: localhost:10.0
I have connected to the garage system using both 'ssh -X' and 'ssh -Y'
and I have done 'xhosts +' on the desktop system so that *any* X
connection should be allowed. I'm still getting the above error.
What do I need to do?
Ah, a little further information, I can run network-admin as the
non-root user on the remote system with the display on the desktop
system. However it's no use because the 'Unlock' button is greyed out.
What's the command line equivalent to network-admin? I know it's not
a single program, I just want to 'un static IP' the remote system and
the easiest way was (except for the above problem) to run
network-admin. What files do I need to edit to undo the static setup?
OK, I can find out myself really by looking at an un-static system.
--
Chris Green
More information about the main
mailing list