Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: stampo@hotmail.com (Brad)
Subject: Re: Making an XFree86 application work under Xdec.
Date: 14 Jun 2001 17:34:47 -0700	[thread overview]
Message-ID: <54888ee3.0106141634.2cff368d@posting.google.com> (raw)
In-Reply-To: 54888ee3.0106130052.c710079@posting.google.com

Hi all,
Thanks for your responses to my questions. It was greatly appreciated
and has narrowed down my search for a solution. In fact I have been
able to get it to work the way it should, though I still have a
problem.
It turns out that my x-server is running with a visual class of
PseudoColor, and some software we need to run on the workstation
requires to be run in a visual of PseudoColor. However when I tried my
application running under different visuals eg TrueColor, StaticColor,
DirectColor of GrayScale then it works fine.
So you see I have a dilemma. I need to run the workstation under
PseudoColor, but my application doesn't run properly under
PseudoColor. Does anyone have any suggestions as to what I can do?
By the way, for those interested, what I am trying to do is create a
record and replay facility. I'm using x0rfbserver which exports the
framebuffer of the X server to one or more clients (using same
protocol as vnc): http://www.hexonet.de/software/x0rfbserver/index.html
Then I am passing it through rfbproxy which makes recordings of vnc
sessions:
http://people.redhat.com/twaugh/rfbproxy/
In this way I can record my x-sessions for replay at a later date.
It's all working very well under a visual of TrueColor, but I just
need to get it to work under the PseudoColor visual so it will work
with the application I am supposed to be making recordings of.
Any suggestions will be once again very much appreciated. Thanks for
your input so far.
Kind regards,
Brad.





stampo@hotmail.com (Brad) wrote in message news:<54888ee3.0106130052.c710079@posting.google.com>...
> Hello,
> I have an application, which was written for linux and I want to make
> it work under digital unix. I have allready ported the code to compile
> under digital unix, and seems to run. However it doesn't run quite as
> it should, as the colours come out quite funny. I believe my problem
> has something to do with the application expects to be running under
> XFree86 and not Xdec. I have run the application within a vnc server
> under digital unix. The vnc server is running XFree86, and the
> application worked fine. So I know my application is working fine
> under digital unix, I just need to get it to run under Xdec instead of
> XFree86.
> I believe I encountered a similar problem some years ago, without
> finding a solution. I remember back to my days at uni where I had to
> write a simple program which draws a shape on the screen in differing
> shades of grey (black at top, grey at bottom). I wrote it under Linux
> and it worked. However when I tried to run it under digital unix at
> work it all came out funny. It came out
> all black.
> 
> SO MY QUESTION IS THIS:
> Does anybody have any tips on how I can make my application, written
> for XFree86, run as it should under Xdec?
> There must be something fairly simple that I just have no clue on,
> since my simple uni assignment was such a simple program.
> Anyone have experience in making an Xfree86 application run under
> Xdec?
> 
> Any help would be GREATLY appreciated.
> Kind regards,
> Brad.
> 
> PS: Please respond to  stampo@hotmail.com   and the newsgroup.


      parent reply	other threads:[~2001-06-15  0:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13  8:52 Making an XFree86 application work under Xdec Brad
2001-06-13 17:06 ` kenton
2001-06-14  1:31 ` Josef 'Jupp' Schugt
2001-06-15  0:34 ` Brad [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox