OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: CyberWolf on December 28, 2004, 05:41:18 am

Title: Debian On Pdaxrom
Post by: CyberWolf on December 28, 2004, 05:41:18 am
Hello,

another user in this forum asked me how do I run pdaxrom and the chrooted debian avaiable on pocketworkstation.org.

I'm starting a new thread to describe how it can be done (it's pretty simple, anyway).

If you're wondering why to run both enviroments: I use pdaXrom as a sort of desktop replacement, pim, divx and mp3 player, etc. The debian enviroment is useful for its many packages and I use it for some kind of server use (I'm a web application programmer and sysadmin).

Now, back to the real issue.

You can find instruction on how to run chrooted debian on the above mentioned http://pocketworkstation.org (http://pocketworkstation.org) , so I'll describe here only what's needed/changes from a standard setup.

Also, you must already have created the debian chrooted enviroment, and have some files in place (/etc/debroot.conf, /etc/rc.d/init.d/zdebian, /usr/local/bin/Crd).

The setup described on pocketworkstation uses a VNC X server with a Framebuffer client, and although this has some advantages,  you have to run it from console (othervise you'll waste some memory for pdaXrom X server AND VNC X server, not to mention the fact that I don't know if the Fbvnc client can run inside of X without messing things up... sorry I haven't tried).

I prefer to run debian programs directly from pdaXrom, without the need to switch between one another.

You just need to:

1) Edit /etc/debroot.conf to suit your tastes. You must set DEBROOT as appropriate (as usual) but you can disable (put a comment before it) some stuff like DEB_RUN_VNCSERVER, DEB_RUN_FBVNC, DEB_RUN_ZAPM_PROXY, DEB_RUN_ZAPMD. It's also useful to add a "DEB_DISPLAY" variable like: DEB_DISPLAY=127.0.0.1:0 (more on this later).

2) Remove the "-nolisten tcp" from /usr/X11R6/bin/startx (better, copy the line, comment the old one and change the copy)

3) Edit /usr/local/bin/Crd and add somewhere in the last line (where the command is launched and some variables are set) the string DISPLAY=$DEB_DISPLAY

4) If you're already running the pdaXrom X interface, quit it and restart it (no need to reboot).

5) Copy pdaXrom .Xauthority to your home directory in the debian chrooted enviroment.

6) Start the debian enviroment with /etc/rc.d/init.d/zdebian start (to mount stuff like /proc, mainly)

7) Try to run something in the chroot with Crd, like "Crd xterm"

If it works, congratulations, you've done it...

You can run a shell from a pdaXrom aterm with "Crd bash", of course.


Stuff to fix:

1) It would be nice to use unix socket instead of tcp socket to avoid removing the option "-nolisten tcp", but I haven't got any idea on how to do it. So, remember to set up a firewall with iptables to avoid security problems.

2) I've noticed a problem with groups in the chrooted enviroment (the gid are inherited from pdaXrom), I'll investigate on this in these days. Anyway, it shouldn't be a problem if you run pdaXrom and the debian chrooted enviroment as root (the default).



I've surely forgotten something... and in some parts I wasn't very clear, I suspect... just ask me if you need some clarifications...

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: hwkeye on December 28, 2004, 08:01:41 am
Hi Cyberwolf,

Thanks a lot for creating this as a new thread !
I am at work for the moment, and forgot my 1Go SD Card at home.

I will follow your instructions, and enjoy Debian on PdaXrom.

Best Regards,
Richard.
Title: Debian On Pdaxrom
Post by: CyberWolf on December 28, 2004, 05:32:05 pm
I'm glad if what I've written can be of any help...

Btw, about point 2 in the "fix list", I'm experimenting with "su-ing" into my normal debian user after chrooting and this fixes the inherited group problem. It's annoying I have to enter the user password every time, so I'm thinking about changing the "Crd" script using sudo instead of su...

Well, more on this is somebody needs info for "pdaxrom as standard user AND debian chrooted as standard user" (I don't think it's a common setup as it has several drawbacks...).

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: Randolph_Carter on December 29, 2004, 08:28:16 am
Hi.
I installed Debian on my SD par your instructions, but when I start Fbvnc, the Icewm is rotated 90 degrees to right.
Am I missing something here?

Also, I have trouble exiting Fbvnc... Logout and shutdown both didn't work.
btw Fbvnc seems to work inside pdaXrom desktop
Title: Debian On Pdaxrom
Post by: hwkeye on December 29, 2004, 08:45:55 am
Hi all,

Glad to announce you, all is going very well.

I enjoy this way of using my zaurus.

#Crd dillo => give me old Debian version of dillo 0.7.x
#dillo       => give me PdaXrom Version 0.8.x

This proof of using debian or not.

Somewhere on the net, I found a way to install kde, but I can't remember where.
because it seems to me that apt-get install kde give me an error message.

see ya.

PS : Just read your message Randolph, You don't need to start Fbvnc.
just open an aterm
#/etc/rc.d/init.d/zdebian start
# Crd <debian apps> (see above)
or
#chroot /mnt/card (where you untar your debian tgz) and after you have change your root to the debian.
Title: Debian On Pdaxrom
Post by: CyberWolf on December 29, 2004, 05:19:13 pm
Quote
Hi.
I installed Debian on my SD par your instructions, but when I start Fbvnc, the Icewm is rotated 90 degrees to right.
Am I missing something here?

I suppose the screen is rotated because the kernel in pdaxrom is different from the one used in the standard sharp rom (i.e. x and y are swapped). Don't ask me why I say so, I simply seem to remember having noticed this in the past someway...

Quote
Also, I have trouble exiting Fbvnc... Logout and shutdown both didn't work.
btw Fbvnc seems to work inside pdaXrom desktop

Nice to hear it works... about logout and shutdown, I'll check it out...

Anyway, as hwkeye already said, it's not mandatory to run Fbvnc and the X VNC server if you're already running pdaXrom X server...

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: CyberWolf on December 29, 2004, 05:27:51 pm
Quote
Somewhere on the net, I found a way to install kde, but I can't remember where.
because it seems to me that apt-get install kde give me an error message.
What kind of error? Watch out for avaiable memory (maybe use a swapfile if needed) and for heavy filesystem usage when installing packages (I got problems in the past while installing/upgrading the qmail-src package).

Btw, Klaus (the author of the chrooted debian enviroment at poketworkstation) told me once that he successfully ran KDE on the Z, but it was VERY slow due to some floating point operation KDE does (the Z doesn't have a real FPU).

Of course, it's still fun to run every kind of program on a cute beastie like the Z  

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: hwkeye on December 30, 2004, 04:20:31 am
Hi guys,

Yesterday I succeed to install KDE. But I rebooted my Zaurus, by removing the battery, and it hangs.
So I have to reflash with pdaXrom and reinstall debian again.
But KDE Works.

in fact, just type :
#apt-get install kdebase (instead of kde)
after it depends what you want to do, you can install
kdemultimedia
koffice.....

regards
Title: Debian On Pdaxrom
Post by: Randolph_Carter on December 30, 2004, 11:00:35 am
hwkeye, CyberWolf: thanks for yuor help, I live happy with Debian now.
This is amazing.

about KDE, how was the speed? is it stressfree, or is it unusable?
Title: Debian On Pdaxrom
Post by: Chero on December 31, 2004, 04:30:28 am
Hi there,

Thanks for the instructions, I've got it up and running.

Every day I'm amazed what my Z can do.

Is there a list somewhere with available software for arm debian ?

Have fun,
Chero
Title: Debian On Pdaxrom
Post by: CyberWolf on December 31, 2004, 06:47:47 am
Quote
Is there a list somewhere with available software for arm debian ?
I don't know if I'm writing something you already know or maybe I'm not giving the answer you want, but:

1) if you have a network connection working (and configured under debian, mostly you need to check out /etc/resolv.conf)

2) if you've already set up your apt sources in /etc/apt/sources.list

then you can simply do (as root):

apt-get update

and then (as root or a normal user)

apt-get dumpavail

to get a list of all the packages actually avaiable for the debian version you're using (by default it should be sarge).

If you want to browse the package with a ncurses based interface, just do the apt-get update, then go for:

apt-get install aptitude

and then run "aptitude".

Finally, in case you can't do all the above, you can get a browseable list at:

http://packages.debian.org/testing/ (http://packages.debian.org/testing/)

or if you want a list of all packages for sarge:

http://packages.debian.org/testing/allpackages (http://packages.debian.org/testing/allpackages)

If you want to search for a specific package:

http://www.debian.org/distrib/packages.en....search_packages (http://www.debian.org/distrib/packages.en.html#search_packages)

Hope this can help!

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: Chero on January 01, 2005, 06:20:46 am
Yep, that was it.
Thanks for the info.
Now I really need to get myself a 1Gb SD card.

Chero.
Title: Debian On Pdaxrom
Post by: mars on January 01, 2005, 11:49:21 pm
Hi, I followed the directions at the top of the thread and when I try to launch an x-windows app, I get the following error:
Quote
Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: No protocol specifiied

Error: Can't open display!
Otherwise the chroot environment seems to be fine because I can successfully Crd shell apps like bash or apt-get. Any help or pointers would be appreciated.

Thanks!
Title: Debian On Pdaxrom
Post by: CyberWolf on January 02, 2005, 04:47:45 am
Quote
Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: No protocol specifiied

Error: Can't open display!
Hi,

it seems the X server refuses to accept your chrooted Debian X client...

Try to copy again the .Xauthority file from your pdaXrom home to your chrooted debian home and see if it changes something...

Otherwise, try a brutal "xhost +localhost" from the pdaxrom enviroment (this should open the X server to any connection originated from your own machine, which isn't good as an Xauthority file but for testing purposes it should do...).

Hope this can help!

Bye,

Andrea
Title: Debian On Pdaxrom
Post by: Chero on January 02, 2005, 06:14:19 am
Hi there,

I had to copy the .Xauthority several times too.
It seems some progams change it when you try to run them (e.g. the debian "startx").
My problem is solved when I just copy it again from /home/root to /mnt/card/debroot/home/root.

I already succesfully installed "dlume", "blackbook", "qcad", "..."

Tip for small cards :
in "/mnt/card/debroot/INSTALL.d/debroot/usr/local/bin" you can run "./debshrink" to free some space (quite usefull after installing packages)

Good luck,
(I can hardly wait to go and get myself a 1Gb SD-card, but it's sunday and all the shops are closed)

Chero
Title: Debian On Pdaxrom
Post by: deniscallies 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
Title: Debian On Pdaxrom
Post by: mars 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!  
Title: Debian On Pdaxrom
Post by: CyberWolf 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)
Title: Debian On Pdaxrom
Post by: scoutme 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
Title: Debian On Pdaxrom
Post by: rgrep 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 (https://www.oesf.org/forums/index.php?showtopic=5380&hl=bonnie)
Title: Debian On Pdaxrom
Post by: hwkeye 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.
Title: Debian On Pdaxrom
Post by: CyberWolf 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...
Title: Debian On Pdaxrom
Post by: deniscallies 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
Title: Debian On Pdaxrom
Post by: CyberWolf 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
Title: Debian On Pdaxrom
Post by: deniscallies 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
Title: Debian On Pdaxrom
Post by: CyberWolf 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
Title: Debian On Pdaxrom
Post by: deniscallies 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
Title: Debian On Pdaxrom
Post by: freebird 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
Title: Debian On Pdaxrom
Post by: scoutme on January 05, 2005, 05:59:24 pm
debian arm packages are precompiled and present in debian feed normally, as x86 ones
Title: Debian On Pdaxrom
Post by: CyberWolf 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) (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
Title: Debian On Pdaxrom
Post by: Chero on January 06, 2005, 02:21:02 am
Quote
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
Hello,

Is your Z connected to the internet ? If yes, then :

From a Aterm in pdax :
# Crd bash
zaurus:/# apt-get update (downloads the list with installable packages)

You could do :
zaurus:/# apt-get upgrade (renews all apps, libs, ... to their current version - this takes quite a while)

To install apps :
zaurus:/# apt-get install ThePackageYouWant

I did :
zaurus:/# apt-get install synaptic
zaurus:/# synaptic (this runs a package manager with a graphical user interface where you can browse the installable packages - you can also see where the feed is)

After installation process I do :
zaurus:/# /INSTALL.d/debroot/usr/local/bin/debshrink -a
zaurus:/# /INSTALL.d/debroot/usr/local/bin/debshrink -s
this clears the downloaded package-files, which you don't need anymore after installing. (just to free up some disk-space)

Hope this helps
good luck,
Chero.
Title: Debian On Pdaxrom
Post by: freebird on January 06, 2005, 03:00:29 pm
thanks chero

but my Z is not connected to the internet

can you give me the adress for download

in fact my goal is to install openoffice


cheers  
Title: Debian On Pdaxrom
Post by: pgas on January 06, 2005, 04:09:48 pm
The requirements on the open office site are:

Quote
Pentium compatible PC, 64 MB RAM, 300 MB available hard disk space

X server and graphics card capable of 800x600 resolution

Knowing that a PC (allmost) allways use swap for extra memory, I think OO will be a bit too much for the Zaurus
Title: Debian On Pdaxrom
Post by: freebird on January 07, 2005, 05:43:32 am
HI PEGAS

please find this message posted in ipk "about openoffice"

Quote
Dec 6 2004, 01:48 AM   



Group: Members
Posts: 23
Member No.: 5608
Joined: 25-November 04



 can it run openoffice 1.1 on Z in padXrom?
openoffice1.1 for linux PDA, i s good. its size is 88Mb.
know anyone it?
i need real-office-software very much

it seems that the requirment is less than what you wrote

cheers
Title: Debian On Pdaxrom
Post by: freebird on January 10, 2005, 11:03:42 am
degas

can you have look at this adress

http://porting.openoffice.org/linuxppc/ppclinks.html (http://porting.openoffice.org/linuxppc/ppclinks.html)

it is openoffice for linux pda

thanks
Title: Debian On Pdaxrom
Post by: pgas on January 10, 2005, 11:12:08 am
Quote
can you have look at this adress

http://porting.openoffice.org/linuxppc/ppclinks.html (http://porting.openoffice.org/linuxppc/ppclinks.html)

it is openoffice for linux pda

Sorry to disappoint you, but it is open office for ppc linux = linux running on powerpc processor  ie mostly Apple Mac running Linux.

the 88 megs is the size of the gzipped installation archive.

I really think  that OO, if it is possible to run it , won't be usable on the Z.

But you are free to try, if you look at the  OO porting project page (http://porting.openoffice.org/) you will see Linux/Arm (which is what the Z is running) listed with a contact  email, maybe someone can try to speak with  this person.
Title: Debian On Pdaxrom
Post by: freebird on January 10, 2005, 12:24:12 pm
thanks for you help pegas  

scoutme is gonig to tray it

he posted this message in "about openoffice" ipk
Quote
Jan 10 2005, 08:44 AM   

going to try it as soon as possible... inative arm software... a rarity 

hope it will work cause gnumeric doesn't support macros.
Title: Debian On Pdaxrom
Post by: scoutme on January 10, 2005, 02:54:31 pm
Quote
Quote
can you have look at this adress

http://porting.openoffice.org/linuxppc/ppclinks.html (http://porting.openoffice.org/linuxppc/ppclinks.html)

it is openoffice for linux pda

Sorry to disappoint you, but it is open office for ppc linux = linux running on powerpc processor  ie mostly Apple Mac running Linux.

the 88 megs is the size of the gzipped installation archive.

I really think  that OO, if it is possible to run it , won't be usable on the Z.

But you are free to try, if you look at the  OO porting project page (http://porting.openoffice.org/) you will see Linux/Arm (which is what the Z is running) listed with a contact  email, maybe someone can try to speak with  this person.
incredible...

I was so surprised and enthusiatic that I didn't realize it was POWERPC OO

Having a reduced and optimized directly supported open office suite on my zaurus sounded sooooo nice...
Title: Debian On Pdaxrom
Post by: Chero on January 11, 2005, 02:14:49 am
Quote
Quote
Quote
can you have look at this adress

http://porting.openoffice.org/linuxppc/ppclinks.html (http://porting.openoffice.org/linuxppc/ppclinks.html)

it is openoffice for linux pda

Sorry to disappoint you, but it is open office for ppc linux = linux running on powerpc processor  ie mostly Apple Mac running Linux.

the 88 megs is the size of the gzipped installation archive.

I really think  that OO, if it is possible to run it , won't be usable on the Z.

But you are free to try, if you look at the  OO porting project page (http://porting.openoffice.org/) you will see Linux/Arm (which is what the Z is running) listed with a contact  email, maybe someone can try to speak with  this person.
incredible...

I was so surprised and enthusiatic that I didn't realize it was POWERPC OO

Having a reduced and optimized directly supported open office suite on my zaurus sounded sooooo nice...  
It has been ported, but i can't find it anywhere.
take a look here :
open office porting (http://porting.openoffice.org/)

- not in the testing feed (the one suggested in the chroot)
- not in the stable
- not in the unstable (it has packages referring to openoffice, but not the package itself)

Maybe somebody else knows where to find it.

Chero.
Title: Debian On Pdaxrom
Post by: pgas on January 11, 2005, 04:05:59 am
According to  this interview (http://www.openoffice.org/editorial/peter_naulls.html) it exists, but the binaries are not in the link provided, and here (http://www.chocky.org/linux/software.html) it says that it exists in the experimental distrib but it is not running in stable...
Title: Debian On Pdaxrom
Post by: Chero on January 11, 2005, 08:01:38 am
Maybe this :Openoffice for arm ? (http://people.debian.org/~rene/openoffice.org/test/arm/)

Good luck,
Chero.
Title: Debian On Pdaxrom
Post by: Chero on January 11, 2005, 05:12:35 pm
I've got openoffice 1.1.4 installed and running on my Z !!!!

More on this subject tomorrow,
Good night,
Chero.
Title: Debian On Pdaxrom
Post by: CyberWolf on January 11, 2005, 05:28:38 pm
Quote
I've got openoffice 1.1.4 installed and running on my Z !!!!
Good! Let us know if you used the deb avaiable on the link you posted or the tar.gz (I hadn't the time to experiment yet...), and of course if it's worth it or not...

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: scoutme on January 11, 2005, 06:38:26 pm
yum...
Title: Debian On Pdaxrom
Post by: Chero on January 12, 2005, 02:14:17 am
Yep,

About openoffice :
- I used the tar.gz in the link above
- I also used the deb-packages

Here's what I did :
- I unzipped the tar.gz, browsed to the dir with the install files, ran "./setup"
- The screen showed me an unpacking window, then it said installation complete, but no go.
- I tried to install the "bin" deb package, using dpkg. This gave me errors.
- then I did "apt-get -f install" to install all the missing packages the previous commands had been asking for
- after this, I ran "./setup" from the tar.gz again, and this gave me the installation wizard of openoffice
- then i browsed to the dir where i installed it /OpenOffice/program and ran ./soffice

Is it worth it ?
- it takes quite a while to launch, when it's running speed seems ok (knowing that it is a huge full-featured program
- it takes 208Mb after install (and removing the tar.gz)
- i didn't really have time to do a lot with it
- selecting a .xls gives me the spreadsheet, a .doc gives me the text-editor.
- word docs seem ok, the spreadsheet doesn't accept decimal values (maybe now it's time to install the "bin" deb package or maybe it's another lib that isn't working correctly. I'll give it a try later today.

Have fun,
Chero.
Title: Debian On Pdaxrom
Post by: freebird on January 12, 2005, 12:47:51 pm
great work chero thanks


and thanks to you all guys
Title: Debian On Pdaxrom
Post by: Xumbi on January 12, 2005, 05:49:21 pm
Woohoo!  I followed these instructions and now I can install packages and run them right from within matchbox.

However, I have a very strange problem now.  When I'm at the command prompt in X, my caps lock keeps toggling on and off, it seems to do it by itself, and I can't figure out why.  This makes it take forever to do anything on the command line.

Does this process modify anything to do with the keyboard mappings?
Title: Debian On Pdaxrom
Post by: scoutme on January 12, 2005, 07:02:26 pm
little detail question: do I really need to use the gnu-tar.tgz file? Isn't the pdaxrom tar good? I think it should. Am I wrong?
Title: Debian On Pdaxrom
Post by: scoutme on January 12, 2005, 08:23:16 pm
Quote
Woohoo!  I followed these instructions and now I can install packages and run them right from within matchbox.

However, I have a very strange problem now.  When I'm at the command prompt in X, my caps lock keeps toggling on and off, it seems to do it by itself, and I can't figure out why.  This makes it take forever to do anything on the command line.

Does this process modify anything to do with the keyboard mappings?
had the same problem with kb mapping... caps is getting me crazy
Title: Debian On Pdaxrom
Post by: scoutme on January 12, 2005, 09:01:38 pm
this mapping problem sux!!! need to solve it
linux without tab correctly working... USELESS
Title: Debian On Pdaxrom
Post by: stbrock on January 12, 2005, 11:19:50 pm
Quote
little detail question: do I really need to use the gnu-tar.tgz file? Isn't the pdaxrom tar good? I think it should. Am I wrong?

I *think* I read that the problem was with the busybox tar, which did not have a necessary option to expand the directory structure exactly the right way. RC8 has a full tar, so it might be okay.


As to keyboard mapping, I agree 100% that this is a continuing problem in a number of different projects and circumstances. The fix itself is often fairly easy, though sometimes mysterious if seemingly correct settings don't work for some keys or some programs.  The thing that really makes it frustrating is that you often can't use your usual editors etc. to fix the keyboard map because *the keyboard map is broken* --  a classic Catch-22.  Like one time the supplied editor was vi and the colon key didn't work.  I've spent hours getting a tool that will work and then a few minutes on the fix.

So everyone -- PLEASE POST YOUR KEYBOARD MAP FIXES.  
Title: Debian On Pdaxrom
Post by: pgas on January 13, 2005, 02:39:23 am
keymapping:

maybe pocketworkstation is mapping the key in a different way as it was set up for starting in a non-x environnement.

you could try to do

Code: [Select]
xmodmap /etc/X11/kb/corgi.xmodmap
in a new terminal, but NOT in the chrooted environement.
(eventually the same with /etc/X11/kb/userdefined.xmodmap if you had modified something)

Note that I don't use it, but if what I say is true a definitive fix would be to look into the init scripts for calls to xmodmap  for instance and remove them.

gnu.tar.gz:
When you run debian as described here you are running in a chrooted environement, meaning that you in fact use another root files system. Ie if you unpack the debian distrib in /mnt/card/debian in the chrooted environement the applications will think that the files in /lib are the files in /mnt/card/debian/lib. Hence the applications use a completely different sets of libs and not the one that comes with pdaxrom.

As debian is a distribution, this ensure that the applications are using the correct version of the libs, that they find their config files in the right place etc etc...: maximum compatibility

The drawbacks are:
- it's a bit slower
- some applications do not behave correctly in a chrooted applications
- the kernel is still the pdaxrom ones and such might not be compatible with the debian distribution.

Now can you get rid of the gnu.tar.gz?, it depends, some applications built for debian might still be running (and some reports in this forum seems to indicate that some really do) with the libs that comes with pdaxrom because the libraries are not that different from one version to another.
But you have to try.  

I think .deb are like ipk tar or ar archive, meaning that you can easily decompress them and copy the files over.

I hope it clarifies things  a little bit (and that what is say is not total bullshit ;-), in this
 case please please correct me )
Title: Debian On Pdaxrom
Post by: scoutme on January 13, 2005, 04:44:46 am
the gnu-tar question referred to the need of tar during installation of chrooted debian tar, nothing to do with debian execution - I didn't explain as due.
I already tried the xmodmap thing, and that's not helpfull  basically there's a CAPS-LOCK mapped in tab key, instead of fn-tab.
I'm trying to correct init files and mapping files, but no way to correct it
Quite frustrating
Title: Debian On Pdaxrom
Post by: ScottYelich on January 13, 2005, 09:52:47 am
the gnu-tar thing may be related to an issue I was having where the system that I was
using was not able to untar the debian-big file... and I think I used the ipaq cluster to
compile a static gnutar.

in any case, if a tar works, it works... if one doesn't, try the gnu-tar....

Scott
ps: sorrry, no idea on the caps issue.
Title: Debian On Pdaxrom
Post by: CyberWolf on January 13, 2005, 10:43:40 am
Hello everyone...

About this problem with key mapping... well, I don't seem to have it. But my config it's a lot hacked, so maybe I corrected it when I used pocketworkstation with Sharp rom and I forgot it... or maybe my base install of pocketworkstation was different than the one avaiable now (btw, now that I think of it, I didn't use the debian-big or debian-standard tar.gz files, I created them with deb-bootstrap).

Anyway, there are two places when pocketworkstation can mess up with your modmap (I'm both referrring to path inside the chroot):

1) init scripts (as pgas already suggested). There could be something in /etc/init.d whiich changes mapping. You can check what's started in /etc/init.d by checking /etc/debroot.conf (outside the chroot) at the line DEB_RUN_SERVICES or similar)

2) .profile, .bashrc in the home your chrooted user, or /etc/profile or similar. Basically check for shell scripts (the ones who set the prompt, basic alias, and such).

I can't think of any other way pocketworkstation can mess things up... it's basically inoffensive  

Hope this helps somewhat!

Ciao,

Andrea

P.S. About openoffice: not enough space to check it in debian... I'll wait till I get a 1Gb SD...
Title: Debian On Pdaxrom
Post by: pgas on January 13, 2005, 11:41:23 am
see this PocketWorkstationKeymaps (http://wiki.debian.net/index.cgi?PocketWorkstationKeymaps)

perhaps looking for .xmodmaprc in the /root of the debian root might help
Title: Debian On Pdaxrom
Post by: Chero on January 13, 2005, 12:16:59 pm
Quote
P.S. About openoffice: not enough space to check it in debian... I'll wait till I get a 1Gb SD...
I've been playing a bit with the installation of openoffice.
Especially the .deb files from the link I mentioned earlier.

This doesn't improve the installation. I tried to install the "bin" package,
- it needed an extra lib (libneon...), which I found and installed.
- it needed some packages from the feed (openoffice.org, openoffice-debian-files), i downloaded those too and had to install them with the "force" option.

This installs a totally seperate version of openoffice, but, as the packages come from different sources, they are from different versions (1.1.2 and 1.1.3)

After changing .sversionrc I was able to start "ooffice" from command prompt. This gives me openoffice 1.1.2 (not too sure about this, it's what's in the title bar)
It seems to have less options than the version from the "tar.gz"(1.1.4), and i think it is a bit slower.

I think I'll stick to the "tar.gz" for now and uninstall the .deb packages, so I can use apt-get again. (For the moment is says I need to run the -f install option and remove the openoffice* packages before it can proceed - not very pretty).
The "tar.gz" gives a clean install and working version to experiment.

About the decimal values:
This is a bit strange, it accepts some and changes others. I have no clue why and there doesn't seem to be any logic in it, except from the fact that it just doesn't accept certain values (e.g. "0.21")
The behaviour is different when I format the cells before entering the values.
Then it accept more values.
(Gnumeric in pdaX also does strange things to my reals, dates, ... when I import from .xls or vice versa. (Gnumeric in Debian doesn't))

Does anyone know what to change or can think of a workaround ?
Could this be due to the chrooted system ?
Could the behaviour be different when I run the sharp-rom instead of pdaX ?

All hints are welcome.

Cheers,
Chero.
Title: Debian On Pdaxrom
Post by: Xumbi on January 13, 2005, 04:55:10 pm
Quote
Hello everyone...

About this problem with key mapping... well, I don't seem to have it. But my config it's a lot hacked, so maybe I corrected it when I used pocketworkstation with Sharp rom and I forgot it... or maybe my base install of pocketworkstation was different than the one avaiable now (btw, now that I think of it, I didn't use the debian-big or debian-standard tar.gz files, I created them with deb-bootstrap).

Anyway, there are two places when pocketworkstation can mess up with your modmap (I'm both referrring to path inside the chroot):

1) init scripts (as pgas already suggested). There could be something in /etc/init.d whiich changes mapping. You can check what's started in /etc/init.d by checking /etc/debroot.conf (outside the chroot) at the line DEB_RUN_SERVICES or similar)

2) .profile, .bashrc in the home your chrooted user, or /etc/profile or similar. Basically check for shell scripts (the ones who set the prompt, basic alias, and such).

I can't think of any other way pocketworkstation can mess things up... it's basically inoffensive   

Hope this helps somewhat!

Ciao,

Andrea

P.S. About openoffice: not enough space to check it in debian... I'll wait till I get a 1Gb SD...
1. I ran 'grep init /etc/debroot.conf', it didn't come back with anything.

2. Here's my .profile and .bashrc in /mnt/card/debian/home/root:

.bashrc
Code: [Select]
# ~/.bashrc: executed by bash(1) for non-login shells.

export PS1='\w\$ '
umask 002
unset HISTFILE

export PAGER=less
export LESS=-MCqi
export LESSCHARSET=latin1

export PATH=$HOME/bin:$PATH
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
export LS_OPTIONS='--color=never'
# eval `dircolors`
# alias ls='ls $LS_OPTIONS'

alias ll='ls $LS_OPTIONS -lFGA'
alias l='ls $LS_OPTIONS -CF'
alias m=less

# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

nd () { mkdir -p "$1"; cd "$1"; }
.profile
Code: [Select]
# ~/.profile: executed by Bourne-compatible login shells.

if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
export PATH

mesg n
I really hope we can figure this out.
Title: Debian On Pdaxrom
Post by: CyberWolf on January 13, 2005, 05:39:57 pm
Quote
1. I ran 'grep init /etc/debroot.conf', it didn't come back with anything.

No, you have to search for the line which starts with "DEB_RUN_SERVICES" and check out if it contains strange stuff (i.e. different than ssh, lpd, inetd and such).

Anyway, I checked the zaurus-debian-base-v0.17.tar.gz I have download at the time (the one which can be used for a default install) and:

1) In DEB_RUN_SERVICES there isn't anything which mess up the modmap (so I doubt there will be in your system)

2) In the native enviroment init script, it's the same as above

3) In /root no .bashrc nor .profile contains stuff which can modify the modmap, neither I can find a .xmodmaprc

4) The same goes for /etc/profile

How are you running pocketworkstation? I've assumed all the time you wanted to run applications inside PdaXrom X server, but maybe you want to run it in the normal way of pocketworkstation...

So, have you started the Xvnc server (check with the "ps" command from an aterm) or Fbvnc? Maybe one of these is messing things up...

Otherwise I'm almost out of clues...

Bye,

Andrea

P.S. To simplify things (well, maybe): can you post the contents of your /etc/debroot.conf?
Title: Debian On Pdaxrom
Post by: CyberWolf on January 13, 2005, 05:53:07 pm
Quote
Does anyone know what to change or can think of a workaround ?
Could this be due to the chrooted system ?
Could the behaviour be different when I run the sharp-rom instead of pdaX ?
Uhm... respectively: no idea, supposedly not and maybe.

More on the above:

For some kind of workaround, I don't have any idea... I can't test OO at the moment, and even in that case, I suspect I would be completely clueless  

About this behaviour being caused by the chrooted system, I doubt it... or better: I don't think it's caused from the fact that the system is chrooted, BUT it may be caused by the Debian libraries being buggy or something like it...

And finally, about trying another rom... are you crazy? This is the PdaXrom forum!!!!  

No, seriously... you can take a try, a different kernel could change things... I don't know... surely it can take some time and you must must consider if it's worth the effort (especially considering the fact that if you have success with the Sharp ROM, it's still a long way to understand why it doesn't work why PdaX and then fix things...    ).

Maybe one of the best things that can be done is sending a mail to the author of the OO packages for the arm and try to explain him or her the problem, maybe he/she can help...

Sorry if I can't be really useful...  

Bye,

Andrea

P.S. I never used so many emoticons in a message! Well... now that I'm at it...   (a ninja?)
Title: Debian On Pdaxrom
Post by: Xumbi on January 14, 2005, 03:50:07 pm
Quote
How are you running pocketworkstation? I've assumed all the time you wanted to run applications inside PdaXrom X server, but maybe you want to run it in the normal way of pocketworkstation...

So, have you started the Xvnc server (check with the "ps" command from an aterm) or Fbvnc? Maybe one of these is messing things up...
I'm running it within matchbox with Crd.  However, it doesn't seem to matter, since the problem happens if I run a command with Crd or not, even after a reboot.  I had trouble running directly to Xvnc, but I'll try it again.

My temporary fix is just that whenever I hit the tab key, I make sure I hit it twice to toggle it.

Has anyone looked into getting wine running?  It's supposed to be in the debian stable feed, but apt-get said it couldn't find it.  Maybe it hasn't been compiled for arm yet?
Title: Debian On Pdaxrom
Post by: CyberWolf on January 14, 2005, 05:06:50 pm
Quote
I'm running it within matchbox with Crd.  However, it doesn't seem to matter, since the problem happens if I run a command with Crd or not, even after a reboot.  I had trouble running directly to Xvnc, but I'll try it again.

No, you don't have to run Xvnc (unless you want to use the framebuffer client from the console)... I was just wondering if maybe it was some Xvnc script (the one opening the icewm session) which could change the modmap... but if the problem persist between reboot with no Xvnc, than this is not the cause...

Quote
My temporary fix is just that whenever I hit the tab key, I make sure I hit it twice to toggle it.

Well, this isn't perfect though

Have you tried issuing a "xmodmap -pk" and checking the output? Anything relevant?

Quote
Has anyone looked into getting wine running?  It's supposed to be in the debian stable feed, but apt-get said it couldn't find it.  Maybe it hasn't been compiled for arm yet?

Just checked it after an apt-get update... no signs of wine besides wine-doc... I could be wrong, but maybe wine runs ONLY on i386? Somebody correct me if I'm wrong...

Bye,

Andrea
Title: Debian On Pdaxrom
Post by: scoutme on January 15, 2005, 07:14:45 am
another issue directly connected with tha CAPS-LOCK one, as far as it sounds to me, is a sort of 1 or 2 seconds freeze in the terminal after pressing tab, that happend only sometimes, and make me think of some piece of software listening to that key.
Maybe the OpenBSD started by default by crd setup (debian start)?
Title: Debian On Pdaxrom
Post by: CyberWolf on January 15, 2005, 09:10:57 am
Quote
another issue directly connected with tha CAPS-LOCK one, as far as it sounds to me, is a sort of 1 or 2 seconds freeze in the terminal after pressing tab, that happend only sometimes, and make me think of some piece of software listening to that key.
Maybe the OpenBSD started by default by crd setup (debian start)?
The delay happens to me too, but I noticed it happens when I push tab on a command prompt without any typed letter yet... so the shell completion has to look up all the commands avaiable to give a list and it takes some time.

Otherwise I suppose it could happen with filename completion also, when you have several files to look through, or when you have a not-so-idle CPU...

About the OpenBSD sshd daemon started by default, I doubt it can interfere with keyboard mappings or delays (although you could experience the tab delay when the daemon is starting and eating some CPU cycles).

And a note by the way... (this doesn't have any to do with the key stuff, but I thought it deserved a mention anyway):

The init script called "zdebian" COULD be disabled altogheter. After all, if:

you don't want to start services (like sshd) in the chrooted enviroment
you can type commands in the native (pdax) enviroment so don't need the rootcmd fifo
you don't need to run zapmd (not advised with pdax, btw)
you don't need to copy /etc/resolv.conf and friends

... then you can simply call "Crd aterm" and get a working chrooted enviroment aterm (after all, you just want to chroot and run a command!).

There's just one thing to remember: this way you don't have /proc mounted in the chrooted enviroment, so this can cause problems (with mount, su, and other commands).

If you are running as root, you can simply edit the "Crd" script to do a mount of /proc inside the chrooted enviroment, though.

I hope I aven't written anything stupid  

Ciao,

Andrea
Title: Debian On Pdaxrom
Post by: Chero on January 17, 2005, 07:52:19 am
Quote
Quote
Does anyone know what to change or can think of a workaround ?
Could this be due to the chrooted system ?
Could the behaviour be different when I run the sharp-rom instead of pdaX ?
Uhm... respectively: no idea, supposedly not and maybe.

...

And finally, about trying another rom... are you crazy? This is the PdaXrom forum!!!!  

No, seriously... you can take a try, a different kernel could change things... I don't know... surely it can take some time and you must must consider if it's worth the effort (especially considering the fact that if you have success with the Sharp ROM, it's still a long way to understand why it doesn't work why PdaX and then fix things...    ).

...

Bye,

Andrea

P.S. I never used so many emoticons in a message! Well... now that I'm at it...   (a ninja?)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62426\"][{POST_SNAPBACK}][/a][/div]

You are right, this is the pdaXrom forum, but,

I tried using the Qtopia 1.21b :
- same problem
- works a lot slower (too slow to work with it) !!

So I guess i'd better stick to the pdaX-rom.

I've sent a mail to the author, keep you informed.

Importing and saving .doc doesn't seem to be problem ...
Exporting to .pdf works great !!
Presentations are fine !! I imported some .ppt and .pps files. The presentations are cool - with sound and other effects - and I can change everything I want.

OpenOffice in my pocket, this really rocks !!!

Cheers,
Chero.
Title: Debian On Pdaxrom
Post by: diesel1 on January 17, 2005, 06:01:27 pm
Hi all,

I just reflashed RC8, installed debian-big-0.17, started the vncserver, started fbvnc, got icewm but no aterms and.....

this error message 'aterm: can't open pseudo-tty'.

Also I recall being able to access the network by copying /etc/resolv.conf into the chroot file system but this doesn't seem to be working now.

Any tips before I re-install? - Harsh I know but I'm having a bad day  

Simon.

-this all seemed so easy last week!-  
Title: Debian On Pdaxrom
Post by: Chero on January 18, 2005, 03:49:43 am
Quote
Hi all,

I just reflashed RC8, installed debian-big-0.17, started the vncserver, started fbvnc, got icewm but no aterms and.....

this error message 'aterm: can't open pseudo-tty'.

Also I recall being able to access the network by copying /etc/resolv.conf into the chroot file system but this doesn't seem to be working now.

Any tips before I re-install? - Harsh I know but I'm having a bad day  

Simon.

-this all seemed so easy last week!- 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62936\"][{POST_SNAPBACK}][/a][/div]

Hi,

In pdaXrom :
just take a look at the first post in this tread again.
- did you change all the files as you should ?
- as you tried to launch fbvnc, you should copy the .Xauthority again from /home/root to /mnt/card/debroot/root
- then quit matchbox and startx again

is your pdaX connected to the net ? then just run the "zdebian start" again
(Your chroot now takes the settings of pdaX)

to start something from the chroot :
- do not run vncserver and fbvnc
- in a pdax aterm :
# Crd bash
(now your terminal is running bash from the chroot)
now try :
/# dillo
you should get dillo 0.7.3 (= debian) instead of 0.8.0 (= pdax)

(instead of Crd bash you can immediatly go for Crd dillo (or whatever))

If this doesn't work :
Reboot your Z without the SD-card in it.
Put in your card after rebooting
Run the postinst.sh again
Edit the files as in the first post in this thread
.....

This is the way I do it and it works for me.
Maybe there is another way ?

Cheers,
Chero
Title: Debian On Pdaxrom
Post by: freebird on January 18, 2005, 02:30:57 pm
Hi chero

I want try to install O.O. on my Z

but i didn't undestend:you have installed it on pdaxrom or on debian chroot ??

maybe my question is silly but i am a new linux user so forgive me  


cheers
Title: Debian On Pdaxrom
Post by: diesel1 on January 18, 2005, 02:34:02 pm
Thanks for the pointers.

I did the xhost thing and it worked again, I will check the files again.

The Zaurus sometimes seems to have a mind of its own!

Thanks for the sanity check,
Simon.
Title: Debian On Pdaxrom
Post by: Chero on January 19, 2005, 06:13:30 am
Quote
Hi chero

I want try to install O.O. on my Z

but i didn't undestend:you have installed it on pdaxrom or on debian chroot ??

maybe my question is silly but i am a new linux user so forgive me  


cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=63057\"][{POST_SNAPBACK}][/a][/div]

I have it installed on Debian. Some debian-apps can be installed on pdax, but I don't think this one can.
I didn't have a lot of time to play with OOo though. There are still some things I have to figure out how to change (e.g. fonts).
Somebody knows how to make a day last for 30 hours ?


Chero.
Title: Debian On Pdaxrom
Post by: hwkeye on March 16, 2005, 03:03:20 am
Hi Guys,

Is there anyway to boot from pdaxrom, stay in text mode, chroot to debian and start a debian's Windows manager like icewm, or wmaker ?
As we can do under X-QT.

Thanks,
Regards.
Title: Debian On Pdaxrom
Post by: pgas on October 07, 2005, 12:50:49 pm
To use the Xserver in pdaxrom without using a tcp-socket:

in pdaxrom (NOT in the chrooted environement):

Code: [Select]
mkdir /mnt/card/debroot/home/root
mount --bind /home/root /mnt/card/debroot/home/root
mount --bind /tmp /mnt/card/debroot/tmp
mount --bind /dev/ /mnt/card/debroot/dev
mount none /mnt/card/debroot/proc -t proc

voila, next
Code: [Select]
chroot /mnt/card/debroot/
aterm&
Title: Debian On Pdaxrom
Post by: ZDevil on October 28, 2005, 01:18:21 am
Pardon my stupid questions (at least better than questions unasked)... I have some troubles to get started.

The unpacking and installation of the debian seems fine, and I did ./debroot/INSTALL.d/postinst.sh accordingly (everything 'yes' unless when being asked to start VNCserver and fbvnc).

But upon booting up pdaXrom,  the last line prints

Code: [Select]
chroot: cannot execute /etc/init.d/ssh: No such file or directory
And in pdaXrom, /etc/rc.d/init.d/zdebian start  in aterm returns the same error.
Strange I found ssh in /etc/rc.d/init.d, not /etc/init.d .

And my debroot path looks a bit different: root is right under /mnt/card/debroot, not /mnt/card/debroot/home/root.

Actually I was a bit confused by what's written on the PocketWorkstation page:

Code: [Select]
Unpack the archive:
 Â       cd /mnt/card    # SD/MMC card, Sharp or OpenZaurus ROM
 Â       cd /home        # SD/MMC card, Crow ROM
 Â       cd /mnt/cf      # CompactFlash or Microdrive

# download and decompress GNU tar, busybox tar is broken in some
# versions and messes up the archive contents
wget http://pocketworkstation.org/files/gnu-tar.gz
gunzip gnu-tar.gz

So should I gnuzip gnu-tar.gz right at /mnt/card or elsewhere (/mnt/card/debroot/home)?

Many, many thanks!  
Title: Debian On Pdaxrom
Post by: ZDevil on November 01, 2005, 07:31:24 am
Hi,

I clean up debian on my SD and unpack it again, following every step in the first post, but still to no avail.  

I run the postinstall script and say "Yes" to all except the last two asking for starting VNCserver and fbvnc,

Then I did some changes to /etc/debroot.conf:
-- comment out DEB_RUN_SERVICES="ssh"
(coz chroot keeps looking for /etc/ssh upon booting up pdaX but I never manage to find /etc/ssh)
-- make sure the line is added at the end of of the file:
DEB_DISPLAY=127.0.0.1:0

Then in /usr/local/bin/Crd, I put DISPLAY=$DEB_DISPLAY at the end of the line PATH.

Next I copy .Xauthority to /mnt/card/debroot/root

Run /etc/rc.d/init.d/zdebian start, no error and back to prompt.

Then when I run Crd aterm, an error prints:
aterm: can't open display 127:0.0.1:0

So am I missing something here?  Did I do wrong in any of these steps?  I have tried over and over again but never get Debian run on top of pdaX.  Any help would be much appreciated.  Thanks!
Title: Debian On Pdaxrom
Post by: ShiroiKuma on November 01, 2005, 08:16:06 am
Quote
Hi,

I clean up debian on my SD and unpack it again, following every step in the first post, but still to no avail. 

I run the postinstall script and say "Yes" to all except the last two asking for starting VNCserver and fbvnc,

Then I did some changes to /etc/debroot.conf:
-- comment out DEB_RUN_SERVICES="ssh"
(coz chroot keeps looking for /etc/ssh upon booting up pdaX but I never manage to find /etc/ssh)
-- make sure the line is added at the end of of the file:
DEB_DISPLAY=127.0.0.1:0

Then in /usr/local/bin/Crd, I put DISPLAY=$DEB_DISPLAY at the end of the line PATH.

Next I copy .Xauthority to /mnt/card/debroot/root

Run /etc/rc.d/init.d/zdebian start, no error and back to prompt.

Then when I run Crd aterm, an error prints:
aterm: can't open display 127:0.0.1:0

So am I missing something here?  Did I do wrong in any of these steps?  I have tried over and over again but never get Debian run on top of pdaX.  Any help would be much appreciated.  Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101633\"][{POST_SNAPBACK}][/a][/div]
Did you do this?
Code: [Select]
Remove the "-nolisten tcp" from /usr/X11R6/bin/startx (better, copy the line, comment the old one and change the copy)
Title: Debian On Pdaxrom
Post by: ZDevil on November 01, 2005, 08:49:45 am
Quote
Did you do this?
Code: [Select]
Remove the "-nolisten tcp" from /usr/X11R6/bin/startx (better, copy the line, comment the old one and change the copy)[div align=\"right\"][a href=\"index.php?act=findpost&pid=101638\"][{POST_SNAPBACK}][/a][/div]

Thanks.  I have already commented out these two lines as this:

Code: [Select]
#defaultserverargs=" -nolisten tcp -kb"
#defaultserverargs=" -nolisten tcp"

But "Crd xx" still get the same error.  How could I get around this?  Thanks.
Title: Debian On Pdaxrom
Post by: Chero on November 01, 2005, 08:50:41 am
Quote
Hi,

I clean up debian on my SD and unpack it again, following every step in the first post, but still to no avail. 

I run the postinstall script and say "Yes" to all except the last two asking for starting VNCserver and fbvnc,

Then I did some changes to /etc/debroot.conf:
-- comment out DEB_RUN_SERVICES="ssh"
(coz chroot keeps looking for /etc/ssh upon booting up pdaX but I never manage to find /etc/ssh)
-- make sure the line is added at the end of of the file:
DEB_DISPLAY=127.0.0.1:0

Then in /usr/local/bin/Crd, I put DISPLAY=$DEB_DISPLAY at the end of the line PATH.

Next I copy .Xauthority to /mnt/card/debroot/root

Run /etc/rc.d/init.d/zdebian start, no error and back to prompt.

Then when I run Crd aterm, an error prints:
aterm: can't open display 127:0.0.1:0

So am I missing something here?  Did I do wrong in any of these steps?  I have tried over and over again but never get Debian run on top of pdaX.  Any help would be much appreciated.  Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101633\"][{POST_SNAPBACK}][/a][/div]

Maybe it's just X-apps that aren't running.

Try :
# Crd bash

Does this change your prompt ? Then you are running debian.

To make sure, do :
# apt-get update

Does it do something, or is apt-get unknown. If it does something, you are running debian.

The error you give has to do with the display settings.
- Make sure you copied .Xauthority (to ...../debroot/root and to be sure to ..../debroot/home/root)
- look over the file changes again
- make sure to leave and restart X before trying "Crd dillo"
- if you're running xfce, do the same to the startxfce4 script as to the startx script.

Good Luck
Chero

Good luck.
Title: Debian On Pdaxrom
Post by: ShiroiKuma on November 01, 2005, 09:03:15 am
Quote
Thanks.  I have already commented out these two lines as this:

Code: [Select]
#defaultserverargs=" -nolisten tcp -kb"
#defaultserverargs=" -nolisten tcp"

But "Crd xx" still get the same error.  How could I get around this?  Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101643\"][{POST_SNAPBACK}][/a][/div]
Don't comment out
Code: [Select]
defaultserverargs=" -nolisten tcp -kb"
Instead, change it to
Code: [Select]
defaultserverargs=" -kb"
Title: Debian On Pdaxrom
Post by: ZDevil on November 01, 2005, 09:26:56 am
Quote
Maybe it's just X-apps that aren't running.

Try :
# Crd bash

Does this change your prompt ? Then you are running debian.

To make sure, do :
# apt-get update

Does it do something, or is apt-get unknown. If it does something, you are running debian.

The error you give has to do with the display settings.
- Make sure you copied .Xauthority (to ...../debroot/root and to be sure to ..../debroot/home/root)
- look over the file changes again
- make sure to leave and restart X before trying "Crd dillo"
- if you're running xfce, do the same to the startxfce4 script as to the startx script.

Good Luck
Chero

Good luck.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101644\"][{POST_SNAPBACK}][/a][/div]

Thank you, Chero.
"Crd bash" does bring me to /#
"apt-get update" shows errors saying "Failed to fetch ..." etc.  So I guess debian is working.

But I get stuck here.  Could you tell me where to look for the startxfce4 script?  I can only find /usr/X11R6/bin/startx, not /usr/X11R6/bin/startxfce4, or do you mean xinitrc.xfce4?

Even in matchbox, running "Crd aterm" will give:
Code: [Select]
Xlib: connection to "127.0.0.1:0,0" refused by the server
Xlib: No protocol specified

aterm: can't open display 127.0.0.1:0

Also I only have /mnt/card/debroot/root, but not /mnt/card/debroot/home/root.  Do I have to add it manually?  I got confused again as to where .Xauthority should be copied to.

Sorry for these dumb questions.  
Title: Debian On Pdaxrom
Post by: ZDevil on November 01, 2005, 09:28:43 am
Thanks again, rehorrericha!

Actually I commented out the two lines and create a third with exactly what you are suggesting here.  Still no luck.  So what should I do then?  Thanks.

Quote
Quote
Thanks.  I have already commented out these two lines as this:

Code: [Select]
#defaultserverargs=" -nolisten tcp -kb"
#defaultserverargs=" -nolisten tcp"

But "Crd xx" still get the same error.  How could I get around this?  Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101643\"][{POST_SNAPBACK}][/a][/div]
Don't comment out
Code: [Select]
defaultserverargs=" -nolisten tcp -kb"
Instead, change it to
Code: [Select]
defaultserverargs=" -kb"[div align=\"right\"][a href=\"index.php?act=findpost&pid=101645\"][{POST_SNAPBACK}][/a][/div]
Title: Debian On Pdaxrom
Post by: ShiroiKuma on November 01, 2005, 09:51:12 am
Quote
Thanks again, rehorrericha!

Actually I commented out the two lines and create a third with exactly what you are suggesting here.  Still no luck.  So what should I do then?  Thanks.
OK, I think I figured out what you did wrong:
Code: [Select]
Next I copy .Xauthority to /mnt/card/debroot/root
Copy the file to /mnt/card/debroot/home/root assuming /mnt/card/debroot is the correct path to your debroot.
Title: Debian On Pdaxrom
Post by: ZDevil on November 01, 2005, 11:13:05 am
Quote
Quote
Thanks again, rehorrericha!

Actually I commented out the two lines and create a third with exactly what you are suggesting here.  Still no luck.  So what should I do then?  Thanks.
OK, I think I figured out what you did wrong:
Code: [Select]
Next I copy .Xauthority to /mnt/card/debroot/root
Copy the file to /mnt/card/debroot/home/root assuming /mnt/card/debroot is the correct path to your debroot.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101657\"][{POST_SNAPBACK}][/a][/div]

Thanks.  I corrected the path of .Xauthority and this time Crd aterm opens up a white terminal window in Matchbox.  So does it mean it's successful?  

But in Xfce4 there is still the "can't open display 127.0.0.1:0" error.  Chero mentions that I have to edit startxfce4, but I can only find startx but not startxfce4.  Any more guidance to this dummy is much appreciated.
[EDITED: Problem solved.  I am so forgetful that it is in /usr/local/bin.  After copying .Xauthority again, I get Crd aterm executed!  Thanks to all for your patience and big help.  In return if people don't mind I would like to write a step-by-step idiot summary of the whole setup process.    ]

Again did I miss something during installing Debian, because I got the root directory under /mnt/card/debroot, not /mnt/card/debroot/home/.  In fact it is empty under /mnt/card/debroot/home/  ?
Title: Debian On Pdaxrom
Post by: Chero on November 01, 2005, 03:13:23 pm
Quote
.... Chero mentions that I have to edit startxfce4, but I can only find startx but not startxfce4.  Any more guidance to this dummy is much appreciated.

Again did I miss something during installing Debian, because I got the root directory under /mnt/card/debroot, not /mnt/card/debroot/home/.  In fact it is empty under /mnt/card/debroot/home/  ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101674\"][{POST_SNAPBACK}][/a][/div]

A useful tool to install : "locate"

It's in unstable feed, it's very small, it's a must have !!!

When installed :
# updatedb.sh
This creates a database of all the file-names on the system

# locate startxfce4
This will give you :
/usr/local/bin/startxfce4

# locate startx
This will give you :
/usr/local/bin/startxfce4
/usr/X11/bin/startx

About debian : you didn't miss something, that's why I have a copy of .Xauthority in /mnt/card/debroot/home/root and in /mnt/card/debroot/root
All settings will be in the last dir.

Chero.
Title: Debian On Pdaxrom
Post by: whit on December 12, 2005, 01:02:15 am
Quote
Otherwise, try a brutal "xhost +localhost" from the pdaxrom enviroment (this should open the X server to any connection originated from your own machine, which isn't good as an Xauthority file but for testing purposes it should do...).

Still "connot open display" (this on a 3100 with rc12)
Title: Debian On Pdaxrom
Post by: whit on December 12, 2005, 01:26:01 am
Quote
when you get to the bash prompt inside the chroot do:

export DISPLAY=127.0.0.1:0

Now that's useful. Get's it to where I can at least invoke an aterm (after a manual chroot). Firefox bombs on an "Illegal instruction," but this is progress - and that step isn't in the instructions elsewhere in this thread and another.
Title: Debian On Pdaxrom
Post by: Chero on December 12, 2005, 02:19:18 am
Quote
Quote
when you get to the bash prompt inside the chroot do:

export DISPLAY=127.0.0.1:0

Now that's useful. Get's it to where I can at least invoke an aterm (after a manual chroot). Firefox bombs on an "Illegal instruction," but this is progress - and that step isn't in the instructions elsewhere in this thread and another.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106814\"][{POST_SNAPBACK}][/a][/div]

Did you make the changes as in the first post of this thread ?
Obviously, if you are using another window manager, make sure you change the correct files (it's the most obvious things that people are likely to forget).

I did some additional things :
1) linked ..../debroot/home/root to ..../debroot/root (debians homedir seems to be the last one)

2) created a script to start debian :
# .Xauthority changes when restarting X so :
cp /home/root/.Xauthority ..../debroot/home/root/.Xauthority
# I want access to file systems outside chroot :
mount -o bind /mnt/ide2 ...../debroot/mnt/ide2
mount -o bind /mnt/card ..../debroot/mnt/card
# I want my wifi to work :
cp /etc/reslov.conf ..../debroot/etc/resolv.conf
# initialize
/etc/rc.d/init.d/zdebian start

Start debian commands with Crd :
# Crd command (e.g. Crd aterm)
Works like a charm every time.

Chero.
Title: Debian On Pdaxrom
Post by: whit on December 12, 2005, 10:52:27 am
Quote
Did you make the changes as in the first post of this thread ?
Yes.

Quote
Obviously, if you are using another window manager, make sure you change the correct files (it's the most obvious things that people are likely to forget).
Nope. I'm using the stock pdaXrom window manager.
Quote
I did some additional things :
1) linked ..../debroot/home/root to ..../debroot/root (debians homedir seems to be the last one)
Well, I created /debroot/home/root and copied .Xauthority to both of them - your solution is obviously better.

Quote
2) created a script to start debian :
# .Xauthority changes when restarting X so :
cp /home/root/.Xauthority ..../debroot/home/root/.Xauthority
# I want access to file systems outside chroot :
mount -o bind /mnt/ide2 ...../debroot/mnt/ide2
mount -o bind /mnt/card ..../debroot/mnt/card
# I want my wifi to work :
cp /etc/reslov.conf ..../debroot/etc/resolv.conf
# initialize
/etc/rc.d/init.d/zdebian start

The copying of resolv.conf shouldn't be necessary, if /etc/debroot.conf is being used right, since it has

Code: [Select]
DEB_COPY_INTO_CHROOT="etc/resolv.conf"
Wonder what's going wrong there?

I see that the install has also linked S99zdebian in rc.5 to zdebian, although in the context of the initialization sequence it actually throws an error (which I can't get to right now because I'm waiting to see if Synaptic will actually finish a dist-upgrade begun about 8 hours ago). I suppose if the initialization doesn't work in the startup sequence, it might as well be removed from there since in practice we're running it manually anyway.

Quote
Start debian commands with Crd :
# Crd command (e.g. Crd aterm)
Works like a charm every time.

Well, as I noted in another thread, if I:

Code: [Select]
chroot /mnt/ide2/debroot
export DEB_DISPLAY=127.0.0.1:0
aterm

then I'm in (an "xhost +localhost" may have been required before chroot'ing too). But Crd doesn't work, and on initially chroot'ing into debroot DEB_DISPLAY isn't set right, despite DEB_DISPLAY=127.0.0.1:0 being added at the end of /etc/debroot.conf.

Since a lot of other people are running into the same

Code: [Select]
aterm: can't open display 127.0.0.1:0
as I do just following the stock instructions, I have to guess that there's some factor those don't cover, perhaps a small difference between different pdaXrom revisions or platforms or little tweaks users have incidentally given their systems.
Title: Debian On Pdaxrom
Post by: Wildherb on January 26, 2006, 07:13:01 pm
I've just got the pdaXrom beta running on my C3000 and installed debian, which appears to work fine, many thanks for helping sort out the display problems. However, some of my application require the network card to 'promiscuous', for example, Driftnet which gathers all image files floating in the wireless ether. Although it will catch any image files generated while browsing on the Zaurus, I'd like to see whatever is in the air. This application did work using the same wireless card (Ambicom) on a C3100 using the Sharp Rom and debian under X/qt. Any ideas what the problem might be?
Title: Debian On Pdaxrom
Post by: Wildherb on September 11, 2006, 04:40:44 pm
Quote
I've just got the pdaXrom beta running on my C3000 and installed debian, which appears to work fine, many thanks for helping sort out the display problems. However, some of my application require the network card to 'promiscuous', for example, Driftnet which gathers all image files floating in the wireless ether. Although it will catch any image files generated while browsing on the Zaurus, I'd like to see whatever is in the air. This application did work using the same wireless card (Ambicom) on a C3100 using the Sharp Rom and debian under X/qt. Any ideas what the problem might be?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=112586\")


To answer my own question, a Spectrum24 wireless card supports promiscuous mode and allows these apps to run as I wanted. This card runs fine under beta2 on the C3000 and can be made to work on the C3100 using the patched driver that can be found here

[a href=\"http://www.neonbox.org/zaurus/]http://www.neonbox.org/zaurus/[/url]
https://www.oesf.org/forums/index.php?showt...t=&#entry117251 (https://www.oesf.org/forums/index.php?showtopic=18057&pid=117251&mode=threaded&show=&st=&#entry117251)
Title: Debian On Pdaxrom
Post by: VirtusRex on September 30, 2006, 11:50:53 am
Quote
Quote
Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: No protocol specifiied

Error: Can't open display!
Hi,

it seems the X server refuses to accept your chrooted Debian X client...

Try to copy again the .Xauthority file from your pdaXrom home to your chrooted debian home and see if it changes something...

Otherwise, try a brutal "xhost +localhost" from the pdaxrom enviroment (this should open the X server to any connection originated from your own machine, which isn't good as an Xauthority file but for testing purposes it should do...).

Hope this can help!

Bye,

Andrea
[div align=\"right\"][a href=\"index.php?act=findpost&pid=60148\"][{POST_SNAPBACK}][/a][/div]


Hello,

I'm trying to get debian working on my pdaxrom. So far, I can chroot to the /#. Everytime I run Aterm I get the following Error:

Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: No protocol specified

GTK-WARNING **: cannot open display: 127.0.0.1:0


I've following the guides that have been posted as best as possible, but the only one I haven't tried is try a brutal "xhost +localhost" from the pdaxrom enviroment, not sure how to do this. Can someone explain the steps required to do a brutal "xhost +localhost".

Thanks,

VirtusRex
Title: Debian On Pdaxrom
Post by: Chero on October 01, 2006, 11:18:09 am
Quote
Quote
Quote
Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: No protocol specifiied

Error: Can't open display!
Hi,

it seems the X server refuses to accept your chrooted Debian X client...

Try to copy again the .Xauthority file from your pdaXrom home to your chrooted debian home and see if it changes something...

Otherwise, try a brutal "xhost +localhost" from the pdaxrom enviroment (this should open the X server to any connection originated from your own machine, which isn't good as an Xauthority file but for testing purposes it should do...).

Hope this can help!

Bye,

Andrea
[div align=\"right\"][a href=\"index.php?act=findpost&pid=60148\"][{POST_SNAPBACK}][/a][/div]


Hello,

I'm trying to get debian working on my pdaxrom. So far, I can chroot to the /#. Everytime I run Aterm I get the following Error:

Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: No protocol specified

GTK-WARNING **: cannot open display: 127.0.0.1:0


I've following the guides that have been posted as best as possible, but the only one I haven't tried is try a brutal "xhost +localhost" from the pdaxrom enviroment, not sure how to do this. Can someone explain the steps required to do a brutal "xhost +localhost".

Thanks,

VirtusRex
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142724\"][{POST_SNAPBACK}][/a][/div]

Before getting "brutal", copy the .Xauthority file to .../debroot/root and .../debroot/home/root.
This always worked for me.

Chero
Title: Debian On Pdaxrom
Post by: zeigerpuppy on October 03, 2006, 02:56:23 am
Unfortunately the openoffice.org-bin_1.1.4-1_arm.deb is missing currently,
people.debian.org/~rene/openoffice.org/test/arm/ seems to be down.
Anyone got a copy?

Really looking forward to trying OO!
Title: Debian On Pdaxrom
Post by: jocasmi on December 07, 2006, 12:59:03 pm
I got the same need   . Did you get some luck looking for the file?  
Title: Debian On Pdaxrom
Post by: Chero on December 07, 2006, 02:12:03 pm
Quote
I got the same need   . Did you get some luck looking for the file? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148417\"][{POST_SNAPBACK}][/a][/div]

I probably have it somewhere.
If you can give me a place to upload it (about 70Mb), I'll check it out.

Chero.
Title: Debian On Pdaxrom
Post by: Chero on December 08, 2006, 02:10:04 am
Quote
Quote
I got the same need   . Did you get some luck looking for the file? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148417\"][{POST_SNAPBACK}][/a][/div]

I probably have it somewhere.
If you can give me a place to upload it (about 70Mb), I'll check it out.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148431\"][{POST_SNAPBACK}][/a][/div]

I have the .deb and the tar.gz files.

Chero.
Title: Debian On Pdaxrom
Post by: radiochickenwax on April 06, 2007, 05:20:31 am
Quote
Quote
Quote
I got the same need   . Did you get some luck looking for the file? 
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=148417\")

I probably have it somewhere.
If you can give me a place to upload it (about 70Mb), I'll check it out.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148431\"][{POST_SNAPBACK}][/a][/div]

I have the .deb and the tar.gz files.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=148477\"][{POST_SNAPBACK}][/a][/div]


I think the tar.gz is available from tyrannozaurus.com. [a href=\"http://www.tyrannozaurus.com/?q=node/77]http://www.tyrannozaurus.com/?q=node/77[/url]

At least, I've managed not to lose my copy yet, if that one's not it. Could someone please upload the .deb package to this thread? It should fit the 50MB restriction?
Title: Debian On Pdaxrom
Post by: Raul on May 30, 2007, 03:26:41 pm
Quote
1) Edit /etc/debroot.conf to suit your tastes. You must set DEBROOT as appropriate (as usual) but you can disable (put a comment before it) some stuff like DEB_RUN_VNCSERVER, DEB_RUN_FBVNC, DEB_RUN_ZAPM_PROXY, DEB_RUN_ZAPMD. It's also useful to add a "DEB_DISPLAY" variable like: DEB_DISPLAY=127.0.0.1:0 (more on this later).
There is no such file after running postint.sh .



Quote
2) Remove the "-nolisten tcp" from /usr/X11R6/bin/startx (better, copy the line, comment the old one and change the copy)
There is no such file after running postint.sh .

Could anyone write a step by step instruction?
Title: Debian On Pdaxrom
Post by: Chero on May 31, 2007, 01:53:06 am
Quote
Quote
1) Edit /etc/debroot.conf to suit your tastes. You must set DEBROOT as appropriate (as usual) but you can disable (put a comment before it) some stuff like DEB_RUN_VNCSERVER, DEB_RUN_FBVNC, DEB_RUN_ZAPM_PROXY, DEB_RUN_ZAPMD. It's also useful to add a "DEB_DISPLAY" variable like: DEB_DISPLAY=127.0.0.1:0 (more on this later).
There is no such file after running postint.sh .



Quote
2) Remove the "-nolisten tcp" from /usr/X11R6/bin/startx (better, copy the line, comment the old one and change the copy)
There is no such file after running postint.sh .

Could anyone write a step by step instruction?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162303\"][{POST_SNAPBACK}][/a][/div]

What is your base system ? These instructions are for debian on pdaXrom.

Are you looking for the files in your base system or in the debroot ? They should be in your base system.

Chero.
Title: Debian On Pdaxrom
Post by: Raul on May 31, 2007, 04:46:36 am
Thanks
I never thought that files will be in pdaxrom and not debroot.
I will check that

Kind regards,
Raul
Title: Debian On Pdaxrom
Post by: adf on December 11, 2007, 09:15:15 pm
Ok--So I'm using pocketworkstation upgraded to etch on pdaxii13v2. with the backports repository I can have firefox2 and nvu, as I've said elsewhere. Everything works great...except that I'd like to be able to use the Fbvnc approach outside of X as well--mostly to zoom Nvu.  I can't seem to do this--I get a segfault line 65(I think) that says error fbvnc 127.0.0.1:1

Any ideas how this might be made to work?  I seem to recall eviljazz suggesting that the cachedfb feature in the pdaXrom kernel might have problems with fbvnc...
Title: Debian On Pdaxrom
Post by: climber on December 12, 2007, 03:22:28 am
@adf

I'm amused that pocketworkstation on pdaXii13v2 works. Which installation guide did you use for instlallation and configuration. I will do the same  
You told that you upgraded to etch on pdaxii13v2. Do you installed it from scratch or did you use the internal upgrade function?

Thanks
climber


SL-C3100 pdaXii13v2
Title: Debian On Pdaxrom
Post by: dsteuer on December 12, 2007, 03:40:36 am
Quote from: adf
Ok--So I'm using pocketworkstation upgraded to etch on pdaxii13v2. with the backports repository I can have firefox2 and nvu, as I've said elsewhere. Everything works great...except that I'd like to be able to use the Fbvnc approach outside of X as well--mostly to zoom Nvu.  I can't seem to do this--I get a segfault line 65(I think) that says error fbvnc 127.0.0.1:1

Any ideas how this might be made to work?  I seem to recall eviljazz suggesting that the cachedfb feature in the pdaXrom kernel might have problems with fbvnc...

I had the same problem of a seg-faulting fbvnc (don't remember the exact error message) . Following the hint on http://zaurusfun.4t.com/index.html (http://zaurusfun.4t.com/index.html) I installed
http://www.pocketworkstation.org/files/fbvnc-arm-1.4.gz (http://www.pocketworkstation.org/files/fbvnc-arm-1.4.gz) instead of the included fbvnc.

Worked here for C860 on pdaXrom beta 1 + pdaxrom-custum.tgz.

Hth
detlef
Title: Debian On Pdaxrom
Post by: adf on February 18, 2008, 04:35:48 pm
Wasn't paying attention-- sorry.

I used the install instructions from this thread if I remember corectly--basically I made a debroot dir in /usr (which is on the md in pdaxii13) and did the usual PW install stuff.  My upgrade was done internally --I started zdebian,did apt-get update/upgrade, changed repos to etch rebooted and did ti again--and bingo! etch on my Z.

Now I need to try that fbvncserver--it would be handy to be able to zoom around occasionally
Title: Debian On Pdaxrom
Post by: adf on February 18, 2008, 06:30:03 pm
editing zvncserver soit looks like this has helped--not quite there yet, but hopeful


# Run the VNC server in the background
Xvnc -geometry $GEOMETRY \
        -fp /usr/share/fonts/X11/misc \
        -co /usr/share/X11/rgb \ # Leave off .txt
        -depth 16 -pixelformat RGB565 \
        $AUTH $EXTRA_SERVER_ARGS \
        $DISPLAY &

Ok,got it.

It needs the fbvnc 1.7 (not 1.71) untar and copy into pdaxrom usr/local/bin  -- or someplace else
and to launch manually
Vncserver
fbvnc -hw c700 localhost:0 (I changed the scripts to display 0 instead of the default 1 as a result of a misunderstanding)

haven't tried Fbvnc yet