Author Topic: Debian On Pdaxrom  (Read 52763 times)

Xumbi

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Debian On Pdaxrom
« Reply #60 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?
« Last Edit: January 14, 2005, 03:51:10 pm by Xumbi »

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #61 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

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Debian On Pdaxrom
« Reply #62 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)?

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Debian On Pdaxrom
« Reply #63 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

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian On Pdaxrom
« Reply #64 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.
« Last Edit: January 17, 2005, 07:53:23 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
Debian On Pdaxrom
« Reply #65 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!-  
« Last Edit: January 17, 2005, 06:14:31 pm by diesel1 »
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian On Pdaxrom
« Reply #66 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
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

freebird

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Debian On Pdaxrom
« Reply #67 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

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
Debian On Pdaxrom
« Reply #68 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.
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian On Pdaxrom
« Reply #69 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.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

hwkeye

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #70 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.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #71 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&
« Last Edit: October 07, 2005, 01:25:58 pm by pgas »
SLC-860 cacko / senao wifi

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #72 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!  
« Last Edit: October 28, 2005, 01:20:17 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On Pdaxrom
« Reply #73 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!
« Last Edit: November 01, 2005, 07:35:05 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian On Pdaxrom
« Reply #74 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)
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze