Sponsored Content
Operating Systems Solaris Cause a window to pop-up on a machine remotely Post 302511081 by Nevyn on Tuesday 5th of April 2011 06:28:24 PM
Old 04-05-2011
This should display the xclock program on the machine's console display.
Code:
ssh webserver
[nevyn@webserver ~] export DISPLAY=webserver:0
[nevyn@webserver ~] xclock

You may need to use the xhost command on the console to allow the access.

As achenle suggested, you may want to start your own X display for a cleaner design.

You probably have Xvfb installed. It can serve as a simple drop point for unwanted graphic output.

It's been a while since I've done it but something like this:
Code:
Xvfb :1 -dev vfb screen 300x300x8
Xvfb -help

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to remotely administer/validate UNIX server via Windows machine?

Hi there--I think this is more of a Windows question, but I think many of you might be able to help me out: I have a UNIX web server and a Windows machine. I'm trying to script the following tasks so that they can be run from the Windows machine (via a batch file): 1. Shutdown web services... (5 Replies)
Discussion started by: sohungry73
5 Replies

2. UNIX for Dummies Questions & Answers

runnig script from window machine

i want to run a script from window machine the script is ksh for i in $(cat some.txt) do rm $i done exit i have it saved as a file say progremove & made it chmod 7777 how do i run this script from a window machine vie a batch file telnet -l username servername then what... (2 Replies)
Discussion started by: sjumma
2 Replies

3. UNIX for Dummies Questions & Answers

Compare 2 files and output result in pop up window

Need help ! how do i compare 2 files and if there is a difference, output a massage in a pop up window? the script meant to run using crontab. (2 Replies)
Discussion started by: hongsh
2 Replies

4. Solaris

Pop up Window Properties

Hi, I have been tasked to migrate a test package my company developed from a Solaris 4 O/S to a new machine running Solaris 8. After many tweaks to paths etc we finally got it running but we have one problem which I am unable to solve. While the application is running a user selected menu... (0 Replies)
Discussion started by: JustinPyfrom
0 Replies

5. UNIX for Dummies Questions & Answers

How to connect remotely to a unix machine

Hello, I am connecting on a machine equiped with Unix, via SSH Secure Shell. On this machine I am running a script and I would like this script to be able to connect to another (Unix) machine to run a different process. In other words: when I am connected on a machine, how can I execute a... (1 Reply)
Discussion started by: jolecanard
1 Replies

6. Solaris

Pop-up window using X11

Anyone know of a way to create a pop-up window using X11? I'm not to sure where to start. I just think it would be neat to do. So I was hoping someone out there had documentation on how to go about this, or if I was going to have to write/compile a program to do so. Thank you! Adelsin (8 Replies)
Discussion started by: adelsin
8 Replies

7. UNIX Desktop Questions & Answers

Make window pop up in original desktop

Hello, Is there a way to force each window to popup in the original desktop when using multiple desktops? The problem is I work on one desktop, then move to another one, and some windows that are loaded in the original desktop pops at the new desktop. Any idea? Thanks! Guy (1 Reply)
Discussion started by: guyov1
1 Replies

8. Web Development

Attaching " Thank You " pop-up window in php form mail code

Dear Sir, I have got a php mail form code. Using this code, I want to use the JavaScript for " Thank You " pop-up window in the php form mail code. Where do I add the pop-up JavaScript for "thank you" ? My code is as follows: <?php //--------------------------Set these... (1 Reply)
Discussion started by: swapan
1 Replies

9. Shell Programming and Scripting

Remotely setting putty window title

I have successfully used a script to modify putty's window title for many years. It has worked great in a Solaris 10 environment, using, sh, bash and tcsh. But I've never been able to get it to work in linux :( The script relies on sending escape sequences via gnu echo. The version of echo on... (4 Replies)
Discussion started by: tsreyb
4 Replies

10. Solaris

how to execute shell script present in unix machine remotely from windows

how to execute shell script present in unix machine remotely from windows? I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros. Thanks In Advance. --Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
XVFB(1) 						      General Commands Manual							   XVFB(1)

NAME
Xvfb - virtual framebuffer X server for X Version 11 SYNOPSIS
Xvfb [ option ] ... DESCRIPTION
Xvfb is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory. The primary use of this server was intended to be server testing. The fb code for any depth can be exercised with this server without the need for real hardware that supports the desired depths. The X community has found many other novel uses for Xvfb, including testing clients against unusual depths and screen configurations, doing batch processing with Xvfb as a background rendering engine, load testing, as an aid to porting the X server to a new platform, and providing an unobtrusive way to run applications that don't really need an X server but insist on having one anyway. OPTIONS
In addition to the normal server options described in the Xserver(1) manual page, Xvfb accepts the following command line switches: -screen screennum WxHxD This option creates screen screennum and sets its width, height, and depth to W, H, and D respectively. By default, only screen 0 exists and has the dimensions 1280x1024x8. -pixdepths list-of-depths This option specifies a list of pixmap depths that the server should support in addition to the depths implied by the supported screens. list-of-depths is a space-separated list of integers that can have values from 1 to 32. -fbdir framebuffer-directory This option specifies the directory in which the memory mapped files containing the framebuffer memory should be created. See FILES. This option only exists on machines that have the mmap and msync system calls. -shmem This option specifies that the framebuffer should be put in shared memory. The shared memory ID for each screen will be printed by the server. The shared memory is in xwd format. This option only exists on machines that support the System V shared memory interface. If neither -shmem nor -fbdir is specified, the framebuffer memory will be allocated with malloc(). -linebias n This option specifies how to adjust the pixelization of thin lines. The value n is a bitmask of octants in which to prefer an axial step when the Bresenham error term is exactly zero. See the file Xserver/mi/miline.h for more information. This option is probably only useful to server developers to experiment with the range of line pixelization possible with the fb code. -blackpixel pixel-value, -whitepixel pixel-value These options specify the black and white pixel values the server should use. FILES
The following files are created if the -fbdir option is given. framebuffer-directory/Xvfb_screen<n> Memory mapped file containing screen n's framebuffer memory, one file per screen. The file is in xwd format. Thus, taking a full- screen snapshot can be done with a file copy command, and the resulting snapshot will even contain the cursor image. EXAMPLES
Xvfb :1 -screen 0 1600x1200x32 The server will listen for connections as server number 1, and screen 0 will be depth 32 1600x1200. Xvfb :1 -screen 1 1600x1200x16 The server will listen for connections as server number 1, will have the default screen configuration (one screen, 1280x1024x8), and screen 1 will be depth 16 1600x1200. Xvfb -pixdepths 3 27 -fbdir /var/tmp The server will listen for connections as server number 0, will have the default screen configuration (one screen, 1280x1024x8), will also support pixmap depths of 3 and 27, and will use memory mapped files in /var/tmp for the framebuffer. xwud -in /var/tmp/Xvfb_screen0 Displays screen 0 of the server started by the preceding example. SEE ALSO
X(7), Xserver(1), xwd(1), xwud(1), XWDFile.h AUTHORS
David P. Wiggins, The Open Group, Inc. X Version 11 xorg-server 1.12.4 XVFB(1)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy