SUMMARY: xhost/X Display question

From: <dakotak1d_at_netscape.net>
Date: Fri Apr 04 2003 - 18:14:51 EST
Thanks to all who responded,  In the end I choosed Xvfb - X Virtual Frame Buffer. So far it's working perfectly!  Xvfb uses shared memory to create a virtual frame buffer to (for example) DISPLAY=:1.0  
Because of this I wonder if at some point I'll have to increase shared memory segments, I guess we'll see. 

Sincere thanks to the following who suggested Xvfb:

David Foster <foster@dim.ucsd.edu>
Jonathan Burelbach <jburelba@phoenix.cit.nih.gov>
Robert N Wood <rob@rnwood.co.uk>
Matthew Stier <Matthew.Stier@fnc.fujitsu.com>

Other suggestions:
VNC Server www.realvnc.com: 
"Vandevegt, James Matthew (Jim)" <vandevegt@avaya.com>
"Roetman, Paul" <PRoetman@CSXWT.com>

dtautologin: 
"Heilke, Rainer" <Rainer.Heilke@atcoitek.com>


ORIGINAL QUESTION:
SunGods, 
I have a requirement to automate a process upon startup (probably a script in rc3.d) that will do: 
xhost + 
su - appluser -c "export DISPLAY=satori:0.0;xhost +;/usr/dt/dtterm" (I know, I know...X security...) 

Or perhaps I need to do something else....the goal is to allow an application that runs via cron can open a dtterm session which it needs & uses without manual intervention. If this workstation gets rebooted, etc. the job always fails unless someone manually logs in as the application user and opens a dtterm & does the export DISPLAY, xhost, etc. I can't seem to get this set via startup scripts...it complains with: 

Xlib: connection to "satori:0.0" refused by server 
Xlib: Invalid MIT-MAGIC-COOKIE-1 key 
xhost:  unable to open display "satori:0.0" 

Is the problem because the workstation goes to CDE login screen & cannot be 'sent' a dtterm until it's actually logged in? 

TIA, Kevin 



__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 4 18:19:33 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:08 EST