alan@deep-thought:~$ ssh -i /home/alan/.ssh/ubuntudevice_04c770facfe7991f_id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p2222 phablet@127.0.0.1 "bash -ic 'qmlscene /home/phablet/dev_tmp/ubuntu-clock-app/ubuntu-clock-app.qml --desktop_file_hint=/home/phablet/.local/share/applications/ubuntu-clock-app.desktop'"
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell
QXcbConnection: Could not connect to display
Looks like something wrong with the command which gets built by /usr/share/ qtcreator/ ubuntu/ scripts/ qtc_device_ run_app
Using the trunk of clock it generated
ssh -i /home/alan/ .ssh/ubuntudevi ce_04c770facfe7 991f_id_ rsa -o StrictHostKeyCh ecking= no -o UserKnownHostsF ile=/dev/ null -p2222 phablet@127.0.0.1 "bash -ic 'qmlscene /home/phablet/ dev_tmp/ ubuntu- clock-app/ ubuntu- clock-app. qml --desktop_ file_hint= /home/phablet/ .local/ share/applicati ons/ubuntu- clock-app. desktop' "
This is the result:-
alan@deep- thought: ~$ ssh -i /home/alan/ .ssh/ubuntudevi ce_04c770facfe7 991f_id_ rsa -o StrictHostKeyCh ecking= no -o UserKnownHostsF ile=/dev/ null -p2222 phablet@127.0.0.1 "bash -ic 'qmlscene /home/phablet/ dev_tmp/ ubuntu- clock-app/ ubuntu- clock-app. qml --desktop_ file_hint= /home/phablet/ .local/ share/applicati ons/ubuntu- clock-app. desktop' "
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell
QXcbConnection: Could not connect to display