Fandom

Audrey Hacking Wiki

Xphoton

324pages on
this wiki
Add New Page
Talk0 Share

Xphoton

From the Linux-hacker.com post

"I was able to get Xphoton running on my Audrey today. I haven't had a chance to do a lot of testing, but I have successfully run simple X clients from both QNX and Linux servers.

I was even able to run netscape from my Linux box, and it was usuable although there is quite a bit of wierdness going on with the graphics. I have also noticed that whatever client you run first seems to display bits of other windows that have overlapped it. Anyway, my initial impression is that it does work, and hopefully if I can figure out how to correctly configure Xphoton for the Audrey some of the wierdness will go away."

-linux hacker post

Preparations

  • First, make sure your Audrey is already configured with some of the other hacks to allow running 6.1 binaries, etc.
  • It is a good idea to have the QNX6.1 file system (with Xphoton installed) mounted under /jj/QNX6.1.

Do the following

  1. ln -s /jj/QNX6.1/usr/X11R6 /usr/X11R6 - First, to get all the X11R6 files onto the audrey, I did a:
  2. Then I created a script called xstart with the following:
    • #!/bin/sh
      export PATH=$PATH:/usr/X11R6/bin
      export LD_LIBRARY_PATH=/jj/QNX6.1/lib:/jj/QNX6.1/x86/usr/lib:/jj/QNX6.1/usr/photon/lib:/usr/X11R6/lib:$LD_LIBRARY_PATH
      Xphoton &
      gtwm >/dev/null 2>&1 &
  3. run the script, it takes a little while to start, and there is one message about a missing "SecurityPolicy" file, but once it starts you can display some X clients from a remote machine.

Testing

go to a *nix box and type:

export DISPLAY=audrey:0 xterm &

the xterm should show up on Audrey.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.