Wednesday, August 26, 2009

Unlock button greyed out in Ubuntu menu with remote SSH VNC Connection

After I setup a Ubuntu server somewhere, I decided to use VNC via SSH tunnel for getting its nice GUI back. However, each time I click to open Program from menu item, the "Unlock" button is always greyed out. After googling for a few articles about this, I found a solution which was working on Hardy server. Amazingly, it works on Jaunty server as well!

1. After I logon with SSH client and open VNC client sucessfully. I type this in terminal window:



Then the polkit-authorization dialog box appears.

2. In the left pane, navigate to freedesktop->systemtoolsbackends->Manage System Configuration. In the right pane, click "Edit" button under Implicit Authorizations. Edit Implicit Authorizations dialog box will appear.

3. In Edit Implicit Authorizations dialog box, assgin Anyone with Admin Authentication.

4. Click Modify button to confirm and then Close button to exit.

5. Reboot the server and try login again via SSH and then open VNC client to come back to GUI environment.

Now any dialog from menu item with Unlock button should be enabled again and you will be authenticated when clicking Unlock button.

No comments:

Post a Comment