LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-13-2014, 03:25 PM   #1
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Mounting usb-sticks in multiseat


I've been working on getting multiseat working perfect on and off the last couple of weeks. I've had limited time so the process has been taking a while.

Anyway, on of the things I struggled with the most is to get usb mounting to work properly. It's still not perfect as polkit is (supposedly) buggy and only allow active users mount access and fail to get which users are active in a multiseat setting. Whenever I was logged into kde and tried to access a thumb-drive I would get "Not Authorized" even though I was in the plugdev group.

I've been googling the answer for hours with no success. The guide I followed (http://wiki.gentoo.org/wiki/Multiseat) gave the reason why it wasn't working and a solution, but the solution wasn't applicable to me because slackware still .pkla files.

My solution only works for KDE I suppose, but I just wanted to share my solution with those out there googling in vane.

It's stupidly simple.

Log into KDE and start system settings
Go to actions policy -> org.freedesktop -> The udisks project
(I've actually got two of "The udisks project" in slackware. Choose the bottom one).
Go to "Mount a device" and choose yes for all three.

Simple as that.

But as I said, it's not perfect. With my setup (Where I've dedicated a hub to each seat using udev-rules) a user on seat0 can access the thumb-drive on seat1 BEFORE it is mounted. After it is mounted it has no access. The first thing is not a problem for me as this is a personal computer and I don't mind my gf hijacking one of my usb-ports. It's worse in a commercial setting where a user may access the neighbors usbdrive.

From a commercial setting it's grate that seat0 can't access seat1's usbdrives while it's mounted but it's a little inconvenience for us. Not a big deal though and if I bother to find a solution I will try and remember to update the thread. But the priority of solving this is really low.

Last edited by Dinithion; 09-13-2014 at 03:30 PM.
 
  


Reply

Tags
multihead, polkit, udev, udisk, usb



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] "read-only filesystem" error on USB sticks = bad sticks? newbiesforever Linux - General 4 09-26-2013 04:33 PM
USB sticks mounting only as root HerrBean Debian 4 08-14-2013 02:57 PM
Mounting of USB sticks (not formatted as FAT32/NTFS) milomak Linux - General 25 11-17-2009 06:59 PM
Mandriva 2008.0 evdev with usb keyboard for multiseat config darion Mandriva 1 08-02-2008 07:40 AM
Mounting different usb-sticks robertmarkbram Linux - Hardware 3 10-22-2003 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:15 AM.

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