implementation of X virtual frame buffer

download implementation of X virtual frame buffer

of 4

Transcript of implementation of X virtual frame buffer

  • 8/13/2019 implementation of X virtual frame buffer

    1/4

    Chuck Slivkoffs implementation of X virtual frame buffer as described in docXWINKBRC0000!"#$

    %vervie&

    'sbin'init$d'(vfb script reads 'etc'rc$confi)$d'(vfb*parameters+ and invokes perl script'etc'X##'(vfb,daemon-pl

    'etc'X##'(vfb,daemon daemoni.es the process and invokes*e(ecs+ /(init passin)

    parameters

    'usr'contrib'bin'X##'(init starts an X *Xhp or Xvfb+ server in frame buffer mode

    and e(ecutes 'etc'X##'(vfb$(initrc

    the 'etc'X##'(vfb$(initrc script tells (init to start an (clock and the m&m &indo&

    mana)er on the Xserver

    erl

    'etc'X##'(vfb,daemon$pl

    'usr'contrib'bin'X##'(init

    'sbin'init$d'(vfb start

    Create X#0screens 122

    'usr'bin'X##'Xhp

    then readX#0screens elseXvfb

    'etc'rc$confi)$d'(vfb

    'etc'X##'(vfb$(initrc

    3(host 4Xclock 5

    m&m

    e(ec (init

    'etc'X##'X#0screens

    Xvfb start creates 'etc'X##'X#0screens ifit doesnt e(ist &ith 6Server%ptionsServer7ode X8fb

  • 8/13/2019 implementation of X virtual frame buffer

    2/4

  • 8/13/2019 implementation of X virtual frame buffer

    3/4

  • 8/13/2019 implementation of X virtual frame buffer

    4/4

    Checkin) status of Xvfb server$

    I> file 'var'run'Xvfb,"$pid e(ists$ Checkin) process I> G$1111111111111111111111111111111111111111111111111

    FI> I> I> C S9I7? 99J 9I7? C7>daemon G # 0 7ar T 00:00 'usr'contrib'bin'X##'(init'etc'X##'(vfb$(initrc 11 'usr'bin'X#1111111111111111111111111111111111111111111111111 G is (init$'var'run'Xvfb,"$pid seems valid$

    Related processes: I> I> C%77N>G # 'usr'contrib'bin'X##'(init 'etc'X##'(vfb$(initrc 11 'usr'bin'X#GU# G 'usr'bin'X##'Xhp :" 1screen 0 #0G(!H( 1fbdir 'var'X##'Xserve

    GG# G m&m

    Current =o) file: 'var'X##'Xserver'lo)s'Xvfb,"$lo)1111111111111111111111111111111111111111111111111

    1111111111111111111111111111111111111111111111111

    ?(it code: 0

    nd if