Page 6 of 6 FirstFirst 123456
Results 51 to 59 of 59

Thread: om on ubuntu/kubuntu

  1. #51
    Constant Bitrate chronoglass's Avatar
    Join Date
    Nov 2009
    Posts
    141
    i have to admit.. i've lost my mind.. I don't know if I just have every possible version of audio hardware that is unsupported or what.. but as a test i decided it was time to install OM on a windows machine.. I just want to see the new music skin! WAAAHHH

    Windows xp, Lenovo t43 laptop.. install OM... can't get to the music skin.. it won't load.. whiskey.. tango.. foxtrot.
    ---------
    I'll do the bumbling, and i'll be the idiot.
    if you've got a "stupid" question, search for some of mine!

  2. #52
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,555
    Quote Originally Posted by justchat_1 View Post
    Just tattoo it on your head-its easier.......

    On that note..is there an easy way for a program running as root to detect if the local user has access to a certain directory? (So I can try to discourage excessive use of root)
    You can always just query the file/folder ownership...

    installing things is a normal root operation. For just running applications, apps shouldn't be writing anywhere but /home/[username] or possibly /tmp. If there is a directory in the users home directory that the user can't access, that user probably did something wrong (like running user apps as root for instance).

    That said, what's the exact issue here? Maybe there is a use-case I'm not thinking of...

    Also, don't run user apps with sudo... same issue.
    Former author of LinuxICE, nghost.
    Current author of nobdy.

  3. #53
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    Quote Originally Posted by chronoglass View Post
    i have to admit.. i've lost my mind.. I don't know if I just have every possible version of audio hardware that is unsupported or what.. but as a test i decided it was time to install OM on a windows machine.. I just want to see the new music skin! WAAAHHH

    Windows xp, Lenovo t43 laptop.. install OM... can't get to the music skin.. it won't load.. whiskey.. tango.. foxtrot.
    It's driving me crazy too!! I installed on regular netbook and kubuntu and everything worked...but if gstreamer works (which it does since you can play music in other apps) it shouldn't be a hardware issue. I'm banging my head against a wall with this stuff.
    XP i've never had anyone report that kind of issue...can you re-install the music skin and om player just as a double check? (and was that regular 0.8 or one of the 0.9 trunk builds)

    Quote Originally Posted by tripzero View Post
    You can always just query the file/folder ownership...

    installing things is a normal root operation. For just running applications, apps shouldn't be writing anywhere but /home/[username] or possibly /tmp. If there is a directory in the users home directory that the user can't access, that user probably did something wrong (like running user apps as root for instance).

    That said, what's the exact issue here? Maybe there is a use-case I'm not thinking of...

    Also, don't run user apps with sudo... same issue.
    Yea we try to follow that dynamic...root for OM installation and for plugin installation but everything else runs as the regular user. I'm wondering if depending on the installation path can we get rid of the root to install plugins requirement? In order to do that....after the user installs OM we would need some kind of check when creating the shortcuts to determine if that path can be accessed by the local user or only by root.

    Querying who has permissions for a folder isn't too hard....but if your running as root how do you know who the regular user is? or is there a group we can check for to see if the regular user has access?

  4. #54
    Constant Bitrate chronoglass's Avatar
    Join Date
    Nov 2009
    Posts
    141
    Quote Originally Posted by justchat_1 View Post
    It's driving me crazy too!! I installed on regular netbook and kubuntu and everything worked...but if gstreamer works (which it does since you can play music in other apps) it shouldn't be a hardware issue. I'm banging my head against a wall with this stuff.
    XP i've never had anyone report that kind of issue...can you re-install the music skin and om player just as a double check? (and was that regular 0.8 or one of the 0.9 trunk builds)
    Sorry, it was regular 0.8
    I might grab a trunk build as well for the gits and shiggles.

    ---------
    I'll do the bumbling, and i'll be the idiot.
    if you've got a "stupid" question, search for some of mine!

  5. #55
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,555
    Quote Originally Posted by justchat_1 View Post
    Yea we try to follow that dynamic...root for OM installation and for plugin installation but everything else runs as the regular user. I'm wondering if depending on the installation path can we get rid of the root to install plugins requirement? In order to do that....after the user installs OM we would need some kind of check when creating the shortcuts to determine if that path can be accessed by the local user or only by root.

    Querying who has permissions for a folder isn't too hard....but if your running as root how do you know who the regular user is? or is there a group we can check for to see if the regular user has access?
    who installs plugins OpenMobile.exe or some other process? If OpenMobile installs them, I'd either install them in the users home directory (~/.config/OM/plugins/ wouldn't be a bad place) or I'd offload installation to another app that OM.exe calls with gksudo or similar so that the system security policy can manage what permissions to grant that app (most systems would just spawn a password dialog to the user).

    This is an interesting issue that's the side effect of using your own package management system (which btw, I understand the reasons for using).
    Former author of LinuxICE, nghost.
    Current author of nobdy.

  6. #56
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    Quote Originally Posted by tripzero View Post
    who installs plugins OpenMobile.exe or some other process? If OpenMobile installs them, I'd either install them in the users home directory (~/.config/OM/plugins/ wouldn't be a bad place) or I'd offload installation to another app that OM.exe calls with gksudo or similar so that the system security policy can manage what permissions to grant that app (most systems would just spawn a password dialog to the user).

    This is an interesting issue that's the side effect of using your own package management system (which btw, I understand the reasons for using).
    Currently our package manager handles installation and its launched with gksudo (or similar depending on the distro). Its kind of a toss up though....keeping apps in a protected directory is a great security feature (we know they can't be tampered with)....but at the same time prompting for a password in order to handle installation isn't exactly user friendly. I was thinking that if the user wants security we keep password prompts but if a user wants convenience they use a non-secure directory. Which then brings us to the problem of trying to figure out which is which.

    For regular Linux use its obviously essential to have password prompts for any potentially dangerous tasks....but in a car that would be a giant inconvenience. I know android and iOS use a package management service that runs as root but can be called from anyone (using some kind of IPC i believe) but us getting to that point is probably a few months away.

    Unless there's some other option to maintain security but also keep things user friendly?

  7. #57
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,555
    Quote Originally Posted by justchat_1 View Post
    Currently our package manager handles installation and its launched with gksudo (or similar depending on the distro). Its kind of a toss up though....keeping apps in a protected directory is a great security feature (we know they can't be tampered with)....but at the same time prompting for a password in order to handle installation isn't exactly user friendly. I was thinking that if the user wants security we keep password prompts but if a user wants convenience they use a non-secure directory. Which then brings us to the problem of trying to figure out which is which.

    For regular Linux use its obviously essential to have password prompts for any potentially dangerous tasks....but in a car that would be a giant inconvenience. I know android and iOS use a package management service that runs as root but can be called from anyone (using some kind of IPC i believe) but us getting to that point is probably a few months away.

    Unless there's some other option to maintain security but also keep things user friendly?
    In LinuxICE we cheated a bit by giving the user root-level access specific commands in the /etc/sudoers file. We could get away with that because we are the operating system. You wouldn't be able to do things like that.

    Your idea of having a special package management daemon that is started by init and listens on the dbus system bus for commands is probably a decent route to go.
    Former author of LinuxICE, nghost.
    Current author of nobdy.

  8. #58
    Constant Bitrate chronoglass's Avatar
    Join Date
    Nov 2009
    Posts
    141
    Quote Originally Posted by chronoglass View Post
    Sorry, it was regular 0.8
    I might grab a trunk build as well for the gits and shiggles.

    ok, so a full uninstall and reinstall on the xp machine worked... BUT i had to search out any OM dirs.
    so now I've seen and tested the skin.. I'm a bit happier! lol

    back to terminal land.. i've done the install on a completely clean install of multiple ubuntu distros with no luck still.. BUT i'll try and clean everything up and see what I can make happen.

    far from done beating this beast into submission!
    ---------
    I'll do the bumbling, and i'll be the idiot.
    if you've got a "stupid" question, search for some of mine!

  9. #59
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    Quote Originally Posted by tripzero View Post
    In LinuxICE we cheated a bit by giving the user root-level access specific commands in the /etc/sudoers file. We could get away with that because we are the operating system. You wouldn't be able to do things like that.
    Thats a clever idea... couldn't anyone running as root edit that file though? even an installer?

    Giving the package manager passwordless root access could probably solve the issues.
    Quote Originally Posted by chronoglass View Post
    ok, so a full uninstall and reinstall on the xp machine worked... BUT i had to search out any OM dirs.
    so now I've seen and tested the skin.. I'm a bit happier! lol

    back to terminal land.. i've done the install on a completely clean install of multiple ubuntu distros with no luck still.. BUT i'll try and clean everything up and see what I can make happen.

    far from done beating this beast into submission!
    Some users have everything installed and working (like in the other linux thread) in 20mins.....and on some installs it seems to have issues no matter what is tried. I really wish I could figure out what the difference was.

Page 6 of 6 FirstFirst 123456

Similar Threads

  1. Om + pandaboard + ubuntu
    By Punky in forum OpenMobile
    Replies: 22
    Last Post: 04-04-2011, 04:22 AM
  2. om on the igep
    By tripzero in forum OpenMobile
    Replies: 10
    Last Post: 12-08-2010, 01:51 PM
  3. Should I move from cf to om?
    By TheGuv in forum OpenMobile
    Replies: 102
    Last Post: 10-13-2010, 09:43 PM
  4. OM won't run
    By my87ss in forum OpenMobile
    Replies: 1
    Last Post: 10-13-2010, 04:24 AM
  5. OM Install help and a couple other Qs
    By Squirtez in forum OpenMobile
    Replies: 1
    Last Post: 10-09-2010, 03:39 PM

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
  •