Ok, I got it to work from ssh. Now to try it in an rpm.
On 24 June 2014 14:30, Hofemeier, Ulf <[email protected]> wrote: > Or you export DBUS_SESSION_BUS_ADDRESS as described in > https://wiki.tizen.org/wiki/IVI/Modello > > It should work via ssh then as well. > Ulf > > > On Tue, Jun 24, 2014 at 2:29 PM, Jones, Brian J <[email protected]> > wrote: > >> Are you trying to do it via ssh? It needs to be done from the local >> console on the IVI device. Sorry, forgot to mention that. >> >> >> >> *From:* McGee, Art [mailto:[email protected]] >> *Sent:* Tuesday, June 24, 2014 2:26 PM >> *To:* Jones, Brian J >> *Cc:* [email protected]; [email protected]; VanCutsem, Geoffroy >> *Subject:* Re: Installing On Crosswalk >> >> >> >> Brian >> >> >> >> When I try it I get a dbus error. Here I'm just trying to list the apps >> on the box. >> >> >> >> root:~> su app -c"xwalkctl" >> >> Couldn't get the session bus connection: Could not connect: No such file >> or directory >> >> >> >> >> >> >> >> On 24 June 2014 14:18, Jones, Brian J <[email protected]> wrote: >> >> You can take a look at the Modello_Installer package, specifically the >> spec file. In there I’m using su app –c to execute the install as app, >> even though I’m currently root. So for example: >> >> >> >> su app –c “xwalkctl –I Modello_Homescreen.wgt” >> >> >> >> This allows you to satisfy the need of being root to install the rpm, and >> the need to be app when using xwalkctl. >> >> >> >> Hope that helps. >> >> >> >> *From:* McGee, Art [mailto:[email protected]] >> *Sent:* Tuesday, June 24, 2014 2:09 PM >> *To:* Jones, Brian J; [email protected]; [email protected]; >> VanCutsem, Geoffroy >> *Subject:* Installing On Crosswalk >> >> >> >> I have been working crosswalk 7 on Jun 02 snapshot of ivi. I've been >> able to install and run apps but only as app user. I have been unable to >> do this as root. I have an rpm that installs the apps but I need to be >> able to run the xwalkctl instructions to install the app. How do I do that >> with an rpm. If this is an existing Jira issue please share with me. If >> you think I should post one let me know. This seems to be a simple 'sudo' >> like command that would allow me to run commands as app. >> >> >> >> Thanks, >> >> >> >> -- >> >> Art McGee >> >> Infotainment Engineer >> >> Jaguar Land Rover >> >> One World Trade Center, 121 Southwest Salmon Street, 11th Floor, >> Portland, Oregon, 97204 >> >> >> >> >> >> >> >> -- >> >> Art McGee >> >> Infotainment Engineer >> >> Jaguar Land Rover >> >> One World Trade Center, 121 Southwest Salmon Street, 11th Floor, >> Portland, Oregon, 97204 >> >> >> >> _______________________________________________ >> IVI mailing list >> [email protected] >> https://lists.tizen.org/listinfo/ivi >> >> > -- Art McGee Infotainment Engineer Jaguar Land Rover One World Trade Center, 121 Southwest Salmon Street, 11th Floor, Portland, Oregon, 97204
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
