Active Topics

 


Reply
Thread Tools
frethop's Avatar
Posts: 283 | Thanked: 60 times | Joined on Nov 2005 @ It's dark in here. I hear laughing.
#1
I'm trying to see how I can use remote displays via X Windows with the 770. I'm having trouble with sapwood.

Here's a session on the 770:

~$ osso-xterm --display 192.168.1.30:0
...lots of GLIB WARNINGS
osso-xterm[995]: GLIB ERROR ** default - sapwood-theme: Failed to load pixmap file /usr/share/themes/theme1/gtk-2.0/../images/qgn_plat_application_frame_bottom.png: Failed to connect to sapwood server using '/var/tmp/sapwood-192.168.1.30:0.0': Connection refused

'/usr/lib/sapwood/sapwood-server' MUST be started before applications

aborting...
Aborted
Now, X server connections are enabled on 192.168.1.30. The file with that long ugly pathname exists. The sapwood server is running on the 770.

As an additional clue: the xterm window appears briefly on the display of 192.168.1.30 and then disappears when the above error message shows up.

Does anyone have any clues as to what is happening? Thanks!

-F
 
CrossBow's Avatar
Posts: 58 | Thanked: 5 times | Joined on Dec 2005
#2
I played around a little bit with this.

When I try this on my Mac (running Apple's X11), I get exactly the same results.

The problem is that the 770 provides services to the apps. Since the same services are not running on your desktop's gui, you get these errors.

I tried the same thing on my Linux box -- Which is running GNOME, and I do not get any errors, but I also never get a terminal.

I verified that the Linux box was configured properly by sending an xterm from the Mac.

It would probably work if you set up the same Window Manager and services on the desktop.

The maemo development environment installation instructions would be a good start.

Theoretically, you could also compile an plain old xterm that did not require any of the system services., But since you could only run similarly compiled apps, I don't see what good it would do you.
__________________
--- CrossBow

Mobile Linux? Got That.
Pepper Pad 3, Nokia 770, GP2X, Motorola A780

Please visit http://linuxslate.com/ New! Discussion boards just started.
 
Posts: 155 | Thanked: 10 times | Joined on Nov 2005 @ central georgia, usa
#3
You might want to try the developers' forum. . .
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2007
#4
I have the osso-xterm displaying on my linux box. Here's what I did:
On the linux box:

xhost +

(A little dangerous, in that it allows all machines to connect to your linux display, but saves time dealing with figuring out what IP your Nokia has.)

On the Nokia, fire up XTerminal (osso-xterm, I believe)
Type in:

export DISPLAY=xxx.xxx.xxx.xxx:0

where the x's are replaced with your IP address.
then run:

osso-xterm

That's it. I'm using WindowMaker as the windowmanager on my linux box. I do get some sapwood errors, but the xterm shows just fine.
 
Posts: 7 | Thanked: 4 times | Joined on Jul 2007
#5
to enable X11 forwarding from nokia 770, needs:
first, your ssh daemon should support X11 forwarding, as I know, the openssh-server provided by the repository of maemo2.x doesn't support X11 forwarding, but dropbear works.
and a "real" xterm, I don't think osso-xterm supports X11 forwarding, to make xterm you need build x11proto-core-dev, libxmu, libxaw first.
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#6
nxclient would be interesting
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:21.