From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: faa64,c1b94c6666cbfe8b X-Google-Attributes: gidfaa64,public X-Google-Thread: 1065ea,c1b94c6666cbfe8b X-Google-Attributes: gid1065ea,public X-Google-Thread: fee36,c1b94c6666cbfe8b X-Google-Attributes: gidfee36,public X-Google-Thread: fa528,c1b94c6666cbfe8b X-Google-Attributes: gidfa528,public X-Google-Thread: fee84,c1b94c6666cbfe8b X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 2001-06-14 17:36:27 PST Path: archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: stampo@hotmail.com (Brad) Newsgroups: alt.os.linux,alt.unix.geeks,alt.unix.wizards,comp.unix.osf.osf1,comp.unix.tru64 Subject: Re: Making an XFree86 application work under Xdec. Date: 14 Jun 2001 17:36:27 -0700 Organization: http://groups.google.com/ Message-ID: <54888ee3.0106141636.40a48776@posting.google.com> References: <54888ee3.0106130050.6bf878d4@posting.google.com> NNTP-Posting-Host: 213.68.98.20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 992565387 31861 127.0.0.1 (15 Jun 2001 00:36:27 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 15 Jun 2001 00:36:27 GMT Xref: archiver1.google.com alt.os.linux:36388 alt.unix.geeks:241 alt.unix.wizards:997 comp.unix.osf.osf1:6 comp.unix.tru64:2522 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.0106130050.6bf878d4@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.