Re: [Ubuntu-phone] Running qmlscene from the terminal

2013-09-24 Thread Gustavo Niemeyer
Sorry for being curious, but again: where is the significant difference? I'm using su - right now, and it works. I can also use upstart, and it also works. Here is the difference between the two environments: root@ubuntu-phablet:/# su - phablet phablet@ubuntu-phablet:~$ env | sort > env1.txt pha

Re: [Ubuntu-phone] Running qmlscene from the terminal

2013-09-24 Thread Oliver Grawert
hi, On Tue, 24 Sep 2013 15:42:31 -0300 Gustavo Niemeyer 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 point

Re: [Ubuntu-phone] Running qmlscene from the terminal

2013-09-24 Thread Gustavo Niemeyer
On Tue, Sep 24, 2013 at 4:37 PM, Sergio Schvezov wrote: >> 1) If you are root, run "su - phablet" so you get into the right user >> environment > > Do this instead: > sudo -i -u phablet -H If you're root, you can type su - phablet to the same effect, I believe. If there's a significant difference

Re: [Ubuntu-phone] Running qmlscene from the terminal

2013-09-24 Thread Sergio Schvezov
On Tue, Sep 24, 2013 at 3:42 PM, Gustavo Niemeyer < gustavo.nieme...@canonical.com> 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 re

[Ubuntu-phone] Running qmlscene from the terminal

2013-09-24 Thread Gustavo Niemeyer
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 - ph