![]() |
Advanced Question: Is it possible to run apps from Harmattan on desktop?
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 Code:
QML QDeclarativeImage_QML_51: Failed to get image from provider: image://.... |
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
just use VNC and you dont need to do any tricks.
|
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
I never had any problem running desktop Linux apps on my N900 using X display back. However, it never worked the other way around. Just like you said, the X11 forwarding doesn't do the trick when trying to run the Maemo applications on a desktop client.
The problem lies in the fact that most Maemo apps are written expecting a very specific OpenGL ES compatible display driver. I think it's a matter of the code being overly optimized. Sometimes I can catch an error on the display like this: Xlib: extension "Generic Event Extension" missing on display ":2.0". Basically, the full X11 display on the Linux desktop is missing a component that the Maemo apps need to run on that framebuffer. :( |
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
Surprise! It turns out that what Harmattan uses is hardly X11 any more.
(Well, not a surprise for me..) A suggestion is to try something like "-graphicssystem raster". Google around for more information. |
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
Quote:
Remember that on Maemo most binaries are just wrappers around maemo-launcher. Thus they inherit the environment from the maemo-launcher instance, and not the one from the current shell. Using maemo-invoker might help there. You also need to run the theme daemon (which iirc is not mandatory on Harmattan, but it is on Fremantle). |
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
Quote:
Thanks! :D |
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
Thanks everyone.
My target goal is to xembed the running applications on the desktop when the phone is in "dock" mode. I have a broader goal which is awesome but its too early to widespread. Since X11 seems to be a troublesome angle, I will try to take the vnc road. |
Re: Advanced Question: Is it possible to run apps from Harmattan on desktop?
Quote:
So quite hard to do, unless you want to run desktop applications. |
All times are GMT. The time now is 03:37. |
vBulletin® Version 3.8.8