You are not logged in.

#1 2012-05-30 20:48:22

M4he
Member
Registered: 2011-08-11
Posts: 75

[SOLVED] Compiz standalone: nautilus can't mount drives

Playing around with compiz standalone at the moment. Can't get mounting with nautilus to work:

When trying to mount a drive within nautilus by clicking on it I get an error message saying: "Not authorized to perform operation".

Relevant part of /etc/slim.conf:

login_cmd           exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session

my ~/.xinitrc:

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
nvidia-settings -l
sh ~/.fehbg &
xrdb -merge ~/.Xresources &
volumeicon &
plank &
xfce4-panel &
nm-applet &
gnome-do &
covergloobus &
exec compiz ccp

Mounting with nautilus in Openbox works with the above slim login line and a plain "exec openbox-session" within .xinitrc though...

Any help is much appreciated!

Last edited by M4he (2012-05-31 16:34:13)


Arch - makes me feel right at /home

Offline

#2 2012-05-30 20:51:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

Try

exec ck-launch-session compiz ccp

for your last line


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-05-30 21:41:30

M4he
Member
Registered: 2011-08-11
Posts: 75

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

Added it to the line. Problem still persists.


Arch - makes me feel right at /home

Offline

#4 2012-05-30 21:59:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

What is the output of groups  Is your user a member of dbus?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2012-05-30 22:03:51

M4he
Member
Registered: 2011-08-11
Posts: 75

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

output of groups:

lp wheel games video audio optical storage scanner power users vboxusers networkmanager

Adding myself to the group dbus doesn't help either.


Arch - makes me feel right at /home

Offline

#6 2012-05-31 16:34:00

M4he
Member
Registered: 2011-08-11
Posts: 75

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

Okay solved the problem now. Here's how I did it:

First I install compiz-alone-utils-git from AUR.

Change /etc/slim.conf line (remove dbus-launch):

login_cmd           exec ck-launch-session /bin/bash -login ~/.xinitrc %session

Change ~/.xinitrc:

exec compiz-alone-session

The remaining autostart applications put into ~/.config/compiz/autostart.sh:

# This shell script is run before Compiz launches.
# Environment variables set here are passed to the Compiz session.

# Set a background color
BG=""
if which hsetroot >/dev/null 2>&1; then
    BG=hsetroot
else
    if which esetroot >/dev/null 2>&1; then
	BG=esetroot
    else
	if which xsetroot >/dev/null 2>&1; then
	    BG=xsetroot
	fi
    fi
fi
test -z $BG || $BG -solid "#202020"

# D-bus
if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi

# Run XDG autostart things.  By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV="COMPIZ"
if which /usr/bin/xdg-autostart >/dev/null 2>&1; then
  /usr/bin/xdg-autostart $DESKTOP_ENV
fi

xrdb -merge ~/.Xresources
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
nvidia-settings -l
sh ~/.fehbg &
xrdb -merge ~/.Xresources &
volumeicon &
xfce4-panel &
conky &
covergloobus &

(you can find the skeleton file within /etc/xdg/compiz/autostart.sh)

The relevant part is the xdg-autostart part within the autostart.sh it seems.
Commenting it out resurrects the problem.


Arch - makes me feel right at /home

Offline

#7 2012-06-02 14:05:20

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

Same Problem here.

I used to use compiz-alone-utils-git from AUR, but since last Systemupdate it does not work anymore.
Loginmanager is SLiM

slim.conf

login_cmd           exec ck-launch-session /bin/bash -login ~/.xinitrc %session

also tried without "ck-launch-session"

~/.xinitrc

exec compiz-alone-session

~/.confog.compiz.autiostart.sh

# This shell script is run before Compiz launches.
# Environment variables set here are passed to the Compiz session.

# D-bus
if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
fi

# Run XDG autostart things.  By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV="COMPIZ"
if which /usr/bin/xdg-autostart >/dev/null 2>&1; then
  /usr/bin/xdg-autostart $DESKTOP_ENV
fi

mpd &
xbindkeys &
irexec -d &
nitrogen --restore &
avant-window-navigator &
cp /home/michi/.wbar.compiz /home/michi/.wbar &
(sleep 2 && wbar --config ~/.wbar.compiz) &
sonata &

Name           : compiz-alone-utils-git
Version        : 20120602-1

Name           : slim
Version        : 1.3.3-4

Offline

#8 2012-08-24 08:09:10

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [SOLVED] Compiz standalone: nautilus can't mount drives

Meanwhile I switched from SLiM to LXDM --> problem solved
smile

Offline

Board footer

Powered by FluxBB