This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Can't use AWN after adduser

[Deleted user]

Thu Sep 24, 2015 3:23:34 pm

I'm writing a script to add a new public user, deny permissions for most applications, etc. I'm using adduser rather than useradd due to the useradd man page specifically stating to use adduser on Ubuntu based distros. The problem comes when logging in. The X session loads and then this error shows:

GError in Zorin Menu: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/apps/zorinmenu/orientation' set in a read-only source at the front of your configuration path

Here is the traceback for that error:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/awn/extras/awnlib.py", line 1590, in init_start
applet_class(applet)
File "/usr/share/avant-window-navigator/applets/ZorinMenu/ZorinMenu.py", line 40, in __init__
backend.save_setting('orientation', 'bottom')
File "/usr/lib/zorinmenu/backend.py", line 38, in save_setting
gconf_client.set_string(gconf_app_key + '/' + name , str(value))
GError: Configuration server couldn't be contacted: D-BUS error: Can't overwrite existing read-only value: Value for `/apps/zorinmenu/orientation' set in a read-only source at the front of your configuration path


At this point the AWN menu and panel are totally unusable - the 'z' icon on the menu launcher is replaced by a red circle with a white line. Applications are launchable (ctrl+alt+T, etc.) but the menu is unavailable. Upon trying to create a workaround for the issue, I noticed the .directories are also not available in /home/Public\ User/ - I had to run chown to provide ownership to public user to get those to show up with ls -a. Additionally, I have searched high and low for /apps/zorinmenu/orientation and that directory does not exist on either the administrator account or the new public user account.

Has anyone ever seen this issue and straightened it out?

Swarfendor437

Thu Oct 01, 2015 8:34:43 pm

Hi, I don't know where your post 'text' has gone - try removing awn and reinstalling it as per Wolfman's guide to the AWN Panel:

Re-install AWN:

if your AWN panel is completely screwed up, open a terminal with Ctrl + Alt + t and paste the following command:

Code:
sudo apt-get purge avant-window-navigator && sudo apt-get install avant-window-navigator


This should remove and reinstall AWN to a bog standard new one.

You should restart with Ctrl + Alt + Del; then log out and Restart and see if it fixes the problem!.

See also:

http://www.youtube.com/watch?v=ABgdJdux ... e=youtu.be

http://www.youtube.com/watch?v=kwsruXqd ... e=youtu.be

From here:

viewtopic.php?f=4&t=2054