Ubuntu :: Audio CD Not Auto Mounting If Screen Is Locked?
Apr 30, 2011
I have upgraded to 11.04 today and I have hit a slight snag. In 10.10, I had it setup so that it would run a custom script when an audio CD was inserted into the DVD drive. The CD would mount regardless of whether the screen was locked or not. Since upgrading to 11.04, the CD will only mount when the screen is unlocked.Whilst I can appreciate the security benefits of this (if it is indeed intended and not a bug), is there a way to be able to enable discs to be mounted automatically, whether the screen is locked or not
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question: I would like to add acl option to a device whenever it is mounted. I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code: sudo mount -o remount,acl /media/data and auto execute it any time data is mounted.
I have a 500 GB ext4 formatted HHD which i have to manualy mount when ubuntu starts. I have read much on the topic but am still unsure what i should add to fstabmy output when entering "sudo fdisk -l" is
I have one of those lovely Western Digital external hard drives and it seems to have an UDF "partition" on the hard drive itself. I cannot format it, remove it from the hard drive itself, or disabling the UDF seems to be a no go once its popped into a Linux distribution of any kind.
So my question is, is it possible to stop the UDF from even auto mounting at all?
I currently run a Windows XP virtual machine (using VirtualBox) so that I can use iTunes. This is fine, and I have set up a USB device filter which allows me to use my iPod, and update it via iTunes on the VM. However, this only works sometimes. I think the reason is that the VM sometimes can't get access to the iPod because it's mounted in Ubuntu - I think it may just be a race for who can mount it first - Ubuntu or the VM, when I plug it in. Is there a way I can prevent the iPod from automounting in Ubuntu so this problem (hopefully) won't arise?
This always used to mount automatically and has suddenly stopped. Same result if I use smbfs instead of cifs. I have worked around this by adding noauto and then mounting it in /etc/rc.local.
Anyone else had this and fixed it so that the share mounts at boot rather than login. I do have some cron tasks that require this to be mounted and assume they will fail unless I login immediately after a reboot.
Tested with diffrent parameters. And another problem also with samba shares, when I edit file from editor (eclipse) after save i got 'file changed dialog'. seems like file is written with some delay ? and timestamp dont agree (its my blind quess). On 9.04 no problems. Tested with 2 instances of Eclipse. One copied from 9.04 and second fresh install. Other editors raport the same problem. Its anoying as hell.
Does anyone else have this problem. Came just after recent update and is highly annoying. Plug usb device in and it is recognized on lsusb but not mounting and appearing in media folder. How do I solve this. Searched the forum but nothing useful
Whenever I mount any of the ntfs volumes, instead of opening the volume, Rhythmbox starts automatically and scans volume for media files. It has nothing to do with media files as it starts even when there is no media file in the volume.
how to mount a shared folder (on virtual box 4.0.0) on a win 7 host onto my ubuntu 10.10 virtualbox......i know how to mount the folders manually..i want the system to mount it every time i log in........Manual mount: mount -t vboxsf D_Drive /home/asd/Desktop/Sharedi tried using /etc/fstab but i didn't know what to put in the right fields......
I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?
I know this problem was mentioned here before but because I could not find a straight forward solution anywhere I am reposting this here. So here goes.As of today, my Fedora 13 64-bit has ceased to auto-mount USB drives completely. I have made absolutely no changes to the system and I am completely baffled and frustrated by this sudden development. I desperately need this system to function properly as I use it for school and this really put a wrench in my works, especially since I have done nothing to cause this. I assume that one of the many recent updates that have been released must have done this, but I have absolutely no idea how to fix this. Why do Fedora developers release updates that cripple a perfectly functioning system is beyond me and crap like this really makes me consider switching back to Ubuntu.
I boot several Redhat based distributions, Fedora 15, Fedora 14, CentOS, Scientific Linux, Redhat and occasionally something non-Redhat based like Ubuntu and Debian. Out of habit and preference I frequently set up partitions to be auto mounted at boot through fstab. Somewhere in time something went seriously wrong with the CentOS install. There are a ton of permission denied errors while booting CentOS (text style boot) mostly regarding shared libraries. The system will boot to the desktop and everything looks OK but some things don't work. I can't update the system because I have no network connection. I obviously can't get to the Internet or get e-mail. I can open a VT but can't log in as regular user or root.
Permission denied in both instances. I didn't make any drastic changes to the CentOS system, just minor tweaks. The culprit in my opinion is a combination of the fact that one of the other Linux systems did an SELinux relabel while booting and the CentOS partition was already mounted. Since the CentOS partition was mounted it too was relabeled. I can't prove this. If there's a way to prove it then I just don't have the skills or knowledge to do so. It's basically a theory based on what I know I've done with the several installed distributions. This is not a rant nor is it a request for help. Just a comment. An assumption, hopefully a correct assumption. The CentOS install was working flawlessly until something happened and I think that something was the SELinux relabel.
my opensuse is not auto mounting USB drives anymore. It was working a few weeks ago! I have an external 500GB HDD and also an 16GB Kingston USB flash disk, both are not being auto mounted.If i do lsusb i get
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 006: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I've recently installed Arch on my main PC, and I decided to use Xfce4 desktop environment as appose to gnome that I use on my laptop. Firstly, I had to search round for an icon theme to get any of the icons working (they were all just papers with red crosses in them to start with), which I think is taking lightweight a bit too far :P, but just my opinion.Now i've got that sorted I turned to the problem of auto-mounting partitions. I'm having some trouble getting HAL to auto-mount my NTFS partitions which have my documents and music on. They are NTFS because i've got dual boot windows, and had windows before Archlinux so NTFS was the logical fs type to use. I think HAL is auto mounting dvd's etc. (can't be sure as I aren't in Arch at the minute)I can mount the NTFS partitions manually using:mount -t ntfs /dev/sda(number from 1 through 3) /mnt/sda(1 through 3)
However, I can only access this via root, so I carried out: mchmod scott.scott /mnt/sda(1-3)or something similar and that works fine, so I know they can be mounted successfully. I've tried auto-mounting them using fstab but can't seem to get this working, and I would rather not have fstab auto-mount them, I would rather let HAL sort all that out for me.I have checked that dbus, hal, consolekit and xf86-input-evdev are all installed (although im not sure what xf86-input-evdev does).Has anyone got any ideas why its not auto-mounting the NTFS partitions. My laptop mounts the NTFS windows partition fine using gnome.
i am using ubuntu 8.04 and i am facing a problem of mounting external pen drive, exernal harddisk or even other /dev/ partitions in my login mount is not working so i manually mount the partition by mount command .. but i dont know how i can resolve this problem ...
fdisk -l currently returns as Disk /dev/sda: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders
I would like a USB thumb drive to be automatically mounted whenever I insert the drive into my PC (previously I had been mounting it manually with the 'mount' command). I gave the USB drive a unique label with e2label. I added an entry for it in /etc/fstab. This works in the sense that if I run "mount -a", the drive will be mounted. However, it still isn't completely automatic. Am I missing something? What else do I need to do?
I can't log in from a locked screen anymore, such as when returning fromeep or hibernation. I can, however, work around the problem by clicking "switch user" and logging in from the GDM greeting screen. Logging in from a terminal also works.I recently had a problem where /etc/passwd, /etc/groups and some other files were deleted. But I have restored them - otherwise I couldn't log in at all.
I installed UNR recently and after a few days, it stopped auto-mounting anything not part of its default installation. Meaning, it won't auto-mount anything plugged via the USB as well as any other drives or partitions I added to fstab. Everything seems to be correct especially since it works fine on my desktop and I have exactly the same configuration (of course except for the UUIDs). I have to manually go to Disk Utility just to mount and eject/unmount.
UNR also stopped showing 'detected' and 'mounted' drives via the "Files and Folders > Volumes" section, even tho the system detects these drives/partitions (eg. via Disk Utility or blkid).I have the permissions for the logged-in user set. I have the nautilus automount setting checked (it was never unchecked). For the fstab part, the UUIDs are correct and everything else. For the USB part, well, just like the fstab part, no auto-mounting at all.
I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.
I have an ecryptfs partition on a usb drive, system runs Debian squeezeWhat I'd like to have is that when I connect the drive it will be auto. mounted and I'lleither have to enter the passphrase or it will already be in the keyring (even better).It seems ecryptfs can auto-mount a directory but I want to auto-mount an entire encryptd partition. Is this possible?.Also, can I have another encrypted directory, say ~/Private, at the same time or can ecryptfs handle only one at a time?
When I installed slackare 13 it detected usb drives and cameras automaticallyow it doesn't. I am runnning a 13.0 system, not current, so I have only applied the updates in that branch (iirc including a new kernel).nowadays when i plug a device in it does not seem to be detected by HAL (i.e not in KDE).However the device is listed if you use the command "lsusb" and the computer obviously knows it has been plugged in as there is a relevant entry in dmesg.Sorry for the generallised nature of the post, but I don't really know anything about HAL or how it can have stopped working
In Ubuntu 10.04: if the screen has been locked (automatically by the screensaver or user-activated using the top-right menu) pressing the power button doesn't initiate shutdown. Is this a bug or is it a configurable option?I would expect to either get the usual 60 second shutdown delay or a graceful shutdown right away.
I am building a small Ubuntu box made for our clients to listen to an audio stream. At startup, I have scripts that start the audio stream, then locks the screen so clients can't change any settings. It works flawlessly.
However, if a client has to shut down the box, they can't. Note this is a headless unit, no monitor, keyboard, or mouse. It will ONLY be used to play streaming audio. I need for the client to be able to safely shutdown the unit by pressing the power button. But, when the power button is pressed, ubuntu asks for the user password. Is there a way to just make the system shutdown without entering a password?