You are not logged in.
Hi all
I've been wrestling with this issue for months now, and nothing in the wiki seems to help.
I'm running arch with a Gnome 3 desktop environment. According to the wiki, with Udev up and running, Gnome should automatically detect and mount removable media, but the only entry under 'computer' is the filesystem.
I am a member of 'storage'
I've tried udisks, udiskie, devmon all to no avail
The ONLY way anything shows up is to mount manually (in which case, it appears in nautilus, but can't be 'ejected' and when unmounted, doesn't disappear), or else have it plugged in during boot. No devices will hotplug, no disks are being recognized, and I'm at my wits end reading man pages and wiki pages, when absolutely nothing seems to work.
Does anybody have any suggestions?
Dmesg shows this when I plug in a removable device.
[ 4380.592312] usb 2-1.2: new high-speed USB device number 4 using ehci_hcd
[ 4380.680437] usb-storage 2-1.2:1.0: Quirks match for vid 152d pid 2329: 8020
[ 4380.680499] scsi7 : usb-storage 2-1.2:1.0
[ 4381.679075] scsi 7:0:0:0: Direct-Access SAMSUNG HM320HJ PQ: 0 ANSI: 2 CCS
[ 4381.680032] sd 7:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[ 4381.681911] sd 7:0:0:0: [sdb] Write Protect is off
[ 4381.681921] sd 7:0:0:0: [sdb] Mode Sense: 28 00 00 00
[ 4381.682764] sd 7:0:0:0: [sdb] No Caching mode page present
[ 4381.682774] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4381.685263] sd 7:0:0:0: [sdb] No Caching mode page present
[ 4381.685272] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4381.703286] sdb: sdb1
[ 4381.706169] sd 7:0:0:0: [sdb] No Caching mode page present
[ 4381.706177] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 4381.706183] sd 7:0:0:0: [sdb] Attached SCSI disk
Last edited by pYrO1v1aniac (2012-02-09 13:40:20)
Offline
Do you log in to sessions with gdm? What filesystem is on the removable media?
Offline
I have it set to automatically log in, but GDM is the login option if I log out.
Also, no removable media, regardless of type (even optical media) will mount.
Offline
i had issues like this before, but i wasn't using gdm, i started x with xinit.
try reinstalling GDM, or keep the system from starting x automatically, and start it using the following command:
[user@computer ~] $ xinit /usr/bin/ck-launch-session /usr/bin/gnome-session
if that works, then your issues are that console-kit was not loading properly. i'm not sure if you can launch console-kit before GDM or not, but you might have to find a workaround or something. if that doesn't help, then i don't have the answer.
Offline
What does this say?
ck-list-sessions
Offline
Session1:
unix-user = '1000'
realname = 'MY NAME'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2012-02-04T10:08:53.380255Z'
login-session-id = '1'
Offline
Bump, can anybody else help?
Offline
I don't know if this is relevant or not but, you don't have anything for a "display device" like a tty. I'm thinking consolekit is starting from something before gdm and then breaking consolekit. Ironically, gnome with gdm has never given me any issues which makes me believe you should uninstall all the helpers like devmon and udiskie because they are not needed for gnome. Just make sure you still have consolekit, polkit-gnome and udev installed or just install all of "gnome" again just to make sure and reboot. And undo whatever way you auto login.
I have one computer I try new programs with and I always have this problem trying diffrent DE and such going from xinitrc to gdm to kdm to slim.
Offline
Ok, I'll give that a shot! Thanks
Offline
OK, I messed around with /etc/inittab (I had it going straight to runlevel 5 to start X straight away, set it back to 3, added GDM to daemons).
Removable drive seems to be recognized and is at least mounting. But optical media isn't happening, nor can I eject the drive in Gnome (X is not in Fstab (and you are not root)), and it's not giving me the correct notifications (drive detected, etc), so something is still wrong.
Offline
Are you in the optical group? Or maybe https://wiki.archlinux.org/index.php/Ud … ve_support.
Offline
I am, yes.
It turns out the USB drive mounting was the result of an old stray Udev rule I tried from a while back. Having made some changes, that rule worked, but this is not a solution, as I can't unmount the drive from within gnome, and Optical media doesn't work, so we're back to square 1 (except at least now udev rules will work).
The goal here is to get gnome to automatically recognize removable media and CD drives, as it ought to.
I've done some tinkering, and I'm apparently automatically logging into the system through GDM in the daemons list in rc.conf . I've removed .xinitrc files from anywhere they were present.
All in all I'd say we're back to square 1.
Offline
I fixed it, this was a real tough one.
Turns out it was due to a bug in libgdu
Gnome disk utility wasn't launching due to the same bug, and when I searched for that, I found this.
https://bugs.launchpad.net/ubuntu/+sour … bug/571038
Which led me to this
http://leisurehours.wordpress.com/2010/ … r-problem/
Libgdu doesn't work properly if your partition table entries are different than the order they appear on the disk, which causes removable drives not to mount properly, in addition to a host of other problems. I followed the instructions on that page, and sure enough it re-ordered my disk definitions.
WARNING**** If you follow these instructions, grub's menu.lst will break. Have a liveCD handy to repair it.
Offline