Xvfb from source

Glover George dcunited at gmail.com
Fri Jan 22 21:35:04 PST 2016


To be clear, these are the rpm's I have access to:
xorg-x11-libX11-7.4-5.11.11.1
xorg-x11-libX11-devel-7.4-5.11.11.1
xorg-x11-fonts-devel-7.4-1.15
xorg-x11-libfontenc-7.4-1.15
xorg-x11-libfontenc-devel-7.4-1.15
fontconfig-2.6.0-10.17.1
fontconfig-devel-2.6.0-10.17.1

The command I'm attempting to use is:
Xvfb -co /p/home/ggeorge/tmp/usr/share/X11/rgb -fp
/p/home/ggeorge/tmp/usr/share/X11/fonts/100dpi/ -fn lucidasans-bold-18
-fc olcursor +extension RANDR :99&

The error I get is:
error opening security policy file /usr/lib64/xserver/SecurityPolicy
Xlib:  extension "RANDR" missing on display ":99.0".
X11 Error encountered:
  Error: BadName (named color or font does not exist)
  Request:     45 (0)
  Resource ID: 0x100004
  Serial:      123
  Hwnd:        <null>
  Control:     <null>  at System.Environment.get_StackTrace ()
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.HandleError (IntPtr display,
System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <filename
unknown>:0
 at System.Windows.Forms.XplatUIX11.XCreateFontCursor (IntPtr ,
CursorFontShape ) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUIX11.DefineStdCursor (StdCursor id)
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.XplatUI.DefineStdCursor (StdCursor id)
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.Cursor..ctor (StdCursor cursor) [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.Cursors.get_Default () [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.ScrollBar..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.HScrollBar..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ImplicitHScrollBar..ctor () [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.ScrollableControl.CreateScrollbars ()
[0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in
<filename unknown>:0
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
  at MAOIE.UI.frm_Main..ctor () [0x00000] in <filename unknown>:0
  at MAOIE.UI.Program.Main (System.String[] args) [0x00000] in
<filename unknown>:0

From: System.Drawing, at: Void CheckStatus(System.Drawing.Status),
Error Message: The requested FontFamily could not be found [GDI+
status: FontFamilyNotFound]

ggeorge at xxxx:~/workdir> error opening security policy file
/usr/lib64/xserver/SecurityPolicy

On Fri, Jan 22, 2016 at 11:06 PM, Glover George <dcunited at gmail.com> wrote:
> Hi all,
>
> I am desperate to install Xvfb from source on a machine I have no root
> access to.  I can't use yum/apt-get, etc.  Do I have to build the
> entire X11 server and dependencies to get this?
>
> I tried to cheat, and pull the binaries out of some RPMS for CentOS.
> I ended up having to grab fonts, cursors, etc.  But the target system
> is SUSE Enterprise 11.  The last problem I'm still running into is it
> can't find a proper cursor font when running a mono application.  I'm
> not real familiar with X from source.  I've had the luxury of just
> depending on the OS to provide the resources.
>
> I just need an X server and I don't need to see it.  Mono requires an
> X11 server for Windows Forms, even if it's headless.


More information about the xorg mailing list