Debian :: Disable Automount Of Usb Devices Under Xfce?

Mar 8, 2011

I have squeeze with xfce4 installed. How to disable automount of usb devices under xfce?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Disable Automount For USB Stick Devices

May 4, 2011

I have ubuntu 10.04 and am running gnome desktop.Howto disable automount for USB stick devices?

View 1 Replies View Related

Debian :: Automount Inserted Devices?

Jun 5, 2010

I don't have an opportunity to check it out now... Does Debian 6 testing mount inserted CDs/Flash-drives automatically like Ubuntu does? Or the only way to mount them after inserting is to use mount command?

View 7 Replies View Related

Debian Configuration :: Automount In Xfce 4 Not Working?

Jun 15, 2011

I'm running Debian sid and currently have xfce 4.8.0 installed. I have the thunar-volman package and it is configured to automount everything (cdrom & usb). I have hal, udev, gamin and autofs installed as well.For some reason though, automount just isn't working. It's starting to annoy me.I can mount the devices manually.I looked around already but most posts just advise you to install hal or something.

View 4 Replies View Related

Debian Installation :: Systemd - Automount Windows Partition / USB Devices In Jessie

May 11, 2015

There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)

I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.

Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.

To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount

The name of the file must match the mount point -- in this case, /media/windows

My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:

[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target

The file ownership must be root.root. Apparently it doesn't need to be executable.

After creating, enable with:

sudo systemctl enable media-windows.mount

and it will mount on the next boot.

I read elsewhere that the before running the enable command you should run a start command:

sudo systemctl start media-windows.mount

but that didn't work for me.

View 2 Replies View Related

Debian Programming :: Disable All USB Storage - Enable Some Devices By Vendor ID

Jun 18, 2014

I want to disable mounting usb storage devices except some devices based on its vendor id. I tried by adding below udev rule in debian wheezy

Code: Select allACTION=="add", SUBSYSTEMS=="usb", RUN+="/bin/sh -c 'for host in /sys/bus/usb/devices/usb*; do echo 0 > $host/authorized_default; done'"
ACTION=="add", ATTR{idVendor}=="054c", RUN+="/bin/sh -c 'echo 1 >/sys$DEVPATH/authorized'"

But it disabled all usb devices(USB keyboard and mouse). How can I allow other devices except storage devices.

View 0 Replies View Related

Fedora :: Automount Devices From GUI?

Jun 11, 2011

I managed with fstab but at restart came a black screen.I have called an HD '7200' then I reinstalled Fedora. And it does not automount it anymore. I changed fstab and black screen.

View 5 Replies View Related

Slackware :: Xfce Automount Usb Drive At Startup?

Jan 2, 2010

I've googled this many times but have not found a solution yet. Can you get external usb hard drives to automount at xfce startup? They automount if I plug them in once xfce is started. I have them connected at boot I get an icon for the drive which I can then mount. But I wonder if I can get them to automount at startup

View 4 Replies View Related

Ubuntu :: USB Devices Always Automount For Second User / Solve This?

Jan 27, 2010

Since I created second user USB devices as PTP camera, flash mass storage automounts always for the new user.
Even the second user is not logged in automount does not work for main user. When I log in as second user (with device plugged in) it is mounted automatically after log in.

What can I do with this problem?
I would like to access devices from each user (not necessarily at the same time).
How can I configure it?
How can I "remount" device to my current user without switching into the second one (it's someones else account)?

View 7 Replies View Related

Ubuntu Installation :: USB Devices Won't Automount In 10.04 Lucid?

May 3, 2010

When a USB device is attached to the laptop 10.04 does not automount the device. i.e. the device, be at an external drive, memory stick or iPod does not display with the correct icon on the desktop.

However, if one looks under Places|Computer there they all are with the correct icons. The devices can then be mounted from there.

This issue seems to be related to these other posts: [URL]

This is really disappointing given that 10.04 was promoted on its iPod friendliness!

System: IBM Thinkpad T41; Pentium-M 1.6GHz; 1Gb RAM

View 9 Replies View Related

Fedora Hardware :: XFCE Doesn't Automount IPhones?

Mar 5, 2010

With the GNOME desktop environment, when I plug in my iPhone, Nautilus automatically mounts it and I can browse and download my photos from it, as though the iPhone were a digital camera. Also the F-Spot auto-run dialog pops up asking if I want to import photos from the iPhone.In XFCE though, plugging in the iPhone doesn't do anything at all, except begin charging the phone. No auto-mounting is done in XFCE, no auto-run dialogs, nothing.

What is different here? Is it possible to get XFCE to auto-mount them? I thought XFCE uses GVFS like GNOME does? This is Fedora 12, by the way, with XFCE 4.6.To be sure it isn't just that XFCE doesn't mount digital camera type devices, I tested it with an actual digital camera that plugs in via USB. Once I connect it to the computer, it auto-mounts, I get a run dialog to import photos and I can browse the photos in Thunar just like I could with Nautilus.So it seems as though the iPhone sort of looks like a digital camera enough that GNOME mounts it as one, but it's just different enough that XFCE doesn't mount it at all.---------- Post added at 01:25 PM CST ---------- Previous post was at 12:03 PM CST ----------Apparently if I run F-Spot manually and go to import photos, it lets me select "Apple iPhone" or something from a source menu and then can import the photos that wa

View 3 Replies View Related

Slackware :: Xfce Automount Luks Lvm External Drive

Apr 5, 2011

I have a luks-encrypted external drive with lvm on top. When I plug it in xfce prompts me (twice as usual) for the encryption phrase. Then, unlike when I have a regular file system on top and it automounts, I need to activate the volumes and manually mount. Is there a way to make these steps happen automatically?

View 7 Replies View Related

Fedora :: Config Automount Process To Put All My Usb Devices In Write-back Mode As Default

Oct 18, 2010

I am looking for info about how works automount process, and i didn't find info about the tollowing ...

I wonder ... how can i do to "config" automount process to put all my usb devices in write-back mode as default ... for example ... what file can i change? ... how to do it ?

And another one ... um... how to say to "automount process" ... to put my usb devices into a "deadline" io scheduler .. for example ... how to set io-scheduler for an automount device ?

View 1 Replies View Related

Ubuntu :: Cannot Disable The USB Automount

Jan 25, 2011

My goal is to prevent gnome from mounting and opening up a file browser when any device is plugged in (USB, CD/DVD) for a Desktop User account. I am using Ubuntu 10.04 Netbook RemixI modified several settings in Nautilus (Edit --> Preferences --> Media (tab). I Selected "Never prompt or start programs on media insertion" and unchecked "Browse media when inserted".I restarted the system, but when I plug in a USB mass storage device the file browser window still appears and the device is mounted.I dug down into gconf and found the following registry keys that I believe are of interest:

/apps/nautilus/preferences/media_automount (unchecked)
/apps/nautilus/preferences/media_automount_open (unchecked)
/apps/nautilus/preferences/media_autorun_never (checked)

Has anybody run into this problem and found a solution? Modifying the keys I mentioned above worked for everyone else that has asked the "disable automounting" question (that I've found). Some very old posts mentioned gnome-volume-manager, but it is not installed on my system.

EDIT:This seems to only happen when the Netbook Launcher is started. If Netbook Launcher is removed from the list of startup programs and the system is restarted, I can insert devices without getting a pop-up window and without the device being mounted.

View 2 Replies View Related

Fedora :: Disable Automount Feature In 12?

Dec 10, 2009

how to disable automount feature in Fedora 12?

in Fedora 11 I could easily do that through System > Administration > Authorisations but in Fedora 12 Authorisations were removed...

View 14 Replies View Related

Ubuntu :: Disable Automount For USB Drive?

Feb 18, 2010

Ubuntu v9.10 I have a damaged HDD which I want to clone using ddrescue. I want to attach it via USB connection, otherwise Linux hangs on startup. I don't want the O/S to attempt to mount the drive.I would be happy to disable mounting of all external USB drives.How can I achieve this?

View 7 Replies View Related

Ubuntu :: Disable The Automount For /windows?

May 12, 2010

I've recently installed ubuntu 10.04 on a machine with MS Vista. Initially, I decided to use a fat32 partition (mounted at /windows) for storage of files used by both Ubuntu and Vista. Then, I saw that Ubuntu can read/write on NTFS partitions, so I deleted my fat32 disk space.

Now, Ubuntu tries to mount that partition and during the boot of the Gnome environment, it says that /windows cannot be mounted. If I press S (skip), the desktop can be loaded normally but I would like to delete all references to that partition.

View 3 Replies View Related

Ubuntu :: How To Disable Drive Automount

Aug 15, 2010

Im a linux. i've messed with the drives in the terminal and the drive keeps trying to automount to in the Windows 7 NTFS partition on Startup of Ubuntu 10.04, how do i disable this?

View 5 Replies View Related

Software :: Ubuntu - How To Disable The Automount

Jul 18, 2010

I have Ubuntu 10.04. Each time I plug in a CD or a USB device it automounts and an icon appears on the Desktop.How do I completely disable the automount thing?

View 3 Replies View Related

Fedora :: 13 - Disable LUKS-encrypted Partition From Automount?

Aug 30, 2010

I have encrypted a partition while installing Fedora 13, and I need to disable its automount - I will mount those manually.

But even though I commented out the corresponding line in /etc/fstab, I am still asked for the passphrase for the partition at startup.

How to completely disable this behaviour - and how to mount the partition manually afterwards?

View 5 Replies View Related

Hardware :: Disable The Capslock In Xfce?

Jul 10, 2011

Gnome and kde had rich keyboard configuration utilities, but xfce seems a bit starved of it. Without it i've been unable to find a way to disable the infernal capslock key. What method can I take to disable it or remap it as a shift key manually?

View 2 Replies View Related

Ubuntu :: How To Disable USB Devices

Feb 12, 2010

I would like to disable USB devices,so that i can restrict copying files from my system...How to do this?

View 5 Replies View Related

Software :: XFCE Terminal Cannot Bind Shortcut Keys / How To Disable All Shortcuts?

Jun 5, 2011

Is there any way to disable shortcut keys in XFCE Terminal ? I can't seem to bind the shortcut keys, and F1 especially really gets in the way for some programs. Have no clue who thought it would be a good idea to bind F1 to a stupid help screen, when many terminal programs need this. I am using fluxbox, so maybe this has something to do with it.

View 1 Replies View Related

Debian :: Usb Automount With RW ?

Nov 20, 2010

I have a simple usb mount problem, but after looking around, haven't been able to solve it. So far I've come across hal, dev, usbmount,pmount, and got lost in all this.

So, when I plug my usb as non-root I get that "not authorized" message. I solved this by installing usbmount package. After that, as non-root, usb mounts, but I can't write, I only have read rights. I tried changing "MOUNT OPTIONS" in usbmount.conf, but no luck.

What is the proper way of automounting usb and how to control access rights and what user can do what?

I also tried with fstab entries, but everytime I unplug my usb stick and plug it back in, /dev entry changes...

View 14 Replies View Related

Debian :: How To Get Debian Lenny To Automount CDs Same As Ubuntu Does?

Aug 21, 2009

Could anyone tell me how to get Debian Lenny to automount CDs the same as Ubuntu does i.e. automatically, with a Desktop icon etc.I've worked out how to automount CDs using autofs, which is OK, but it still doesn't seem quite as good as the way Ubuntu does it.

View 6 Replies View Related

Debian :: Cryptsetup Automount USB Key

Aug 27, 2015

I setup a luks encrypted /home partition on my Debian jessie, with an automount when my usb key containing the luks secret is plugged in at startup.

I did configure /etc/fstab so that my usb key be mounted at startup to /media/usb1, and /etc/crypttab to open my encrypted partition with the key at /media/usb1/homekey. It works.

However, when my usb key is not plugged in, boot fails and never shows welcome screen. I would change this behaviour so that when my usb is missing, boot resumes and do not mount /home partition. How could I manage this?

View 0 Replies View Related

Debian :: Automount USB Drives

Oct 2, 2015

Is there a way to set up your system (running CLI only, no X) to automount flash drives? I know how to mount them manually, but I'd really like it if there was a way to just have the system do it automatically when I plug the drive in so I don't have to do it myself every time.

View 4 Replies View Related

Debian :: Automount - How Does It Work?

Feb 20, 2011

I would ask how automounting of devices works in debian. I'm trying to modify the name of automatic mount point from the label name of devices (or their UUID) to the devices name. That because the UUID is often a very complicated string, meanwhile the label often contains spaces; so become difficult working with theme in scripts...

View 7 Replies View Related

Debian Configuration :: USB Harddisk Does Not Automount?

Jan 6, 2011

I have a small issue where an USB harddisk is not automounting. CD's, USB pens etc. are automounting without issues, so it is a little bit strange.I am mounting it with UUID, because I want the mount point to be the same everytime.As you can see from the fstab, it is NTFS.

dmesg
[92.388083] usb 1-1: new high speed USB device using ehci_hcd and address 4
[93.079778] usb 1-1: New USB device found, idVendor=0bc2, idProduct=0502

[code]...

View 10 Replies View Related

Debian :: Automount An Ext2 USB Disk ?

May 18, 2009

I have recently bought a Toshiba 1TB external USB disk.

I have formatted it using gparted to ext2 and Debian see's it but gives me an error "unable to mount volume" with some extra stuff about programs shouldn't disconnect shared drives.

I can mount it ok by creating a folder called usbdisk and the mount command "mount -t ext2 /dev/sda1 /home/mike/usbdisk" and it works fine, but I have to do this everytime I start the machine.

Does anyone know what exactly I should put into a setup file to make the machine do this everytime , but only if its there.

As I'm not very clued up on bash scripting , I'm assuming it something along these lines:

How would I add this at boot?? Would I add it to the end of "init.d/rc" ?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved