Reply
Thread Tools
Posts: 9 | Thanked: 2 times | Joined on Apr 2010 @ Melbourne
#1
I've successfully gotten N900 apps without VNC (way faster) on my Fedora12 KDE desktop.

I want to run these apps as another user, but I haven't created an account yet.

What I did was:
1) Yum install xorg-x11-server-Xephyr-1.7.6-3.fc12.i686
2) su - (i.e. become root)
3) Xephyr :1 -host-cursor -screen 800x480x16 -dpi 96 -ac 2>/dev/null &
4) Open another terminal on the Fedora machine.
5) export DISPLAY=:1.0
6) ssh -X user@192.168.0.11 (I have ssh keys now so no more passwords).
7) /usr/bin/osso-xterm or /usr/bin/fennec (i.e. run either the xterminal or firefox).

The apps run inside the window on your KDE desktop.

As a next step I'd like to get the window manager operational on the desktop if possible. However, I'm pretty sure this'd have to be under a different account or I'd trash the "user" desktop by have two instances touching the same settings etc.

Also I reckon it's *not* a good idea to run Firefox both on the Fedora machine and the N900 at the same time under account "user". They'd both be using the same settings etc. for the one account (i.e. you'd trash things up).

One thing I noticed was the apps don't fill the whole window. I think this is because they're getting their dimensions from the desktop manager which is running on the phone for that user, which makes me think I need another user account running a different instance of the desktop.

Does anyone have two desktops running? one on the N900 and their PC?

Who would've dreamed this was even possible? it's insane!

I'd better back this thing up before going too much further....???
 

The Following User Says Thank You to melbcycle For This Useful Post:
Posts: 9 | Thanked: 2 times | Joined on Apr 2010 @ Melbourne
#2
Answering my own question here:

It seems this idea is not original. And the answer is it cannot be done. It was tried in the development environment and trashed the desktop.

http://www.gossamer-threads.com/list...velopers/17035

Essentially the scripts that launch the desktop cannot tell the difference between users (i.e. they assume there will only ever be 1 user). One of the developers hacked away at it for some time and made it work, but has forgotten (precisely) what he did.

I take that to mean, it ain't gunna go as it is with a second user.
 
Posts: 9 | Thanked: 2 times | Joined on Apr 2010 @ Melbourne
#3
While I think of it, ssh -X 192.168.0.11 won't work without xauth loaded onto the N900.

To do this, become the root user (you really need to know what you're doing from here on) and install:

1) sudo gainroot
2) apt-get install libxmuu1
3) apt-get install xauth

Don't worry about all the posts everywhere talking about compiling and loading this and that package. xauth is just there now.
 
Posts: 18 | Thanked: 10 times | Joined on Jan 2011
#4
Originally Posted by melbcycle View Post
3) apt-get install xauth
You really should mention that this is in extras-devel...
 
Posts: 310 | Thanked: 202 times | Joined on Jun 2010 @ Ireland
#5
I have no idea what you're talking about. I just made a saw.
 
Posts: 18 | Thanked: 2 times | Joined on Mar 2010 @ London, Canada
#6
Originally Posted by melbcycle View Post
One thing I noticed was the apps don't fill the whole window. I think this is because they're getting their dimensions from the desktop manager which is running on the phone for that user, which makes me think I need another user account running a different instance of the desktop.
Did you ever get the apps to fit the phone window? I've got them running but unable to see the menu.

I'm trying to fire up all my apps to export their data from a borked machine, apps like Fuelpad which will dump to xml, but not without access to the menu

Dave
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:18.