SUMMARY: regedit requires X

From: pelicancomputers (rfransix@yahoo.com)
Date: Wed Aug 21 2002 - 13:29:30 EDT


thanks dave for the sole response:

Use xvfb, you can get it from X11R6. Here are some of
my notes:

The scripts to perform the conversion call the program
DBMSCOPY
repeatedly.
Since this program is an X client, it requires the
presence of an X
server,
making it problematic to automate this process using
CRON since this
will be
run at night when noone is logged in.

To bypass this problem a "Virtual Frame Buffer", which
is part of
X11R6, is
used, and this allows programs which require an X
server to run using
this
virtual frame buffer.

The X version X11R6 was downloaded via anonymous ftp
from:

  ferret.wrc.noaa.gov :
./special_requests/xvfb/solaris/X11R6/bin.tar.gz

This was installed in Galen:/extra/pop/X11R6.

Then it's just a matter of starting the virtual frame
buffer program
on Galen to create the virtual display 1:

  /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &

The virtual frame buffer is started automatically at
boot from within
the script Galen:/etc/init.d/autoexec.

Then within the script that performs the database
conversions:

  Galen:/usr/home/rt/prj/scripts/fillall

the following line sends graphics output to DISPLAY 1,
the virtual
frame
buffer we just started:

  set DISPLAY=:1.0 ; export DISPLAY

--- pelicancomputers <rfransix@yahoo.com> wrote:
> when using netegrity siteminder on solaris, to run
> regedit, it requires X. from cron though, how do i
> get
> cron to execute regedit in a X environment?
>
> note: just setting the DISPLAY does not work.
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
>
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:49 EDT