having set a machine up to be physically inaccessible, then networking is of prime importance.
I have a machine, which I put a clean install of 10.04, Lucid on. And then installed the X2go NX server component.
Connecting in, using the X2Go client, revealed an irritating situation. For some reason, the nm-applet which lives in the top panel was missing.
For anyone who has this problem, IGNORE ANY OTHER ADVICE. It won't work. Here's the scoop.
I managed to get a temporary fix by running :
in a terminal. Sure enough, the applet would pop up. However, you then discover, that you can't edit any connections. Now I fixed this before, in 9:10 this way. REMEMBER THIS LINK, YOU WILL NEED IT.
sudo nm-applet --sm-disable
However this is not really the best fix.
So, I dug further.
It seems that the presence of the nm-applet is controlled by ConsoleKit, whatever that is. And logging in from the NX protocol manages to not load consolekit into your session. So:
STEP 1: Run ConsoleKit on startup
you need this line in ~/.xinitrc (that's in your home dir)
I didn't have that file, and needed to create it.
exec ck-launch-session dbus-launch gnome-session
You need to tell NetworkManager and nm-applet to submit to consolekit
in /etc/dbus-1/system.d/NetworkManager.conf you need to insert the following section. Replace ###### with your username:
a similar edit is needed in /etc/dbus-1/system.d/nm-applet.conf:
If you have got this far, a logout and log in should demonstrate that the nm-applet is now showing.
Don't get too excited. You can't actually edit connections.
You now need to add this instance of nm-applet to Polkit. First off, follow the instructions in the thread referred to above. Here's a reminder : link
then, you need to create a file:
and add the following, again ###### = your user name:
logout, login, and you'll find the nm-applet is there *AND* you can edit connections.
This took me 4 hours of experimenting, and googling. Considering my experience of Linux is approaching zero, I feel rightly chuffed with myself. I hope this helps anyone who has had the same frustrations as me.