You are not logged in.

#1 2012-07-18 10:06:30

nankura
Member
Registered: 2011-08-02
Posts: 166

[SOLVED]Opening Obmenu as admin and general permissions issue

Hey guys

i did a new arch install with all the basics, sudo, and openbox. when i go into a terminal to open obmenu as an admin using sudo and whilst logged in as root, i get the following

I did cp all the xdg data menu.xml rc.xml and autostart to my home folder/username/.config/openbox

** (process:2920): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:2920): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:2920): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
No protocol specified
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Error: "/root/.config/openbox/menu.xml" not found

Last edited by nankura (2012-07-18 11:48:51)

Offline

#2 2012-07-18 10:11:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

Why are you doing it as root? You've copied the configs to your user's home, so edit them as your user.

Offline

#3 2012-07-18 10:33:06

nankura
Member
Registered: 2011-08-02
Posts: 166

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

Because as user when i try to save a change it says insufficient permissions, along with, whenever i try to access my NTFS hard disk through thunar or pcmanfm im recieving a permissions error and it cant open

Offline

#4 2012-07-18 10:33:43

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

Do you have write access to your configuration files?

Offline

#5 2012-07-18 10:35:50

nankura
Member
Registered: 2011-08-02
Posts: 166

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

uh, owner is read and write, group read only and the other read only, and the owner is set to root not my username, so i think ive missed something extremely vital when using the useradd script during the arch installation

maybe i put a group i shouldnt have in the additional groups. either way. it seems i dont have permissions as my actual user "nankura"

i cant even change the permissions

Last edited by nankura (2012-07-18 10:36:15)

Offline

#6 2012-07-18 10:36:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

As root, change the ownership of the affected file(s) in your $HOME - they should belong to nankura:users (or whatever username your using).

Do some reading/research about using your hard disk as your user - the answers are all in the wiki.

General rule: DO NOT USE ROOT UNLESS IT'S ABSOLUTELY NECESSARY.

Offline

#7 2012-07-18 11:04:13

nankura
Member
Registered: 2011-08-02
Posts: 166

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

Thanks for the help, i fixed most issues by going to the /etc/group file and adding myself to groups i was missing such as disks

Last edited by nankura (2012-07-18 11:46:28)

Offline

#8 2012-07-18 16:32:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]Opening Obmenu as admin and general permissions issue

That's the wrong way - but if you're too lazy to read the wiki, sure, go ahead.

Offline

Board footer

Powered by FluxBB