View Single Post
Posts: 329 | Thanked: 505 times | Joined on Jul 2008 @ Israel
#1
I am doing a small POC to check something out.

Basically I want:
1) To login to my user on my Harmattan device from a host using 'ssh -X'
2) Run an application from the phone and see it on my Linux desktop

Step 1 is done easily by 3 steps:
1.1) Modify /etc/passwd from 'user:!' to 'user:*'
1.2) Change /etc/ssh/sshd_config and uncomment "AuthorizedKeysFile %h/.ssh/authorized_keys"
1.3) Generate an rsa key on the host and add its content to /home/user/.ssh/authorized_keys

Step 2 is the problem.
I tried modifying the X11 forwarding settings, manually setting the DISPLAY, etc...
The closest I got was by setting the DISPLAY to 127.0.0.1:10 but then I can see the applications runnning for a second and then they crash with
Code:
QEglContext::chooseConfig(): Could not find a suitable EGL configuration 
Requested: "type=es2 rgba=0,0,0,0 surface-type=window" 
Available: 
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QEgl::display(): Falling back to EGL_DEFAULT_DISPLAY
and also a lot of
Code:
 QML QDeclarativeImage_QML_51: Failed to get image from provider: image://....
Any ideas?