Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Udev problems

  1. #1
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Udev problems

    I'm using Ubuntu with Fluxbox and logging in with tty1 and using startx. For some reason, udev has taken it upon itself to create all new device nodes as only accessible by root I.e. I can't access a webcam as normal user. Any ideas? Thanks in advance!
    - Chiraag
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

  2. #2
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Udev problems

    *Bump*. Someone PLEASE HELP!!!!!!!!!!!!
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

  3. #3
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Udev problems

    Please???? Someone?????????????? I can provide whatever files/output you need. This thing is driving me CRAZY!!!!!!!!!!!!!!!!!!!!!!!!
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

  4. #4
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Beans
    272
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Udev problems

    What do you get from:
    Code:
    sudo ls -al /dev/ | grep <device>
    For example if I had a serial-usb device:
    Code:
    sudo ls -al /dev/ | grep ttyUSB0

  5. #5
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Udev problems

    I don't have it plugged in right now, but basically, only the root user and the root group (whatever that's called...I don't remember) have read/write access to the device. Essentially, udev is giving it 660 permissions. I'm not sure why though...
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

  6. #6
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Udev problems

    udev only follows the rules its given. If you don't like the rules, write a new one and drop it in /etc/udev/rules.d.

    'man udev' has ample info about writing rules.

  7. #7
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Udev problems

    @falconindy: the funny thing is that, while gdm was working, none of this happened. Now, since gdm refuses to let me enter in my password, I use startx. This has borked things such as policykit and udev, mainly because gdm does some secret magic to allow policykit to work. However, since startx doesn't run these routines, policykit fails to work anymore and I need to start stuff using gksu instead of just unlocking as I would do when logging in with gdm. Yes, I know this is off-topic. However, I'm starting to wonder if gdm does something special...
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

  8. #8
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Udev problems

    Quote Originally Posted by chaanakya_chiraag View Post
    @falconindy: the funny thing is that, while gdm was working, none of this happened. Now, since gdm refuses to let me enter in my password, I use startx. This has borked things such as policykit and udev, mainly because gdm does some secret magic to allow policykit to work. However, since startx doesn't run these routines, policykit fails to work anymore and I need to start stuff using gksu instead of just unlocking as I would do when logging in with gdm. Yes, I know this is off-topic. However, I'm starting to wonder if gdm does something special...
    Sure it does. If you're going to be using startx and an .xinitrc file, launch gnome-session indirectly as:
    Code:
    exec ck-launch-session gnome-session

  9. #9
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Udev problems

    The problem is that I'm using fluxbox...
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

  10. #10
    Join Date
    May 2008
    Beans
    605
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Udev problems

    ...and I DON'T want all my fluxbox stuff being overridden by gnome-session.
    Use Dropbox! Sign up using this link: http://www.dropbox.com/referrals/NTEyMzg5Nzc5 and get free space!!
    Registered Linux User #525815
    Check out Musik - a FOSS text-to-music converter!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •