Take a look at the output of “# id –Z”. If it doesn’t say “User”, try:
# echo User > /proc/self/attr/current
# su app –c “xwalkctl”
From: Dev [mailto:[email protected]] On Behalf Of Jones, Brian J
Sent: Tuesday, June 24, 2014 2:29 PM
To: McGee, Art
Cc: [email protected]; [email protected]
Subject: Re: [Dev] Installing On Crosswalk
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]<mailto:[email protected]>;
[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>]
Sent: Tuesday, June 24, 2014 2:09 PM
To: Jones, Brian J; [email protected]<mailto:[email protected]>;
[email protected]<mailto:[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
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev