Here is the results from xdpyinfo

name of display:    linuxBox.ccsoft.com:1.0
version number:    11.0
vendor string:    The Olivetti & Oracle Research Laboratory
vendor release number:    3323
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x280000e, revert to Parent
number of extensions:    7
    BIG-REQUESTS
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    SHAPE
    SYNC
    XC-MISC
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (260x195 millimeters)
  resolution:    100x100 dots per inch
  depths (1):    16
  root window id:    0x25
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  options:    backing-store YES, save-unders YES
  largest cursor:    1024x768
  current input event mask:    0x50003d
    KeyPressMask             ButtonPressMask          ButtonReleaseMask        
    EnterWindowMask          LeaveWindowMask          SubstructureRedirectMask 
    PropertyChangeMask       
  number of visuals:    1
  default visual id:  0x22
  visual:
    visual id:    0x22
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0x3f, 0x7c0, 0xf800
    significant bits in color specification:    8 bits

As you can see, the depth is really only 16 bits.  But one thing that might be
important to mention is that I'm not actually running X. I'm running Xvnc.
I've tried the same program on an actual X console(just a second ago), and it
seems to work.  Any ideas on how I can get this to work in Xvnc, or does it
sound like I'm just going to be screwed?  Oh by the way, on a side not,
everytime I run any program that uses awt classes I get the following warning a
whole bunch of time.  It doesn't seem to cause any problems but its starting to
get annoying.

Font specified in font.properties not found [--zapf
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]

I'd prefer to fix without having to comment out the 20-30 lines in the
font.properties, but if that's the only solution....

On Wed, 21 Jul 1999, Nathan Meyers wrote:

> There are a lot of X server display depths and visuals that the AWT
> doesn't support, because they don't happen to exist on Solaris boxes
> :-(. But do you *really* have a 1024-bit deep display??? Could you post
> the results of running xdpyinfo? This I gotta see :-).
> 
> Nathan
> 
> 
> Brandon Anderson wrote:
> > 
> > I've been trying to get Java 1.2 pre v2 to run on my Redhat 5.2 box.  I
> > evidently have run into some problems that make no sense to me at all, and
> > was wondering if anyone else had any suggestions.
> > 
> > The application that I'm trying to get to run connects to another machine
> > and then should show a simple login screen.  It connect to the other
> > machine just fine, but when it goes to display the login screen all I get
> > is blackscreen with a menubar across the top.  After about 15 sec of total
> > cpu usage I get the following error message:
> > 
> > Exception occurred during event dispatching:
> > java.lang.InternalError: Unsupported 1024-bit depth
> > 
> >         at sun.awt.motif.X11Graphics.X11LockViewResources(Native Method)
> >         at sun.awt.motif.X11Graphics.lock(X11Graphics.java:797)
> >         at sun.java2d.loops.LockableRaster.lock(LockableRaster.java:163)
> >         at
> > sun.java2d.loops.RasterOutputManager.convertFrom(RasterOutputManager.java:1414)
> >         at
> > 
>sun.java2d.loops.RasterOutputManager.performOpaqueBlit(RasterOutputManager.java:979)
> >         at
> > sun.java2d.loops.RasterOutputManager.compositeSrcDst(RasterOutputManager.java:654)
> >         at
> > sun.java2d.loops.RasterOutputManager.renderImage(RasterOutputManager.java:472)
> >         at
> > sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2040)
> >         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1634)
> >         at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:583)
> >         at javax.swing.JComponent.paint(JComponent.java:536)
> >         at java.awt.Container.paint(Container.java:770)
> >         at javax.swing.JFrame.update(JFrame.java:255)
> >         at
> > sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:248)
> >         at java.awt.Component.dispatchEventImpl(Component.java:2429)
> >         at java.awt.Container.dispatchEventImpl(Container.java:1032)
> >         at java.awt.Window.dispatchEventImpl(Window.java:714)
> >         at java.awt.Component.dispatchEvent(Component.java:2289)
> >         at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
> >         at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
> > SIGSEGV   11*  segmentation violation
> >         stackpointer=0x416f4e7c
> > 
> > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, green threads):
> >     "AWT-Finalizer" (TID:0x404c55f8, sys_thread_t:0x8681d98, state:CW)
> > prio=9
> >         at java.lang.Object.wait(Native Method)
> >         at java.lang.Object.wait(Object.java:424)
> >         at sun.awt.AWTFinalizer.run(AWTFinalizer.java:46)
> > 
> > The Full Thread dump continues on for several screens and I'll omit that
> > from here.  I'm using the Green Threads and the JIT is disabled.  Any
> > suggestions on what this problem is?
> > 
> > Thanx in advance
> > 
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to