XSession options
When the host server is installed on a UNIX machine, organizations sometimes elect to access the host server through an exported display. Access can also be through an XSession package, such as EXCEED, which is installed on Windows clients.
XSession settings differ from one machine to another, and most machines run optimally using the XSession defaults. If, for some reason, your XSession performance is sluggish, then see the documentation for your XServer or contact your system administrator.
You can also try other preset configurations on the XSession tab. The best results are obtained by changing the specific XServer settings.
This table shows the available options on the XSession tab:
Option | Description |
---|---|
Local Display is double buffered
(BLIT). XSession1 is no buffering (SIMPLE). XSession2 is double buffered (SIMPLE). XSession3 is no double buffering (BACKINGSTORE). Custom is used for other combinations. |
|
This makes the repaint smoother. It paints the component into an off-screen buffer and then copies it into the component's on-screen area. | |
BLIT is the
fastest mode. SIMPLE uses the method of redrawing the entire contents of the scroll pane each time it is scrolled. This is the slowest. BACKINGSTORE draws view area contents into an off-screen image. This mode may offer advantages over BLIT mode, but requires a large amount of extra RAM. |
Remote display IDE
If you require a remote display IDE from a Linux to a Windows machine, then some input fields in the GUI could become uneditable.
To prevent this, you can explicitly set the Toolkit when using XMing. This must be set before starting the virtual machine. To do this, set the Toolkit for an application by XMing or MobaXterm.
XMing has these options:
- Use an environment
variable.
csh: setenv AWT_TOOLKIT XToolkit #selects the XToolkit setenv AWT_TOOLKIT MToolkit #selects the MToolkit ksh/bash: export AWT_TOOLKIT=XToolkit export AWT_TOOLKIT=MToolkit
- Use a system property on
the command line.
java -Dawt.toolkit=sun.awt.X11.XToolkit MyApp java -Dawt.toolkit=sun.awt.motif.MToolkit MyApp