Author Topic: X/Qt Server help needed...NEWBIE  (Read 7243 times)

JoPeters

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« on: March 11, 2004, 08:04:41 am »
Hi,

I\'d install X/Qt Server from 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

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #1 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

Anonymous

  • Guest
X/Qt Server help needed...NEWBIE
« Reply #2 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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
X/Qt Server help needed...NEWBIE
« Reply #3 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #4 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

JoPeters

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #5 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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
X/Qt Server help needed...NEWBIE
« Reply #6 on: March 12, 2004, 05:11:17 am »
chmod +x /etc/X11/rstart/contexts/x11r6

Regards,


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

JoPeters

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #7 on: March 12, 2004, 05:50:56 am »
Hi,

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

Regards...
JoPeters

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
X/Qt Server help needed...NEWBIE
« Reply #8 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
X/Qt Server help needed...NEWBIE
« Reply #9 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

JoPeters

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #10 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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
X/Qt Server help needed...NEWBIE
« Reply #11 on: March 12, 2004, 07:03:56 am »
Copy the .xinitrc file to /root/

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

JoPeters

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #12 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

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
X/Qt Server help needed...NEWBIE
« Reply #13 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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

Anonymous

  • Guest
X/Qt Server help needed...NEWBIE
« Reply #14 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