You are not logged in.
One of the things on my todo list is automounting file system
I have got a little stuck trying to do this. I would like to use udiskie. I read on Arch wiki about permissions and necessity
of installing consolekit.
https://wiki.archlinux.org/index.php/Udiskie
I've done that and currently my last line of .xinitrc is
exec ck-launch-session udiskie & startxfce4
Unfortunately when I run this my log files show only
** (process:1896): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:1896): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:1896): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
What am I doing wrong? I have a feeling that I am missing something important. Have you been able to run xfce
together with udiskie. Any hints or assistance will be greatly appreciated. By the way, are there any
better alternatives?
CD Rom works for me but no storage devices
Last edited by Chr|s (2012-04-29 20:19:40)
Offline
startxfce4 has to be started with console kit. That will not happen with the line you posted.
Try these lines in your .xinitrc
udiskie &
exec ck-launch-session startxfce4
Last edited by Trilby (2012-04-29 21:04:31)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
startxfce4 has to be started with console kit. That will not happen with the line you posted.
Try these lines in your .xinitrc
udiskie & exec ck-launch-session startxfce4
Alright, I have changed that and I am still getting the same errors.
In Thunar..
I see the devices, but unable to access them says "Not authorized to perform this operation"
Offline
Did you create /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla ? and/or try the other method of launching the wm?
I don't use xfce or udiskie, so this is about all I could suggest.
A possible alternative is pmount. It doesn't automount, but it does make mounting media so easy and config-free that I went with that and ditched console-kit and friends.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Did you create /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla ? and/or try the other method of launching the wm?
I don't use xfce or udiskie, so this is about all I could suggest.
A possible alternative is pmount. It doesn't automount, but it does make mounting media so easy and config-free that I went with that and ditched console-kit and friends.
Yeah I created the /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla rule
What is the other way to start the wm? I want to be able to start it from command line using xinitrc. I may have to look into pmount. But id like to figure out why this isn't working for some reason.
Offline
The wiki page suggests having udiskie and the wm run under ck
exec ck-launch-session bash -c "udiskie & startxfce4"
Perhaps this is what you were going for at first, but without the 'bash' and the quotes around udiskie and startxfce4 you were getting something very different.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
This post should help you.
It seems udisks was replaced by udisks2, therefore you need to change the .pkla accordingly.
Offline
The wiki page suggests having udiskie and the wm run under ck
exec ck-launch-session bash -c "udiskie & startxfce4"
Perhaps this is what you were going for at first, but without the 'bash' and the quotes around udiskie and startxfce4 you were getting something very different.
This post should help you.
It seems udisks was replaced by udisks2, therefore you need to change the .pkla accordingly.
Thanks guys. I tried both and still unable to access my other internal drive. Just my cdrom drive and a flash drive I insert
Offline
Internal drive?
Oops, you may be trying to figure out the screwdriver when you really need a hammer. I'm not familiar with udisks/ie, but other media mounting tools are only for external media. They're the wrong tool for the job.
If this is another internal drive, is there a reason not to have an fstab entry for it?
Last edited by Trilby (2012-04-29 23:21:36)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
its a files drive I would like to share between windows/arch. I dual boot
Offline
If you don't mind switching to devmon, I believe it can mount internal drives using its "--internal" flag.
Offline
meh...just want this to work so I can access my Files drive. Seems like I am having more issues with this than anything.
Offline
I'd recommend going with an fstab entry and side stepping all this hassle given that this is an internal drive. Be sure to read the section on FAT32 if that applies.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Alright made an entry, im pretty sure I did it right. This is my fstab with the added drive at the bottom:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
LABEL=boot /boot ext2 defaults 0 1
LABEL=home /home ext4 defaults 0 1
LABEL=root / ext4 defaults 0 1
LABEL=Files none ntfs defauls 0 1
Offline
Don't you have to put a mount point (like /media/Files) in place of "none"?
Last edited by anonymous_user (2012-04-30 03:28:28)
Offline