10-01-2002
set display
Hi All:
An elementary Unix Question,
How can i set the display number and run a program in that display.
If i type the name of the executable the program opens in the console(display number 0), however, i want it to open in another display number. How can i do that.
Appreciate the help
Thanks,
Preetham.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, i am on mandrake 6.0, shell of root user is bash.
okay, i did the below
#display=localhost.localdomain:0.0
#export display
#xhost +localhost.localdomain
system replies xhost added..
i did a set and there was an entry there..
now i want to install oracle, so did a ./runInstaller
... (2 Replies)
Discussion started by: yls177
2 Replies
2. Solaris
Hi,
I used exceed and putty in the past to HP server with no problem to make
'set DISPLAY' work on my desktop. However now I have Solaris 9 on Sun server 480 and I only have putty. I can't bring the X window (eg xclock, etc) to my desktop.
I tried X11Fowarding, xhost, and so on, it doesn't... (5 Replies)
Discussion started by: jr_zhang
5 Replies
3. Solaris
I can run xclock from root but not able to run in a user (oracle)
I am getting this error during installation of ORACLE-10g (10.2) in Solaris-10 (X86).............when I do ./runInstaller
when ever try, getting this error.......
DISPLAY not set. Please set the DISPLAY and try again. or... (2 Replies)
Discussion started by: gohappy
2 Replies
4. Programming
I have a batch programme which will load the Spreadsheet into database..
When the DISPLAY is set and X11 window server is running, there is no issue in reading the spreadsheet and loading into database without lauching UI.
But if the display is not set, then there is an issue... Any ideas... (3 Replies)
Discussion started by: shafi2all
3 Replies
5. Shell Programming and Scripting
Hi All,
I use "export DISPLAY=same_host:0.0" to set my export DISPLAY and it is working fine for me..
Problem here is I have developed a script for which i should run export DISPLAY prior to running my script....
so my script should check whether export DISPLAY is set or not.. if... (6 Replies)
Discussion started by: smarty86
6 Replies
6. Solaris
How do I set up my solaris 10 machine to display in text mode instead of graphics mode, permanently? (1 Reply)
Discussion started by: jastanle84
1 Replies
7. Solaris
My "problem" is that it's set correctly and I want to break it, but can't figure out where it's getting set in the first place.
I can see several places where $DISPLAY is referenced but at the point that the dollar sign is in front it's already an environment variable(I think).
I thought... (1 Reply)
Discussion started by: gctaylor
1 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
Our users use Putty on Windows servers to log on to UNIX via SSH and run GUI applications. Is there a way to automatically get the display numbers from xming or Exceed (that are running on Windows) to set the DISPLAY var properly on UNIX? X11 forwarding is not an option.
The closest I... (3 Replies)
Discussion started by: ejianu
3 Replies
9. UNIX for Dummies Questions & Answers
when i am connecting to AIX machine from Windows XP through Xmanager am getting dots per inch problem and here we are connecting to AIX machine using X Server virtual frame buffer . Please set 90x90 dots per inch to X Server virtual frame buffer. (10 Replies)
Discussion started by: prathap.g
10 Replies
10. Solaris
Hi,
When i invoke DBCA as oracle user , i get following
usircd01:KAM:/opt/oracle10/product/10.2.0/bin>./dbca
DISPLAY not set.
Set DISPLAY environment variable, then re-run.
usircd01:KAM:/opt/oracle10/product/10.2.0/bin>echo $ORACLE_SID CCE ... (6 Replies)
Discussion started by: Maddy123
6 Replies
LEARN ABOUT REDHAT
glutoverlaydisplayfunc
glutOverlayDisplayFunc(3GLUT) GLUT glutOverlayDisplayFunc(3GLUT)
NAME
glutOverlayDisplayFunc - sets the overlay display callback for the current window.
SYNTAX
void glutOverlayDisplayFunc(void (*func)(void));
ARGUMENTS
func The new overlay display callback function.
DESCRIPTION
glutDisplayFunc sets the overlay display callback for the current window. The overlay display callback is functionally the same as the win-
dow's display callback except that the overlay display callback is used to redisplay the window's overlay.
When GLUT determines that the overlay plane for the window needs to be redisplayed, the overlay display callback for the window is called.
Before the callback, the current window is set to the window needing to be redisplayed and the layer in use is set to the overlay. The
overlay display callback is called with no parameters. The entire overlay region should be redisplayed in response to the callback (this
includes ancillary buffers if your program depends on their state).
GLUT determines when the overlay display callback should be triggered based on the window's overlay redisplay state. The overlay redisplay
state for a window can be either set explicitly by calling glutPostOverlayRedisplay or implicitly as the result of window damage reported
by the window system. Multiple posted overlay redisplays for a window are coalesced by GLUT to minimize the number of overlay display call-
backs called.
Upon return from the overlay display callback, the overlay damaged state of the window (returned by calling glutLayerGet(GLUT_OVERLAY_DAM-
AGED) is cleared.
The overlay display callback can be deregistered by passing NULL to glutOverlayDisplayFunc. The overlay display callback is initially NULL
when an overlay is established. See glutDisplayFunc to understand how the display callback alone is used if an overlay display callback is
not registered.
SEE ALSO
glutDisplayFunc, glutPostOverlayRedisplay
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutOverlayDisplayFunc(3GLUT)