ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #04253
Re: Running qmlscene from the terminal
hi,
On Tue, 24 Sep 2013 15:42:31 -0300
Gustavo Niemeyer <gustavo.niemeyer@xxxxxxxxxxxxx> wrote:
> Just had a long debugging session with help from Ricardo Salveti, and
> he provided a few workarounds that have helped getting qmlscene to be
> runnable from the terminal (or adb shell).
>
> So, for the record, here are a few points to keep in mind if you want
> to do this:
>
> 1) If you are root, run "su - phablet" so you get into the right user
> environment
>
never ever use su on teh touch images, it gets you a different environment than sudo ...
also you need to use the -i option to sudo to make it process the bits from
/etc/profile.d, else you will not have access to the upstart session or to dbus
ciao
oli
Attachment:
pgpoVvFE8nR97.pgp
Description: PGP signature
Follow ups
References