[maemo-developers] 答复: [maemo-developers] maemo development on RH

From: Avdpro Pang avdpro at avdpro.net
Date: Mon Jun 6 06:06:38 EEST 2005
Hi
Thanks for your advices! I found and installed XFree86-Xnest-4.2.0-72.i386.rpm for my RH8.
Now my Xnest can start. But the scratchbox can't export display to it. 
Blow is what I do and what the console displays. Does anybody have some suggestions on this?
BTW:
	My Gnome is running on 16bit color mode which I think is ok for maemo. 
	I already created /home/Avdpro/MyDocs/ folder, but I don't have these files 	(like video1.mpg).
/////////////
[sbox-SDK_PC: ~] > af-sb-init.sh start
touch: cannot touch `/home/avdpro/MyDocs/.videos/video1.mpg': No such file or directory
touch: cannot touch `/home/avdpro/MyDocs/.videos/video2.avi': No such file or directory
touch: cannot touch `/home/avdpro/MyDocs/.sounds/clip1.wav': No such file or directory
touch: cannot touch `/home/avdpro/MyDocs/.sounds/clip2.mp3': No such file or directory
touch: cannot touch `/home/avdpro/MyDocs/.documents/sheet1.xls': No such file or directory
touch: cannot touch `/home/avdpro/MyDocs/.documents/document.doc': No such file
or directory
touch: cannot touch `/home/avdpro/MyDocs/.images/image1.png': No such file or directory
touch: cannot touch `/home/avdpro/MyDocs/.images/image2.jpg': No such file or directory
DBUS system bus is already running, doing nothing
Starting D-BUS session bus daemon
Starting Sapwood image server
Xlib: connection to "127.0.0.1:2.0" refused by server
Xlib: No protocol specified


(sapwood-server:1319): Gdk-WARNING **: cannot open display: (null)
Starting Matchbox window manager
Xlib: connection to "127.0.0.1:2.0" refused by server
Xlib: No protocol specified

matchbox-wm: can't open display! check your DISPLAY variable.
Starting Keyboard
Xlib: connection to "127.0.0.1:2.0" refused by server
Xlib: No protocol specified


(hildon-input-method:1339): Gtk-WARNING **: cannot open display:
Starting Task Navigator
Xlib: connection to "127.0.0.1:2.0" refused by server
Xlib: No protocol specified


(hildon-navigator:1349): Gtk-WARNING **: cannot open display:
Starting Home
Xlib: connection to "127.0.0.1:2.0" refused by server
Xlib: No protocol specified


(home:1359): Gtk-WARNING **: cannot open display:
Starting Statusbar
[sbox-SDK_PC: ~] > Xlib: connection to "127.0.0.1:2.0" refused by server
Xlib: No protocol specified


(hildon-status-bar:1369): Gtk-WARNING **: cannot open display:

BR
Avdpro Pang
 

-----邮件原件-----
发件人: Ed Bartosh [mailto:Eduard.Bartosh at nokia.com] 
发送时间: 2005年6月5日 18:55
收件人: ext Avdpro Pang
抄送: zuh at iki.fi; maemo-developers at maemo.org
主题: Re: [maemo-developers] maemo development on RH

Hi,

Which RedHat version do you use?
I'm using RH9 clone and Xnest is included into the distro:
whereis Xnest |cut -f2 -d' ' |xargs rpm -qf
XFree86-Xnest-4.3.0-2.90.55

I think Xnest can be easily found for at least RH from 7.1 to 9 and FC.
Package name is  XFree86-Xnest. If it's not included into your RH try to use any rpm search 
website like http://www.rpmseek.com for example.

BTW, you can also use xvnc. It has been discussed here on this
list a couple of days ago. Xvnc RH packages can also be found without a
problem and both these packages are included in my distro:
whereis Xvnc |cut -f2 -d' ' |xargs rpm -qf
vnc-server-4.0-0.beta4.1.4
whereis vncviewer |cut -f2 -d' ' |xargs rpm -qf
vnc-4.0-0.beta4.1.4  

On Sat, 2005-06-04 at 21:25, ext Avdpro Pang wrote:
> Hi
> I met a problem on Maemo on Linux.
> According to the tutorial, I need Xnest to run maemo. But I can't find Xnest for RHLinux. I think the Xnest is just a XServer for maemo. So I guess I can use my RHLinux's Gnome environment. But I don't know how to set DISPLAY for the scratchbox. Can you help me on this? 
> You know, I'm a Linux newbie. I really want to get involved into Maemo world and port our MGS. I don't want to give up at the last step of launch the Maemo GUI.
> 
> BR
> Avdpro Pang
>  
> 
> -----邮件原件-----
> 发件人: maemo-developers-bounces at maemo.org [mailto:maemo-developers-bounces at maemo.org] 代表 Kalle Vahlman
> 发送时间: 2005年5月31日 14:27
> 收件人: maemo-developers at maemo.org
> 主题: Re: ´ð¸´: [maemo-developers] maemo development on RH
> 
> DISCLAIMER: I do not use redhat, but this should work regardless
> 
> Go to
> 
> http://scratchbox.org/download/scratchbox-0.9.8/
> 
> download and install the rmp:s found there, or the tar.gz version if
> the rpms fail to work for you.
> 
> Then follow the howto starting from
> 
> http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Installing-Maemo-rootstrap
> 
> The scratchbox environment is debian, but it has nothing to do with
> the distribution you are using.
> 
> Please report any problems you might encounter (after thoroughly
> reading the howtos of course :), so we can make the process work for
> everyone.
-- 
Best regards,
Ed



More information about the maemo-developers mailing list