You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-07-01 00:53:46

n30phyt3
Member
From: Hannover
Registered: 2011-11-14
Posts: 16

[SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

hi all

After Update I can not edit "rc.conf" through OpenBox-Menu

could u help me pls?

thanks

Last edited by n30phyt3 (2012-07-01 01:15:55)

Offline

#2 2012-07-01 01:15:36

n30phyt3
Member
From: Hannover
Registered: 2011-11-14
Posts: 16

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

SOLVED

1. gpasswd -a MYNAME wheel

2. uncomment in /etc/sudoers:

%wheel ALL=(ALL) ALL
%wheel ALL=(ALL) NOPASSWD: ALL

3. remove "ck-launch-session "

nano ~/.xinitrc

exec dbus-launch openbox-session

Last edited by n30phyt3 (2012-07-05 12:54:27)

Offline

#3 2012-07-01 07:48:13

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,662
Website

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

Permission error combined with dbus update, thanks for posting your solution.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#4 2012-07-25 05:27:33

cirrus
Member
From: Glasgow , Scotland
Registered: 2012-07-10
Posts: 55
Website

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

[Solved]
i have same problem , i did . gpasswd -a cirrus wheel  (cirrus added to group) ,then i uncommented both entries in /etc/sudoers , and checking xinitrc for  "ck-launch-session "  tho i came up empty it was not in there , after editing the sudoers and rebooting i could only boot to CLI  however an fsck got me back in X , yet im still unable to edit rc.conf through openbox menu, should i just recomment both entries and just edit rc.conf via nano,fileman ??
regards
cirrus

Last edited by cirrus (2012-09-01 22:29:13)


Desktop 3x Boot Sabayon,Debian,Archbang
Arch-Arm - Raspberry Pi Model B Rev 1.0
GPU:ASUS® [G92 EN8800 GT TOP] 512MB DDR3]
http://cirrusminor.info

Offline

#5 2012-07-25 05:54:08

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

You should have user created and set up during install if you have added a new user since then yes you need to add groups..

check .xinitrc notice the '.' in front of file [means hidden] post what you find

Offline

#6 2012-07-25 14:49:34

cirrus
Member
From: Glasgow , Scotland
Registered: 2012-07-10
Posts: 55
Website

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

TY Mr Green heres my rc.conf # and i am the only user on this box , strange thing on 2 other AB installs that have had the same update methods it seems to work on them ?

# /etc/rc.conf - Main Configuration for Arch Linux

LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/London"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

MODULES=()

UDEV_TIMEOUT=30
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"

HOSTNAME="archbang"

DAEMONS=(dbus networkmanager !network !dhcdbd syslog-ng @alsa) 

here is my .xinit.rc 

 #!/bin/bash
export BROWSER=firefox
export DE=openbox
exec dbus-launch openbox-session
xset s off
xset -dpms
setterm -blank 0 -powersave off -powerdown 0 

Last edited by cirrus (2012-07-25 14:52:50)


Desktop 3x Boot Sabayon,Debian,Archbang
Arch-Arm - Raspberry Pi Model B Rev 1.0
GPU:ASUS® [G92 EN8800 GT TOP] 512MB DDR3]
http://cirrusminor.info

Offline

#7 2012-07-25 22:10:13

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

How did you edit sudoers file?

Offline

#8 2012-07-26 04:58:19

cirrus
Member
From: Glasgow , Scotland
Registered: 2012-07-10
Posts: 55
Website

Re: [SOLVED] After Update - can not edit "rc.conf" through OpenBox-Menu

with nano ,export VISUAL=nano; visudo , and it seems the changes have stuck too.
heres an excerpt

#
## Runas alias specification
##

##
## User privilege specification
##
root ALL=(ALL) ALL

## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL

## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL

(edit)  i just resorted to editing the obmenu all good)

Last edited by cirrus (2012-09-01 22:28:31)


Desktop 3x Boot Sabayon,Debian,Archbang
Arch-Arm - Raspberry Pi Model B Rev 1.0
GPU:ASUS® [G92 EN8800 GT TOP] 512MB DDR3]
http://cirrusminor.info

Offline

Board footer

Powered by FluxBB