You are not logged in.

#1 2011-09-23 13:17:52

daemonspecter
Member
Registered: 2010-11-21
Posts: 11

SOLVED - Mounting not authorized - not using xinitrc

I'm using Arch with KDE, but I do not use xinitrc to launch kde, I use an alias that calls up /usr/bin/startkde.  I prefer continuing to do this if possible, but my issue is with HAL and mounting.

I get the "Could not mount *insert drive here*: Not Authorized" error when attempting to mount a CD drive, external hard drive, or flash drive.  On looking for a fix, I found that if you were starting X through xinitrc, you should add ck-launch-session before the call to open X.  As a result, I tried changing:

alias kde="startx /usr/bin/startkde

to:

alias kde="exec ck-launch-session (CR) startx /usr/bin/startkde

But it seems to have changed nothing.  The alias is set in /etc/bash.bashrc, which as I understand should change it for all users.  Is there anything else I can do, or am I changing things in the wrong place?  Any help would be appreciated.  Thank you!

Last edited by daemonspecter (2011-09-23 14:33:04)

Offline

#2 2011-09-23 13:35:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: SOLVED - Mounting not authorized - not using xinitrc

Can you see if a proper .xinitrc works? Maybe the problem lies somewhere else?

alias kde="exec ck-launch-session (CR) startx /usr/bin/startkde

Is it a typo or did you mean to insert carriage return in your alias?

Offline

#3 2011-09-23 13:39:06

daemonspecter
Member
Registered: 2010-11-21
Posts: 11

Re: SOLVED - Mounting not authorized - not using xinitrc

I meant to insert it, but I may not fully understand the command...The way I understand it, the exec function needs to be separated from the startx function, meaning a "new line" must be made.  I could be wrong on multiple levels there, though.

I will attempt using xinitrc and come back with results shortly.

Last edited by daemonspecter (2011-09-23 13:39:30)

Offline

#4 2011-09-23 13:57:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: SOLVED - Mounting not authorized - not using xinitrc

https://wiki.archlinux.org/index.php/Kde#Using_xinitrc says just

exec ck-launch-session startkde

(no 'startx'), startx will run what's in .xinitrc e.g. this line (but you have no .xinitrc), so I think

xinit ck-launch-session startkde

would make more sense,

Offline

#5 2011-09-23 14:32:46

daemonspecter
Member
Registered: 2010-11-21
Posts: 11

Re: SOLVED - Mounting not authorized - not using xinitrc

Changing all that did do it...I'm not sure if I had fixed it myself beforehand, but I now have the .xinitrc file and its called as the wiki says to, and it works.  Turned out I had to reboot the machine to get it to, not just KDE.  One way or another, its working now.  Thank you!

Offline

Board footer

Powered by FluxBB