Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-21-2006, 07:48 PM   #1
Registered: Aug 2004
Posts: 56

Rep: Reputation: 15
GPSD not working from non-root user?

Hey guys I am not sure how to get this fixed. Basically I got a eXplorist 210 which interfaces though USB, I plug it in and the kernel quickly loads up cdc_acm and gives it to /dev/ttyACM0.

I can CAT the file and see the wealth of NMEA data flowing but when I do "gpsd -p /dev/ttyACM0" then "xgps" it does nothing, it says "no data arriving" in the xgps window. I have tried "sudo gpsd -p /dev/ttyACM0" and "sudo xgps" and it gives me the same result.

However when logging in as root I can run the gpsd command and bring up xgps with no problems at all. Obviously its a permissions issue however I am incompetent about permisions and wondering what should I change?

Old 03-21-2006, 08:54 PM   #2
Registered: Aug 2004
Posts: 56

Original Poster
Rep: Reputation: 15
Actually I think I know what happend, a few hours after posting I did some digging around and found that I have two gpsd executables floating around. I found this because I noticed that I couldn't use some command line options while in root, as the ones in my normal user.

So the executable located in /usr/bin/ would NOT properly drop privs to nobody, so if I did "sudo /usr/sbin/gpsd -p /dev/ttyACM0" I am able to pull up xgps and kismet reports the correct values.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Root user : no linux cmds r working linuxfriend Linux - Software 13 02-03-2006 01:56 AM
root-tail working only in rootGUI. window id option in user mode does not solve issue Emmanuel_uk Linux - Newbie 3 11-16-2005 01:04 AM
gpsd on a zaurus 6000L skunkburner Linux - Laptop and Netbook 4 07-07-2005 11:31 AM
My keyboard is not working with root user.when i type any thing i cant see anything sandhya Linux - General 3 07-06-2004 08:26 AM
pop3 access for root user mail not working amanik Linux - Networking 1 03-03-2003 02:49 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration