LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 09-28-2013, 09:35 AM   #1
ppkingpping
LQ Newbie
 
Registered: May 2012
Distribution: FreeBSD 9.2-RELEASE
Posts: 7

Rep: Reputation: Disabled
Arrow 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

Last edited by ppkingpping; 09-28-2013 at 09:38 AM. Reason: error fix it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failed to mount ... Not authorized (xfce4 or Thunar) kaz2100 Debian 13 10-02-2014 06:34 AM
Dolphin has trouble to mount NFTS removable media Alain Lemerre Slackware 1 09-02-2010 05:43 PM
How do you all mount removable media? Josh000 Slackware 7 01-06-2010 11:37 PM
How to mount a removable media using C skie_knite007 Programming 1 10-02-2005 12:49 AM
Is there a service or daemon that will automatically mount my removable media? enigma Z Linux - Software 2 09-24-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration