Author Topic: Installation Of X/qt-debian On Sl6000  (Read 5334 times)

dranath

  • Newbie
  • *
  • Posts: 13
    • View Profile
Installation Of X/qt-debian On Sl6000
« on: May 11, 2005, 05:38:31 pm »
Hello Forum,

from the Page:
http://w3.mecanica.upm.es/%7Esmuelas/debianxqt.html
I got a pretty good look on what it could be like.

Unfortunately searching this forum didn't yield any information on the in the installation-instructions of "jfv" which are mentioned in the document above.
Can somebody help me out on this?

Or even better, did somebody document his installation of Debian/Xqt on his SL6000? The last update of the document mentioned above was some time around the beginning of December...

But because I want to install Debian on a Microdrive, there is another problem. The Microdrive will fill the CF-Slot and won't allow me to connect via a CF-LAN-Card to the network any more. Can I maybe get access to the network via the USB-Cradle? Is there also maybe a "cookbook-like-instruction"/How-To?

And if so, can I then access the Z (still running with the original Sharp-Rom) via SSH and "remote-control" the installation of Debian/Xqt?

Thanks in advance for your patience
dranath

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Installation Of X/qt-debian On Sl6000
« Reply #1 on: May 11, 2005, 06:14:34 pm »
don't sweat the jfv instructions too much. most instructions you can find here will work.
use xqt2 from feed/testing. i think smuelas covers that. do xbase clients and xlibs  and similar obvious x stuff 1st. then do fonts-misc rxvt blackbox xqt server 1.9 and startup scripts.  you should pretty much be ok from there.
 as a side note... you can do the full pocketworkstation install on version .18.  ( the INSTALL.d/postinst.sh stuuf--- though you might say no to starting Vncserver and Fbvnc 1st time around--- see the xqt on 3000 thread) I have had keymap issues with the fbvnc viewer, but the server side works great, and you can use opie-keypebble to view debian after you start Vncserver. xqt seems to work as well after this installation as it did without it.

I have been seeing gtk problems (like in abiword they are showstoppers) using xqt. I don't know if it is the new version of pocketworkstation/new debian software  or because I did the full installation.  there are no such problems using vnc...and If we can get the keymap bit sorted out the shared fbvnc looks snappier than xqt (opie-keypebble is very good too..comparable in speed to than xqt though the delays are shown in redrawing rather then in latency, but offering scaling and rotation that xqt can't touch) opie-keypebble is much smaller than xqt too, so if you are not using xqt for anything else, consider this method too.
good luck
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

dranath

  • Newbie
  • *
  • Posts: 13
    • View Profile
Installation Of X/qt-debian On Sl6000
« Reply #2 on: May 12, 2005, 04:16:31 am »
Quote
don't sweat the jfv instructions too much. most instructions you can find here will work.
Here my problem already begins: If I am searching for a simple phrase like "xqt install 6000" I get:
Code: [Select]
Sorry, but we did not find any matches to display. Try again and broaden your search criteria. If you were searching for new posts since your last visit, it's possible that there are none to show.I don't know - is there something wrong with the search-function of the board or am I doing something fundamentaly wrong (which could be the case as well :-)?

Quote
use xqt2 from feed/testing. i think smuelas covers that. do xbase clients and xlibs  and similar obvious x stuff 1st. then do fonts-misc rxvt blackbox xqt server 1.9 and startup scripts.  you should pretty much be ok from there.
 as a side note... you can do the full pocketworkstation install on version .18.  ( the INSTALL.d/postinst.sh stuuf--- though you might say no to starting Vncserver and Fbvnc 1st time around--- see the xqt on 3000 thread) I have had keymap issues with the fbvnc viewer, but the server side works great, and you can use opie-keypebble to view debian after you start Vncserver. xqt seems to work as well after this installation as it did without it.
Sorry, but could you please be a little bit more elaborate? Half of the information you give me I don't even understand. I managed to get Gentoo running on my Desktop-System, but I confess only because the Gentoo-Community produced a wonderful and great step-by-step installation manual.

So I fear Xqt will not be suited for me if the installation is too complicated - but on the other hand I would love to have the publicly available and free Debian-software on my fingertip running on my SL6000. Oh man, I fear I have to clone myself to have much more time to dig into this stuff :-)...

And again my question:
Can I access my Z with the USB-Cradle via SSH on the Sharp-Rom - to be able to install the required packages while a microdrive is in the CF-Slot rather than my LAN-Card (I don't have a WLAN Access-Point at hand...)?

Thanks for your help
dranath

malik

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Installation Of X/qt-debian On Sl6000
« Reply #3 on: May 13, 2005, 10:28:01 am »
hello adf and dranath,

dranath is right. a normal user (=end user as guylhelm says) will be "shocked"
by the existing instructions with references to other instructions and so on.

one detailed instruction for dummies would be very nice:-)

malik
borzoi, cacko 1.23 lite, 1gb kingston cf, 512mb toshiba sd.. suse 10.0

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Installation Of X/qt-debian On Sl6000
« Reply #4 on: May 13, 2005, 11:33:44 am »
Ok,.

2 things (I'll write more clearly this weekend -when not at work-)

1). I have taken to using keypebble instead of vnc for pocketworkstation. i like it

2). the main thing with XQT is you need : Xlibs, Xbase-clients, Xfonts-misc Xqt server (1.9 preferred, I think) and rxvt installed. the rest (i', pretty sure, this from memeory) is just icing.

After those are installed (the gui packagemaner will be fine)
go to home/zaurua/.xinitrc
open it with an editor, in fact, since it is text.

the last 2 lines will be
rxvt &
blackbox

change that by removing the "& blackbox" so that it only says rxvt.

download.xmodmprc from smuelas' site. put it in /home/zaurus

when you fire up xqt (not xqt server) you will eventually get a console.

type in:
su
xmodmap .xmodmaprc  (or xmodmap /home/zaurus/.xmodmaprc)
export DISPLAY=0:0
chroot /mnt/card/debroot  (or wherever you put debroot)
(some stuff works better if you do su here. security does not--your choice)
icewm

and you should be pretty much set.

can any one add/clarify/correct/improve this?
please do asap.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

dranath

  • Newbie
  • *
  • Posts: 13
    • View Profile
Installation Of X/qt-debian On Sl6000
« Reply #5 on: June 14, 2005, 01:51:59 pm »
Hello Forum, thanks adf!

After fiddling around a little bit with Open-Zaurus (OPIE as well as GPE) the last week (on both I didn't get my network running properly), I decided to return to the original Sharp-ROM and instead give XQT and Debian a try.

I tried to follow the description of the installation at:
http://wiki.debian.net/?PocketWorkstationXQT
but I already run into a problem at the very first steps.

As "root" I'm told to append a line to the file "/etc/ipkg.conf" via
# echo "src http://xqt.sourceforge.jp/feed-testing/" >> /etc/ipkg.conf

After checking those changes by
# cat /etc/ipkg.conf
I get
dest root /
dest tmpinst /home/tmp/ipkg/inst
src http://xqt.sourceforge.jp/feed-testing/

When I now issue like I'm told
# ipkg update
I recieve this error:
Code: [Select]
sed: -e expression #1, char 27: Unknown option to 's'
Downloading /Packages ...
/Packages: Invalid host name.
ipkg_download: ERROR: Failed to retrieve /Packages, returning
ipkg_update: Error downloading /Packages to /usr/lib/ipkg/lists/http://xqt.sourceforge.jp/feed-testing/

Alternatively I tried to add this URL to the "Add/Remove Software"-Applet of the "Settings"-Tab, but there either my Z froze or I got the error-message:
Code: [Select]
ipkg says something went wrong. Sorry
Could somebody please advise me in what I do wrong maybe?
Why does "IPKG" not update?

Thanks for your help and patience in advance.
dranath
« Last Edit: June 14, 2005, 04:12:10 pm by dranath »

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Installation Of X/qt-debian On Sl6000
« Reply #6 on: June 16, 2005, 05:28:22 am »
specify xqt.sourceforge.jp/feed-testing ( I think that's right) in the package manager gui.

or dl the files manually then install manually?

I've done both..
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

dranath

  • Newbie
  • *
  • Posts: 13
    • View Profile
Installation Of X/qt-debian On Sl6000
« Reply #7 on: July 12, 2005, 06:41:10 am »
Hello again,

thanks a lot for your help so far.

I installed X/Qt as far as I could understand [1], but hit another obstacle (which too unfortunately is not described in any manual/tutorial/How-To on the web).

After I'm in X-Environment (I started it issuing "startx" like I do on my Gentoo-Box to fire up KDE for example) I see the gray X-startup screen and then a console-like input window.

Where do I go from there? How can I install Debian-Packages? With "apt-get" I recieve the error-message: "bash: apt-get: command not found".

Is there a way I can check if everything is configured all right? How do I get to the point of the flashy nice windows I saw at http://w3.mecanica.upm.es/~smuelas/debianxqt.html?

Thanks a lot
dranath

[1]

format the Microdrive on my SL-6000L
umount /mnt/cf
mke2fs /dev/hda1

--------------------

download the needed IPKGs from
http://xqt.sourceforge.jp/feed-testing/
and copy them on the CF-Card

--------------------

package          destination     dependencies
zlib             int flash       none
xbase-clients    Microdrive      none
xbase-etc        int flash       none

xlibs            Microdrive      none
freetype         Microdrive      none
xqt-server       int flash       xlibs, xbase-clients, freetype
xqt-fonts-misc   Microdrive      xlibs

# xbase-etc had to be installed into the internal flash contrary to what the website told

# when I installed the package "xlibs" there was an error message that this package would depend on further packages - but according to the "control.tar"-file from the IPK this is not the case!


--------------------

su
vi /etc/fstab
/dev/hda1     /mnt/cf     ext2     defaults     0 0

--------------------

testing of X/QT by clicking on the "X/Qt Server"-icon in the "Applications"-tab - a gray background with a mouse-pointer appears

exit this window by pushing the "Pulldown-Menu"-button on the case of the Zaurus and chose "Shutdown" from the appearing menu

--------------------

download zaurus-debian-base or <*>-big from
http://pocketworkstation.org/files/
as well as
gnu-tar.gz
from the same location and copy them on the CF-Card, too

--------------------

cd /mnt/cf
gunzip gnu-tar.gz

--------------------

create the Debian folder
mkdir debroot

--------------------

unpack Debian
./gnu-tar -C /mnt/cf/debroot -xvzpf zaurus-debian-big-v0.18.tgz

--------------------

final setup procedures

cd /mnt/cf/debroot
touch startd

vi startd
#!/bin/sh
#Startup Commands
export DISPLAY=0:0
swapon /swapfile
/usr/bin/icewm-session
#Shutdown Commands
swapoff /swapfile

chmod 755 startd

--------------------

create a 64MB swap file
dd if=/dev/zero of=swapfile bs=1024 count=65536

I get the message
65536+0 records in
65536+0 records out

after doing
mkswap swapfile
I recieve the message
Setting up swapspace version 0, size = 67104768

--------------------

link the home directory to root
ln -s root home/root

--------------------

store the debroot location
pwd > /etc/debroot

### /etc/debroot is called in the .xinitrc

remove the INSTALL.d-directory from the "debroot"-directory since it wasn't used anyways
rm -fr INSTALL.d

--------------------

cd /home/zaurus
touch .xinitrc

vi .xinitrc
rxvt
#blackbox (depends on xlibs - which in this stage already is installed - so no dice)

--------------------

create a link between /home/QtPalmtop/bin/Xqt and /home/QtPalmtop/bin/X
ln -s /home/QtPalmtop/bin/Xqt /home/QtPalmtop/bin/X

--------------------

install from http://xqt.sourceforge.jp/feed-testing/ the package
rxvt
with the standard Sharp-Package-Manager

--------------------

open up a terminal and issue the command
su

now type
/sbin/chroot /mnt/cf/debroot
to changeroot into your Debian-environment - you will notice a change of the shell from "bash-2.05" to "sh-2.05b"

--------------------