Re: Building Xvfb on Sparc running Solaris 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is command I use to start the server:


Xvfb :100 -pn -co /usr/X/lib/X11/rgb -fp /usr/X/lib/X11/fonts/misc/,/usr/X/lib/X11/fonts/Speedo/,/usr/X/lib/X11/fonts/Type1/,/usr/X/lib/X11/fonts/75dpi/,/usr/X/lib/X11/fonts/100dpi/ -fbdir /tmp &
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
_XSERVTransNAMEDOpenServer: Can't open /tmp/.X11-pipe/X100
_XSERVTransOpen: transport open failed for named/zeppo:100
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for named
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy


This is output of xdpyinfo :

xdpyinfo -display localhost:100
name of display:    localhost:100.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40600000
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
   depth 1, bits_per_pixel 1, scanline_pad 32
   depth 4, bits_per_pixel 8, scanline_pad 32
   depth 8, bits_per_pixel 8, scanline_pad 32
   depth 15, bits_per_pixel 16, scanline_pad 32
   depth 16, bits_per_pixel 16, scanline_pad 32
   depth 24, bits_per_pixel 32, scanline_pad 32
   depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  PointerRoot
number of extensions:    21
   BIG-REQUESTS
   DEC-XTRAP
   DOUBLE-BUFFER
   Extended-Visual-Information
   FontCache
   GLX
   LBX
   MIT-SHM
   MIT-SUNDRY-NONSTANDARD
   RECORD
   RENDER
   SECURITY
   SGI-GLX
   SHAPE
   SYNC
   TOG-CUP
   X-Resource
   XC-APPGROUP
   XC-MISC
   XFree86-Bigfont
   XTEST
default screen number:    0
number of screens:    1

screen #0:
 dimensions:    1280x1024 pixels (325x260 millimeters)
 resolution:    100x100 dots per inch
 depths (1):    8
 root window id:    0x42
 depth of root window:    8 planes
 number of colormaps:    minimum 1, maximum 1
 default colormap:    0x20
 default number of colormap cells:    256
 preallocated pixels:    black 1, white 0
 options:    backing-store NO, save-unders NO
 largest cursor:    1280x1024
 current input event mask:    0x0
 number of visuals:    12
 default visual id:  0x27
 visual:
   visual id:    0x27
   class:    PseudoColor
   depth:    8 planes
   available colormap entries:    256
   red, green, blue masks:    0x0, 0x0, 0x0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x28
   class:    GrayScale
   depth:    8 planes
   available colormap entries:    256
   red, green, blue masks:    0x0, 0x0, 0x0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x29
   class:    StaticColor
   depth:    8 planes
   available colormap entries:    256
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2a
   class:    TrueColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2b
   class:    TrueColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2c
   class:    TrueColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2d
   class:    TrueColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2e
   class:    DirectColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2f
   class:    DirectColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x30
   class:    DirectColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x31
   class:    DirectColor
   depth:    8 planes
   available colormap entries:    8 per subfield
   red, green, blue masks:    0x7, 0x38, 0xc0
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x32
   class:    StaticGray
   depth:    8 planes
   available colormap entries:    256
   red, green, blue masks:    0x0, 0x0, 0x0
   significant bits in color specification:    8 bits
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy

This is output of glxinfo:

glxinfo -display localhost:100
name of display: localhost:100.0
Error: couldn't find RGB GLX visual

  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x27  8 pc  0  8  0 c  y  .  0  0  0  0  0 16  0  0  0  0  0  0 0 None
0x28  8 gs  0  8  0 c  y  .  0  0  0  0  0 16  0  0  0  0  0  0 0 None
0x29  8 sc  0  8  0 c  y  .  3  3  2  0  0 16  0  0  0  0  0  0 0 None
0x2a  8 tc  0  8  0 c  y  .  3  3  2  0  0 16  0  0  0  0  0  0 0 None
0x2b  8 tc  0  8  0 c  y  .  3  3  2  0  0 16  8 16 16 16  0  0 0 None
0x2c  8 tc  0 16  0 c  y  .  3  3  2  8  0 16  8 16 16 16 16  0 0 None
0x2d  8 tc  0 16  0 c  .  .  3  3  2  8  0 16  8 16 16 16 16  0 0 None
0x2e  8 dc  0  8  0 c  y  .  3  3  2  0  0 16  0  0  0  0  0  0 0 None
0x2f  8 dc  0  8  0 c  y  .  3  3  2  0  0 16  8 16 16 16  0  0 0 None
0x30  8 dc  0 16  0 c  y  .  3  3  2  8  0 16  8 16 16 16 16  0 0 None
0x31  8 dc  0 16  0 c  .  .  3  3  2  8  0 16  8 16 16 16 16  0 0 None
0x32  8 sg  0  8  0 c  y  .  0  0  0  0  0 16  0  0  0  0  0  0 0 None
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
zeppo-515: error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy



Thanks,

RobertM



Marc Aurele La France wrote:

On Fri, 26 May 2006, Robert Milaszewski wrote:

Marc Aurele La France wrote:

On Wed, 17 May 2006, Robert Milaszewski wrote:

Marc Aurele La France wrote:

On Tue, 9 May 2006, Robert Milaszewski wrote:


I tried building Xvfb on Solaris 8 running on sparc using
nativ sun's compiler.  I can successfully build the server
without glx extensions.  Problems start when I try to include
glx extensions by  adding this line to host.def :


#define BuildGlxExt             YES


And even when eventually I manage to compile Xvfb executable
glx extensions do not seem to be present as reported by glxinfo.


I've verified that this works in XFree86 4.6.0, given its rework of extension support in the various X servers. But, for now, you will still need to build with a host.def containing ...


    #define BuildXFree86OnSparcSunOS YES


Thanks for your help.  I got XFree86 v. 4.6.0
I set the following defines in host.def


#define XVirtualFramebufferServer      YES
#define BuildXFree86OnSparcSunOS YES
#define BuildGlxExt             YES


And I used Sun C 5.7
               Sun C++ 5.7
compilers.


I had problems compiling with this setup.
I also tried compiling XFree86 v 4.6.0 using
gnu's gcc v 2.95.2 but that did not work either.
Can you give me more detailes on how you
compiled Xvfb with glx extensions on Sparc
with SunOS 5.8?


I'm actually using Solaris 7, but that shouldn't matter too much.


GCC 2.95.2 is quite old. I recommend 3.2 or newer. I'm currently using 4.0.1.


Your host.def settings above should give you something that compiles & runs right out of the box.


I rebuild XFree86 v 4.6.0 using gcc v3.4.5
Xvfb built but I do not see glx extensions
included in it.
What am I doing wrong?


I'm not sure. Please post (or send me privately) the output from xdpyinfo and glxinfo run against the display created by your most recent build of Xvfb.

Thanks.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Academic Information and        |  fax:    1-780-492-1729           |
|    Communications Technologies   |  email:  tsi@xxxxxxxxxxx          |
|  352 General Services Building   +-----------------------------------+
|  University of Alberta           |                                   |
|  Edmonton, Alberta               |     Standard disclaimers apply    |
|  T6G 2H1                         |                                   |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86


_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux