LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   gentoo xfce4 mount removable media Not Authorized (https://www.linuxquestions.org/questions/gentoo-87/gentoo-xfce4-mount-removable-media-not-authorized-4175478878/)

ppkingpping 09-28-2013 09:35 AM

gentoo xfce4 mount removable media Not Authorized
 
hi,I am having trouble mounting removable media on xfce4
I use startx start xfce4 ,this is my .xinitrc file:
#!/bin/sh
# Run "/etc/X11/xinit/xinitrc.d/" Process
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for i in /etc/X11/xinit/xinitrc.d/*; do
if [ -x "$i" ]; then
. "$i"
fi
done
fi

########################################################################
## set to use scim input ##
########################################################################
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
export QT_IM_MODULE="scim-bridge"
scim -d

########################################################################
## Merge in defaults and keymaps ##
########################################################################


userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -f $sysresources ]; then
/usr/bin/xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
/usr/bin/xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
/usr/bin/xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
/usr/bin/xmodmap $usermodmap
fi

########################################################################
## Start xfce Desktop Environment ##
########################################################################

if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/startxfce4
else
exec dbus-launch --exit-with-session /usr/bin/startxfce4
fi


rc-status display was below:
$ rc-status
Runlevel: default
dbus [ started ]
net.enp4s0 [ started ]
syslog-ng [ started ]
acpid [ started ]
dhcpcd [ started ]
laptop_mode [ started ]
netmount [ started ]
local [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
Dynamic Runlevel: manual


ck-list-sessions result was below:
$ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2013-09-28T11:59:37.888367Z'
login-session-id = ''
idle-since-hint = '2013-09-28T12:00:08.180086Z'
Session2:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = FALSE
on-since = '2013-09-28T11:59:48.978784Z'
login-session-id = ''

my id display below:
$ id
uid=1000(pp) gid=100(users) groups=100(users),6(disk),10(wheel),11(floppy),18(audio),19(cdrom),80(cdrw),85(usb),120(plugdev)

I have gvfs thunar-volman polkit consolekit installed,use flags was below:
$ emerge -pv gvfs thunar-volman polkit consolekit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] gnome-base/gvfs-1.12.3-r1 USE="bluetooth cdda gdu udev -afp -archive -avahi -bluray -doc -fuse -gnome-keyring -gphoto2 -http -ios -samba (-udisks)" 0 kB
[ebuild R ] xfce-extra/thunar-volman-0.8.0 USE="libnotify -debug" 0 kB
[ebuild R ] sys-auth/polkit-0.112 USE="gtk introspection nls pam -examples -kde (-selinux) -systemd" 0 kB
[ebuild R ] sys-auth/consolekit-0.4.6 USE="acl pam policykit -debug -doc (-selinux) -systemd-units {-test}" 0 kB

Total: 4 packages (4 reinstalls), Size of downloads: 0 kB


All times are GMT -5. The time now is 09:40 AM.