LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2017, 11:57 AM   #1
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Rep: Reputation: Disabled
Can't mount USB


Hello,
After changing my display manager I get this error when I try to load the USB memory with Spacefm.

Code:
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
Error mounting /dev/sdb1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
The only file I modified was /etc/rc.d/rc.x but only to add the new DM.
I can't load the USB as user but I can as root.
It seems like as user Spacefm can't create the run folder for the USB.

Any clue?.

Thanks
 
Old 09-28-2017, 12:59 PM   #2
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 309

Rep: Reputation: 92
Ouch, is this on Vector Linux? I have no personal knowledge of that but "error opening /dev/tty" is pretty bad. Is your old desktop environment still operable, and what happens when you switch over to that?
 
Old 09-28-2017, 01:03 PM   #3
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Original Poster
Rep: Reputation: Disabled
yes it is, the old DM is still there.
I just want to see if it can be fixed, I used exactly the same procedure on an identical install with no problem.
 
Old 09-28-2017, 01:26 PM   #4
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 309

Rep: Reputation: 92
Does the USB mount work as before on the old DM?

I'm sure this can be fixed, but I'm not an expert on the Freedesktop side of things. I'm just trying to get more information. If I can't help, than someone else here surely can.

Can you elaborate on the exact steps you took when modifying the system -- especially anything you did with sudo -- and the exact modifications you made to rc.x.

Modifying the default desktop manager is pretty invasive, and a number of things might have broken in the process.

Last edited by Fat_Elvis; 09-28-2017 at 01:27 PM.
 
Old 09-28-2017, 02:27 PM   #5
black-clover
Member
 
Registered: Jun 2017
Distribution: Devuan Daedalus, Debian Testing, SliTaz, Alpine Linux.
Posts: 206

Original Poster
Rep: Reputation: Disabled
The only thing I changed in the rc.x was the line pointing to the DM binary from
/usr/share/gdm

to

/usr/share/slim

in order to launch Slim instead of GDM.

Now I modified that back to GDM and after I log in with GDM the USB mounts normally, so I guess the issue is something Slim interferes with.
 
Old 09-28-2017, 02:43 PM   #6
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 309

Rep: Reputation: 92
Quote:
Originally Posted by black-clover View Post
The only thing I changed in the rc.x was the line pointing to the DM binary from
/usr/share/gdm

to

/usr/share/slim

in order to launch Slim instead of GDM.

Now I modified that back to GDM and after I log in with GDM the USB mounts normally, so I guess the issue is something Slim interferes with.
I suppose it is. Like I said, I'm not up to date on the way the popular distros are doing things right now. No experience with Slim either, I'm afraid.

On my system, you start the DM from /etc/X11/xinit/xinitrc.

Have you installed Slim yourself, or is this from your distro's package manager?

I suppose someone with knowledge about polkit config will be able to offer better help. Or if you're feeling adventurous, you could try doing some research on that yourself. To the best of my knowledge, polkit is the mechanism that grants your user additional priviledges for certain things, such as the ability to mount drives as a regular user.

Last edited by Fat_Elvis; 09-28-2017 at 02:45 PM.
 
  


Reply



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] USB drive fails to mount – “Mount denied…..”, also deletes data on unmount ronells2000 Linux - Software 14 11-15-2016 11:03 PM
[SOLVED] unable to mount a usb flash drive and an SD card after changing mount directory name remn Linux - Newbie 24 10-24-2015 03:04 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 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