Author Topic: Debian with Xqt  (Read 116052 times)

Dez

  • Newbie
  • *
  • Posts: 4
    • View Profile
Debian with Xqt
« Reply #135 on: January 04, 2005, 07:56:06 pm »
Just adding my experiences. I'm using an SL-C3000 and so far so good. I noted wildly huge and unusable font problems with the 0.0.10 server, but curiously enough version 1.9.0 works great.

unplug

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Debian with Xqt
« Reply #136 on: January 05, 2005, 01:24:59 am »
I installed zlib (thanks to hatchetman) and solve the missing libz.so.1 problem. But I still have some problems to fire it up. Here is the error message:

Code: [Select]
mcookie: not found
xauth:  creating new authority file /home/zaurus/.Xauthority
xauth:  creating new authority file /home/zaurus/.Xauthority
Using authority file /home/zaurus/.Xauthority
xauth: (stdin):1:  bad "add" command line
xauth:  creating new authority file /home/zaurus/.Xauthority
xauth:  creating new authority file /home/zaurus/.Xauthority
Using authority file /home/zaurus/.Xauthority
xauth: (stdin):1:  bad "add" command line
 
qtApInit
SlSharedManager: can't get proc entry
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid
qtRandRRotate(0)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
create shadow image:480x640
 
qtRandRInit ()
qtInitVisualsShadow - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16
qtRandRInit ()
qtCreateDefColormap - Deferring to fbCreateDefColormap ()
qtFinishScreenInitFB - returning
qtScreenInit - returning
Could not init font path element /opt/QtPalmtop/lib/X11/fonts/75dpi/, removing
from list!
Could not init font path element /opt/QtPalmtop/lib/X11/fonts/100dpi/. removing from list!
cat: /home/zaurus/xXauthority: No such file or directory
chroot: cannot execute /startd: No such file or directory

waiting for X server to shut down

xauth: creating new authority file /home/zaurus/.Xauthority


I got same error for two different xqt version: 4.3.0-3 and 4.3.0-2 except I need to install freetype and zlib for 4.3.0-3.

I can't tell what's wrong. There is a line says: can't get proc entry. I do have /proc mounted on /mydebroot/proc
SHARP SL-6000L
Sharp ROM
pdaXrom
1GB SD
2 x 512MB CF
HAiCom HI-303S

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #137 on: January 05, 2005, 02:30:26 am »
Well I followed hatchetman's instructions - which were almost perfect.

My current problem is that the .icewm preferences file looks like it has changed drastically from the one quoted in previous posts.  The font references are different.  They read like:

TitleFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*"

for TitleFontName,MenuFontName,StatusFontName,FxFontName,QuickSiwtchFontName ... and so on

I have the icewm menu bar at the the bottom and can run most programs.  But when I launch an xterm, or any text based program like pstree, it closes about 2 or seconds later on it's own.  All the games run, but not all the other packages do?  xpdf runs, but xedit among others doesn't.

One other thing is that I unarchived all of the debian package as user zaurus - this doesn't seem to have caused any issues, as it gets launched as su anyway.  However, the un-tar exited with some errors specifically about being unable to create nodes.  Is this normal?

thanx - byz
« Last Edit: January 05, 2005, 02:31:33 am by byzantium »

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Debian with Xqt
« Reply #138 on: January 05, 2005, 08:21:54 am »
I have  the same problem

Quote
My current problem is that the .icewm preferences file looks like it has changed drastically from the one quoted in previous posts. The font references are different. They read like:

TitleFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*"

my Xterm does not close

edit: Dez you are right the 1.9.0 Xqt-Server solved the problem on my 3K to  
« Last Edit: January 05, 2005, 10:33:12 am by orange »
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #139 on: January 05, 2005, 10:37:43 am »
Strange problems that you are suffering!
From the first moment, I saw that Rxvt worked much better than Xterm, so I forgot about that last and use only the first. No one problem in one month using it...
I have not changed anything from the advices given in the web-page and am using it at full satisfaction .
Certainly, this is true with the SL-6000. With other models I cannot say anything, but I am a little bit surprised with so many difficulties. Unfortunately, I cannot help  :-(
smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #140 on: January 06, 2005, 04:46:28 am »
smuelas:

I'd like to try your procedure, but the webpage
 http://w3.mecanica.upm.es/~smuelas/debianxqt.html
has been unavailable for several days now.

I've tried the procedure on the wiki at http://wiki.debian.net/index.cgi?PocketWorkstation-XQT twice - and while I can get Pocketworkstation launching, and run a few X apps, I cannot get a terminal open, regardless of what I have tried with fonts in the preferences file.  (I'm not sure it is a font problem?)

I really want to try X/Qt with Debian, but I'm not an expert with Debian or X/Qt.  I can follow instructions, but have little understanding of what actually happens when Pocketworkstation launches.

Help!  meow
« Last Edit: January 06, 2005, 04:49:28 am by byzantium »

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #141 on: January 06, 2005, 07:22:34 am »
Hi byzantium,
The web page that you refer to is giving problems lately. Anyway, from netx monday on it should be o.k. with no more problems. I hope so....
Regarding Debian, with Vnc (Pocketworkstation) or with  X/QT, the differences are small. In my humble opinion, the only advantage of using X/QT is that you maintain at the same time Debian and the original Qtopia, with just a click to change from one to the other. This is the only advantage but it is a big advantage, as you maintain all the facilities of the original software: launching LAN, suspend mode, light control, sound control and so on. There is only one drawback that I'm sure will be fixed by the people of X/QT, and this is the rotation of the screen on the 6000.
Actually, you have a fairly complete Debian-Linux with all the GNU compilers, Java, several math packages, LaTeX, great editors: Vim, Emacs, Gedit, Scite..., XMMS, Gimp and the standard best web facilities.
All that is a lot and I've never expected to have such a jewel when I bought the 6000. It must be said, anyway, that, perhaps, this is a little bit too much for the small micro of the PDA and the short RAM memory. So one must understand that it can be done almost everything but at a slow pace.
I continue in another message as, otherwise, this will be too long
smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #142 on: January 06, 2005, 08:05:59 am »
One of the shortcomings of Debian is that most of its incredibles advantages are of no use for most people as they don't care about compilers, editors or facilities like Latex. On the other hand they are interested specially in the web capabilities: browsers and mail. Debian has the best of the best, Firefox and Thunderbird, but they are too slow for many people. It is necessary to wait for one whole minute to see appear those two after clicking. Afterwards they work quite well, but one minute for young people is too much. Personally, I prefer to wait this time and then do what I want in the usual way that having to close and open Opera several times in Qtopia to download something from the net. But I understand that this is a personal choice.
The best arrangement is to have an standard computer, an old one is enough, attached trough ethernet to the web and with the most demanding applications in it. This is what I have. I connect to it trought VNC from the 6000 using wi-fi, and I run everything, if I want, at a quick speed. Also, the standard computer can have a hard disc as big as needed and it is possible to download anything: films, music, books or software.
This is just an alternative for "no patient people%2
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #143 on: January 06, 2005, 08:33:26 am »
And now lets go to the nuts and bolts.
The first thing is to have Xqt working. For doing that you must download the needed packages and install them. I am looking (in Qtopia at the same time: the big advantage that I have mentioned) exactly what packages I have installed.
I see:  - xbase-clients   4.3.0-3
            - xbase-etc          4.3.0-3
            - xlibs                    4.3.0-3
            - xqt-fonts-misc  4.3.0-3
            - xqt-server            1.9.0
             - xqt-startup-scripts  0.0.3
             - zlib-devel           1.2.1
             - rxvt                      2.6.4-1
             - glibc-locale-ja-eucjp    2.2.2-1

and, I think, this is all. Apart from that I have some more packages with freetype fonts and "vera" fonts, but those are for Qtopia.
After installing those packages I needed to modify a little bit the file " .xinitrc " that was in /home/zaurus  as I explain in the web-page (basically, to comment the launching of blackbox).
Also I created a link between the executable " Xqt " and with the name of only " X ", in the same  directory:   ln -s  Xqt  X
Once this done, cliking the " startx " icon that should appear in the App screen, you must get the screen with the standard X's and a Rxvt console that cannot be moved or changed as you don't have window manager.
smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #144 on: January 06, 2005, 09:46:49 am »
Once Xqt is running o,k,, you can try Debian. The idea about using Debian is based on several aspects, the first one beeing that it is the only Linux distribution (to my knowledge) that has been compiled for ARM chips. It exist also another distribution, that, theoretically, should run with arm's computers, and it runs (I have tested it) but the point about this distribution is that the packages are not compiled but should be compiled in each computer. Quite sofisticated and without real advantages for normal users.So, lets forget it.
Now, packages from Debian or from any other distribution if compiled for Arm, will run in the zauruses with no problems if they don't use any graphical output. The only care to be taken being to place the needed libraries in due place. If they need graphics, an Xserver should be implemented.
Those requirements can be met trought different aproaches. One is to furnish the Xserver with a Xvnc server, and this is the way used by pocketworkstation. Another is to use the Xserver from Xqt.
I need more space.smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

smuelas

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Debian with Xqt
« Reply #145 on: January 06, 2005, 10:26:22 am »
I'm sorry but my last post has been rejected. So this one very short.
Once in the Xqt terminal, the instruction " chroot " should be launched. This will make all the "new" distribution well "ordered".
Doing it inside XQT we assure that all the rest of the original Qtopia distribution is available and the whole Debian would be just "another" qtopia application trough Xqt.
Someday I will put a very, very long explanation in the web-page, with all kind of details, but, before, I must be sure the the server doesn't go down anymore.
Cheers
smuelas
Zaurus SL-6000  --  Microdrive Hitachi 6Gb placed permanently on CF slot.

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #146 on: January 06, 2005, 12:19:51 pm »
Thanks for your willingness to help Smuelas, it's very appreciated.  I'll try this tonight when I get a chance.

unplug

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Debian with Xqt
« Reply #147 on: January 07, 2005, 12:43:16 am »
I finally installed xqt and debian successfully. Simply installing xqt-server 1.9.0 solved my pain.
SHARP SL-6000L
Sharp ROM
pdaXrom
1GB SD
2 x 512MB CF
HAiCom HI-303S

byzantium

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
Debian with Xqt
« Reply #148 on: January 07, 2005, 02:24:19 am »
I've got mine working too now.

Both using smuelas instructions on this topic, and the wiki instructions (which by the way - look corrupted?)

Using the wiki instructions, I've noticed a few issues:

xmodmap .xmodmaprc in startd doesn't work - moving it to .profile in /home/root fixed that problem

Also, even though $LANG is set, there are errors about locale
"can't set the locale; please make sure $LC_* and $LANG are correct"

I don't know if this is normal, but many applications in the Programs menu don't work.  Like lynx, etc.

I've done an apt-get update, but I'm not sure which apt-get upgrade <package>'s I should be upgrading?

Having multiple terminals, workspaces, and man pages rocks   Now I feel like my Zaurus is living up to its potential.

hatchetman

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Debian with Xqt
« Reply #149 on: January 07, 2005, 04:11:06 am »
If setting the LANG variable in the .xinitrc isn't enough, you could try to install or reconfigure the locales package.
  • dpkg-reconfigure locales
    or
  • apt-get install locales
To update I use dselect. Set the apt sources, select the update menu option, then select the install option.