OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: JoPeters on March 11, 2004, 08:04:41 am

Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 11, 2004, 08:04:41 am
Hi,

I\'d install X/Qt Server from http://xqt.sourceforge.jp/download.html (http://xqt.sourceforge.jp/download.html).
If I start the server I get a grey screen with a cross cursor in the middle.
Pressing the menu key gives me the fullscreen/Help/shutdown function.
But - how can I start an applikatio ?
I installed blackbox and tried to start it from the terminal - the following message appeared :
] failed to set locale, reverting to \"C\"
] BaseDisplay::BaseDisplay: connection to X server failed

What\'s wrong ?

Can anybody give me (NEWBIE) a howto install X/Qt Server and
run apps with it ?

c760 with sharp rom

Thanx for any help !

Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: Stubear on March 11, 2004, 08:43:13 am
Did you install the xqt-startup-scripts ipk?

If so which of the 2 icons did you use to start the server? X/Qt Server or Start X?

X/Qt Server - starts the Xqt server allowing you to connect to an external X server
Start X - starts a local X server and Xqt allowing you to run X prog on your Z

Hope that helps

Stu
Title: X/Qt Server help needed...NEWBIE
Post by: Anonymous on March 11, 2004, 09:56:43 am
Hi,

I just did install the xqt-startup-scripts ipk.
If I trie to start StartX a few seconds \"please wait\" appeares in portrait format and then it is canceld.
So I removed the marker from \"...display with magified screen...\"
If I touch the icon now - nothing happens...8-(...
What else could be wrong ?

Thanx for any help !

Regards...

JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 11, 2004, 10:06:06 am
Try running the following from the terminal:

$ cd /opt/QtPalmtop/bin
$ ./startx-wrapper

See what it says.


Si
Title: X/Qt Server help needed...NEWBIE
Post by: Stubear on March 11, 2004, 10:13:11 am
Yes remove the dispaly with magnified screen mark - sorry should have told you that

You may need to open a terminal and killall Xqt to get rid of any zombie processes and do as Lardman suggests and run startx-wrapper from the terminal.

report any error messages here and I\'ll see if I can help

Stu
Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 12, 2004, 04:30:10 am
Hi,
here is the result of startx-wrapper :

-----------------------------------
# ./startx-wrapper
# mcookie: not found
xauth:  creating new authority file /home/root/.Xauthority
xauth:  creating new authority file /home/root/.Xauthority
Using authority file /home/root/.Xauthority
xauth: (stdin):1:  bad \"add\" command line
xauth:  creating new authority file /home/root/.Xauthority
xauth:  creating new authority file /home/root/.Xauthority
Using authority file /home/root/.Xauthority
xauth: (stdin):1:  bad \"add\" command line
xinit:  No such file or directory (errno 2):  no server \"X\" in PATH
 
Use the -- option, or make sure that /opt/QtPalmtop/bin is in your path and
that \"X\" is a program or a link to the right type of server
for your display.  Possible server names include:
 
 
xinit:  Server error.
xauth:  creating new authority file /home/root/.Xauthority
                       
---------------------------------------------------
My path includes /opt/QtPalmtop/bin .
What\'s wrong ?
Thanx for help !
Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 12, 2004, 05:11:17 am
chmod +x /etc/X11/rstart/contexts/x11r6

Regards,


Simon
Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 12, 2004, 05:50:56 am
Hi,

problem persists...8-(...same result as above

Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 12, 2004, 06:14:39 am
Hmm, the fix above sorted it for me.

What packages have you installed (related to X that is :-)), and where?


Si
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 12, 2004, 06:16:02 am
Are you running as root? If so do you have the .xinitrc file in your home directory (it is supposed to be installed in /home/zaurus but I had to copy it across as I\'m using OZ and I run as root all the time).

Si
Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 12, 2004, 06:48:20 am
Hi,

I installed the following :
xqt-server
xqt-startup-scripts
xqt-fonts-75dpi-iso8859
xlibs_4
xbas-etc_4
glibc-locale-eucjp_2
xbase-client_4
blackbox

I installed all on internal memory.
I am root.
The  .xinitrc file is in /home/zaurus.

Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 12, 2004, 07:03:56 am
Copy the .xinitrc file to /root/

Si
Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 12, 2004, 08:55:21 am
Hi !

I\'m root but I can\'t do the copy :

# cp /home/zaurs/.xinitrc /root
cp: unable to open \'/root/.xinitrc\' : Read-only file system

Regards...

JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: Stubear on March 12, 2004, 09:15:55 am
Try running the script as zaurus.

If you want to run as root, then copy .xinitrc to /home/root/

Stu
Title: X/Qt Server help needed...NEWBIE
Post by: Anonymous on March 12, 2004, 10:14:14 am
Hi,

I did it as \"zaurus\"  :

---------------------------------------------
bash-2.05$ su zaurus
$ cd /opt/QtPalmtop/bin
$ ./startx-wrapper
$ 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
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid
qtRandRRotate(270)
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/100dpi/, removing from list!
QLibrary open failed!: /home/QtPalmtop/lib/libqsfepj.so, libkke.so.1: cannot load shared object file: No such file or directory
cat: /home/zaurus/.Xauthority: No such file or directory
rxvt: not found
BScreen::BScreen: ¥¹¥¯¥ê¡¼¥ó 0 ¤ò»ë³Ð¸ú²Ì 0x21, ¿¼ÅÙ 16 ¤ÇÀ©¸æÃæ
----------------------------------------------------------
Then I tried to start blackbox :
----------------------------------------------------------
$ blackbox
failed to set locale, reverting to \"C\"
BaseDisplay::BaseDisplay: connection to X server failed.
--------------------------------------------------------------------------

The qxt server starts - but nothing I can do with it  ?!?
It looks the same as in my first topic.
Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 12, 2004, 10:48:26 am
Well I think it looks better actually. See if you can work out what is causing this:

] QLibrary open failed!: /home/QtPalmtop/lib/libqsfepj.so, libkke.so.1: cannot load shared object file: No such file or directory

Actually I\'d remove glibc-locale-eucjp_2 and install rxvt (I don\'t think you need that version of glibc, and xinitrc is looking to start a terminal after is starts up - as per the later error). Not sure that this will help you though :-)


Si
Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 15, 2004, 05:00:37 pm
Hi ther !

It\'s RUNNING !!!

It took one night to get my c760 clean to re-install and I learned a lot of
killing processes...

Thanks a lot to all people above who helped me to help myself !

Have a nice night !
Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: hotwolf on March 17, 2004, 07:34:36 pm
Hi,
I\'m also a Newbie that is stuggling with XQT, exept that I\'m trying to run it on a SL-5500.
I have been able to start the X server with the RXVT terminal. The Problem is, that the screen is split horizontally, showing the RXVT terminal twice. The stylus doesn\'t work correctly and the screen is only updated when I switch back and forth betweeb Qtopia and XGT.

My first question is: Are these packages even meant to run on a SL-5500? From the little documentation I found about this server, I figured that it was able to run on various Zaurus models.

If it is possible to run XQT on my Zaurus, what do I need to do to set up the XQT server?

I\'d really appreciate any help.
 
-Dirk
Title: X/Qt Server help needed...NEWBIE
Post by: JoPeters on March 19, 2004, 05:49:52 am
Hi Dirk,

]My first question is: Are these packages even meant to run on a SL-]5500?

I don\'t know, but I think so.

]If it is possible to run XQT on my Zaurus, what do I need to do to set up ]the XQT server?

Here\'s the way I did it on my c760, sharp rom :

I installed the following packages in these order to main memory :

1. xqt-fonts-misc
2. xqt-server
3. glic-locale
4. xbase-etc
5. xlibs
6. xqt-startup-script
8. xbase-client

Some of them also should run in SD but after several trouble I installed all to main.
After this you get two new icons on the app. screen:

X/QT Server - starts the X/QT server and enables a connection to an external X-server

Start X - starts a local X-server and enabled to run X-programs.

Start-X can also be startet from the terminal :

$ cd /opt/QtPalmtop/bin
$ ./startx-wrapper

If starting of the program fails - kill all the running XQt processes
before you run it again.

HTH...

Regards...
JoPeters
Title: X/Qt Server help needed...NEWBIE
Post by: bender647 on March 19, 2004, 09:01:14 am
Quote
My first question is: Are these packages even meant to run on a SL-5500? From the little documentation I found about this server, I figured that it was able to run on various Zaurus models.

Hi Dirk, myself and several other 5600
owners have shared the same problems.
In fact, I heard from no 5x00 users who
had xqt working so I uninstalled it and
hope it is someday updated.
--Ken
Title: X/Qt Server help needed...NEWBIE
Post by: ced on March 19, 2004, 09:28:38 am
I\'ve installed Xqt on my SL5600 and I haven\'t got any issues... I\'m using xserver v0.0.8
Title: X/Qt Server help needed...NEWBIE
Post by: lardman on March 19, 2004, 09:36:33 am
Worked fine on my sl5500.

Did you look at this thread: http://www.zaurususergroup.com/index.php?n...iewtopic&t=1515 (https://www.oesf.org/forums/index.php?showtopic=1515)

I think you\'ll find that the vast majority are 5x00 users. In fact almost all as Cxxx users can just use the pdaXrom. I\'ve no clue about the split screen problem which Dirk/hotwolf mentioned though.


Simon
Title: X/Qt Server help needed...NEWBIE
Post by: hotwolf on March 23, 2004, 12:45:10 am
thanks everyone for the help.
I still didn\'t get XQT to run, though. I tried the older xqt-server v0.0.8 and I got a segmentation fault everytime I ran the startx-wrapper.

I think I need do play around with it some more. There must be a reason why this package works for some people and not for others.

- Dirk