Sponsored Content
Top Forums Programming swing not getting initialized when the DISPLAY is not set Post 302334755 by cbkihong on Thursday 16th of July 2009 11:01:15 AM
Old 07-16-2009
Try to see if headless mode works for you:

Using Headless Mode in the Java SE Platform
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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... (2 Replies)
Discussion started by: preetham
2 Replies

2. UNIX for Dummies Questions & Answers

mandrake 6.0 , display not set despite

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

3. Solaris

Can't make 'set DISPLAY' to work

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

4. Shell Programming and Scripting

How to check if export DISPLAY is set or not?

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

5. UNIX for Dummies Questions & Answers

.zshrc not initialized

Hi, I just updated /etc/passwd so that my default shell is zsh. After I save and make a new connection I can echo $SHELL and see /usr/bin/zsh, but my prompt still looks like bash and some env var that I setup in my local .zshrc file are not set. If I type zsh, then my prompt changes and I have my... (7 Replies)
Discussion started by: yankee428
7 Replies

6. Solaris

Set display to text

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

Where/how is $DISPLAY set when connecting with XDMCP?

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

How to automatically set the DISPLAY var?

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. Solaris

DISPLAY not set

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

10. Ubuntu

Can Scanner be Initialized from the Terminal

Hi, somewhat of a newbie with Linux, although I have been at it for about three weeks now. Is there a way to wake up or initialize my scanner with a command in the terminal? (6 Replies)
Discussion started by: klrman
6 Replies
SPRING-HEADLESS(6)						       Games							SPRING-HEADLESS(6)

NAME
spring-headless - An open source RTS game engine - Headless Engine SYNOPSIS
spring-headless [--safemode] [[-c|--client] | [-s|--server]] [-p|--projectiledump] [-i|--isolation] [--isolation-dir PATH] [-n|--name STRING] [-C|--config FILE] SCRIPT spring-headless --list-ai-interfaces spring-headless --list-skirmish-ais spring-headless --list-config-vars spring-headless [-h|--help] spring-headless --sync-version spring-headless [-V|--version] DESCRIPTION
Spring is a free Real Time Strategy (RTS) game engine, originally designed to play Total Annihilation ((C) 1997 Cavedog) content. It has since evolved into a general RTS engine, capable of running various kind of games (mods). It is mainly designed around online multiplayer games but can also be played in single-player mode against AIs. This is the engine version without graphics or sound output. It still runs the full simulation, while spring-dedicated basically only redirects network traffic. It is useful for testing and simulating AI only games at high speeds on systems without graphics and sound output support. OPTIONS
-h, --help Print the options help message and exit -V, --version Display program version and exit --sync-version Display program sync version (for online gaming) and exit --safemode Turns off many things that are known to cause problems (i.e. on PC/Mac's with lower-end graphic cards) -s, --server Run as a server -c, --client Run as a client -p, --projectiledump Dump projectile class info (alias CEG classes) into projectiles.txt -i, --isolation Limit the data-dir (games & maps) scanner to one directory (see --isolation-dir and the SPRING_ISOLATED env var) --isolation-dir::'PATH' Specify the isolation-mode data-dir (see --isolation and the SPRING_ISOLATED env var) -n, --name::'NAME' Set your player name -C, --config::'FILE' Configuration file --list-ai-interfaces Dump a list of available AI Interfaces to STDOUT --list-skirmish-ais Dump a list of available Skirmish AIs to STDOUT --list-config-vars Dump all default config vars in JSON-format to STDOUT DATA DIR
Data directories are searched for content, and among other things, may contain: *cache *games *maps *AI When running the engine, it may use multiple data directories, but it will use only a single one of them as writable, to write cache & log files to. FILES
~/.spring/ The default data-directory (see section DATA DIR). ~/.springrc Contains the users settings for the engine, for things like graphic and sound. /etc/spring/datadir Contains the : separated paths to additional data-dirs (see section DATA DIR). ENVIROMENT VARIABLES
SPRING_LOG_SECTIONS Selective functionality to change the verbosity (separated by ,). SPRING_DATADIR Adds additional directories Spring will search for files (separated by :). SPRING_ISOLATED If defined, Spring will stop searching files outside of the binaries directory. If it is set to a valid directory path, it will be used as the isolation directory. See the --isolation and the --isolation-dir options. SEE ALSO
spring(6) spring-multithreaded(6) spring-dedicated(6) HOMEPAGE
More information about Spring can be found at link: http://springrts.com AUTHOR
Spring was written by the Spring developers. This manual page was written by Marco Amadori <marco.amadori@gmail.com[1]>, for the Debian project (and may be used by others). NOTES
1. marco.amadori@gmail.com mailto:marco.amadori@gmail.com Spring package 05/10/2012 SPRING-HEADLESS(6)
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy