Author Topic: Debian On Pdaxrom  (Read 48423 times)

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #15 on: January 02, 2005, 09:48:13 am »
Hey there,

everytime i try to start an X- application (dillo, xpdf, ...)
i get an error
Quote
Gtk-Warning **: cannot open display: :0.0
or
Quote
Error: Cant´t open display: :0.0

some hints?

Denis

mars

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Debian On Pdaxrom
« Reply #16 on: January 02, 2005, 12:28:08 pm »
Andrea,

The brutal "xhost +localhost" from the pdaxrom enviroment worked like a charm for running debian x-apps -- although Iĺl still try to see if I can get the .Xauthority method to work. Now to apt-get some apps missing from pdaXrom . . .

Thanks a zillion!  
C-3100 (reaquainting myself with Cacko) / Nokia 810 / Nokia N800 / Asus eeePC
Previously owned: SL-5500 / SL-5600 / SL-6000L / C-860 / Nokia 770 / Pepperpad 3

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #17 on: January 02, 2005, 05:02:24 pm »
Quote
Gtk-Warning **: cannot open display: :0.0
or
Error: Cant´t open display: :0.0
Did you set up the DISPLAY enviroment variable? And did you change the "startx" command (the pdaxrom one) by removing the line "-nolisten tcp"?

Anyway: try the following from a pdaxrom aterm (or xterm):

xhost +locahost (see previous posts about why you could need this one)

Crd bash

when you get to the bash prompt inside the chroot do:

export DISPLAY=127.0.0.1:0

then try to run dillo or any other X application.

If you still get an error, please check for the removal of "-nolisten tcp" in startx (if you have to remove it now, remember to restart the X server).

If your application starts ok, the problem was with the DISPLAY variable. Edit the "Crd" script and add DISPLAY=127.0.0.1:0 to the beginning of the last line (I hope it's the last by default, my Crd script is somewhat hacked...).

If nothing of the above is working, I'm somewhat clueless about it...  

Ciao,

Andrea

P.S. For mars: happy to be helpful!

P.P.S. It's completely (well, mostly) off-topic, but... do you know if so called "high-speed" SD card are really faster on the Z? Does the driver really support higher speeds? (I've a 512 Mb Lexar, and I'm considering the possibility to go for a 1 Gb Lexar at 32x)

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Debian On Pdaxrom
« Reply #18 on: January 02, 2005, 07:02:09 pm »
ot answer: I'm almost sure that zaurus controller/software cannot handle high speeds. Anyway, I've got a 60x 1GB - if you tell me how, I can test it for you

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Debian On Pdaxrom
« Reply #19 on: January 03, 2005, 02:03:23 am »
bonnie is a good program for testing the speed of your memory card, see this thread for info: https://www.oesf.org/forums/inde...=5380&hl=bonnie
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #20 on: January 03, 2005, 04:17:24 am »
Hi guys,

On Debian, installing synaptic (GUI) pkg manager instead of aptitude.
On Debian, installing geg (gnuplot like)
On Debian, trying Blender, Celestia, gdis ..... But need libGLU.so.1, need GLX extension xlib. But It looks like it is a dream because Zaurus ATI GC seems not be able to use OpenGL.

did anybody know how fake-gl works ?

Regards and happy new year,

Richard.

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #21 on: January 03, 2005, 05:02:05 am »
Quote
But need libGLU.so.1, need GLX extension xlib. But It looks like it is a dream because Zaurus ATI GC seems not be able to use OpenGL.

did anybody know how fake-gl works ?
Hi Richard,

the fake-opengl is just a dummy package that Klaus created to avoid pulling in the real thing (and then consuming space) due to some dependency with some other package (can't remember which, ehm...).

If you've already tried to deinstall it and install the real thing and it doesn't work... I have no idea how we could fix it (beside hacking at opengl source...).

Sorry I couldn't be more helpful, but I never needed opengl program on my Z (besides, now that I think about it... the missing FPU on the Z could make opengl programs run REALLY slow...).

Bye,

Andrea

P.S. rgrep, thanks for the info, I'm running "bonnie" to test my SD now...
« Last Edit: January 03, 2005, 05:18:40 am by CyberWolf »

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #22 on: January 03, 2005, 02:30:41 pm »
Hello Cyberwolf,

thank you for your help. now it works phantastic!  

but now i´ve got another question:

is it possible to mount my CF Card in the chrooted debian-system?
I have lots of PDF on my card but i cannot use them (only copy to chrooted directory)

any hints?

thank you

Denis

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #23 on: January 03, 2005, 06:23:04 pm »
Quote
is it possible to mount my CF Card in the chrooted debian-system?
I have lots of PDF on my card but i cannot use them (only copy to chrooted directory)

any hints?
Yes, you can... I don't have access to my Z now, but I remember I had to play a little to get it working...

There are /dev/hda and /dev/hda1 (assuming you only have 1 partition on your CF card) in the Debian chrooted enviroment?

If there aren't, you can create them by typing (while chrooted into debian):

Code: [Select]
mknod b 3 0 /dev/hda
mknod b 3 1 /dev/hda1

Then maybe (more on this "maybe" below) you could mount the CF card from the chroot enviroment by typing the usual:

Code: [Select]
mount /dev/hda1 /mnt (or whatever you want to mount your CF)
The "maybe" above is becase I remember some message about "/dev/hda1 already mounted"... if you get that, try the following from the pdaxrom enviroment:

Code: [Select]
mount --bind /mnt/cf /mnt/card/debroot/mnt (or whatever you want to mount your CF)
I use the above line in a changed /etc/pcmcia/ide script to mount the CF in both places automatically if I've already inserted my SD card (which stays inside my Z most of the time).

Hope this helps, bye!

Andrea
« Last Edit: January 03, 2005, 06:23:33 pm by CyberWolf »

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #24 on: January 04, 2005, 06:23:48 am »
Hello Cyberwolf,

tried
Quote
mknod b 3 0 /dev/hda
and get following error
Quote
mknod: invalid device type ´3´

which is the right device type?

thanks

Denis

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #25 on: January 04, 2005, 11:05:16 am »
Quote
mknod: invalid device type ´3´
Doh!!!!  

My mistake, the mknod syntax I've used in the post above is wrong. The correct one is:

Code: [Select]
mknod /dev/hda b 3 0
mknod /dev/hda1 b 3 1

Sorry, next time I'll check man page/command help BEFORE writing the post  

Ciao,

Andrea

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #26 on: January 04, 2005, 12:47:15 pm »
Hello CyberWolf,

that works   !  Thank you very much,

now nearly all my dreams have come true  

bye, Denis

freebird

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Debian On Pdaxrom
« Reply #27 on: January 05, 2005, 12:57:13 pm »
hello cyberwolf

first i want thank you for this great idea

to have the two systems is intresting

but i want to knew if the feeds for debian-system are already compiled as for pdaxrom or we have the compile them our selfs (what is diffcult for me as i am not a developper)

if yes please tell us where the find the compiled feeds


thanks

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Debian On Pdaxrom
« Reply #28 on: January 05, 2005, 05:59:24 pm »
debian arm packages are precompiled and present in debian feed normally, as x86 ones

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #29 on: January 05, 2005, 06:06:28 pm »
Quote
first i want thank you for this great idea
to have the two systems is intresting

but i want to knew if the feeds for debian-system are already compiled as for pdaxrom or we have the compile them our selfs (what is diffcult for me as i am not a developper)
Hello freebird,

first I must say that the idea isn't mine, but of Klaus Weidner (look at http://pocketworkstation.org).

I've just written here what you have to do to use chrooted Debian with PdaXrom with a different setup than the one explained on the above page.

Now, about the feeds... that's a bit complicated, I'll try to explain it as my best (my english isn't very helpful in this sense).

With a chrooted Debian you are NOT running stuff DIRECTLY in the pdaxrom system, but in what is called a chroot jail... in this chrooted enviroment, you've a (mostly) complete Debian system, installed as it was a stand alone operating system (but let me state this: programs are compiled to run on the arm processor of the Z, so no emulation is involved).

When you want to run Debian programs (including its package manager, which uses .deb package instead of .ipk and uses apt sources instead of feeds), you "chroot" inside that system before and then run the program...

The trick is to open the X server (the graphic interface) used by pdaxrom so that the applications you have started in the chrooted debian enviroment can be used from pdaxrom...

I guess that's a bit unclear, but that's the best I can try to explain!  

I suggest you download the stuff listed on pocketworkstation (link above), read the documentation and then get back to this thread... otherwise, you have to find someone who can explain things better in english (anybody out there?), sorry...

Bye,

Andrea
« Last Edit: January 05, 2005, 06:08:31 pm by CyberWolf »