This section describes the common ways to start SunVTS:
Do not use the ampersand (&) to run SunVTS in the background.
The common way to start SunVTS is to use the sunvts command. This command has the ability to determine your window environment (CDE, OPEN LOOK, or none), and start the corresponding SunVTS interface. Or, if you use the sunvts command with various options, you can direct it to start with a specific SunVTS user interface (described below).
The sunvts command starts the 32-bit or 64-bit SunVTS kernel based on the operating system (32-bit or 64-bit) that is running.
/opt/SUNWvts/bin/sunvts [-tqpvsel] [-o options_file] [-f logfile_directory] [-h hostname] |
|
---|---|
Argument |
Description |
-e |
Disables the connection permission checking feature |
-f logfile_directory* |
Specifies an alternative logfile directory other than the default directory /var/opt/SUNWvts/logs |
-h hostname |
Starts the user interface (vtsui or vtstty) on the local machine and tries to connect to the SunVTS kernel (vtsk) of the specified host machine. If hostname is the same hostname of the machine on which the tests are being run, sunvts starts the SunVTS kernel (vtsk). If vtsk is already running on the test system, the sunvts command ignores the -o, -f, -q, -p, and -s options |
-l |
Starts the OPEN LOOK user interface |
-o options_file |
Starts the SunVTS kernel with the test options loaded from the options_file; these options are saved by the user interface and are stored in the /var/opt/SUNWvts/options directory |
-p |
Starts the SunVTS kernel, but does not probe the test system's devices |
-q |
Automatically quits both the SunVTS kernel and the user interface when testing stops |
-s |
Automatically starts testing a selected group of tests; the flag must be used with the -o options_file flag |
-t |
Starts vtstty, a TTY-based program, instead of a GUI. If you do not specify this option and the system is running CDE, sunvts starts vtsui; or, if the system is running OPEN LOOK, sunvts starts vtsui.ol |
-v |
Displays version information from the SunVTS kernel and GUI |
* If the -f argument is exercised when running SyMON, a logfile directory cannot be created. |
Type the following command:
# /opt/SUNWvts/bin/sunvts |
The sunvts command determines if the system is running 32-bit or 64-bit Solaristm and starts the corresponding 32-bit or 64-bit SunVTS kernel (vtsk).
As the kernel initializes, it probes the devices to determine the system configuration. It starts a user interface and passes the configuration information to the user interface.
The SunVTS user interface that starts is determined on the following criteria:
When the CDE window manager (DTWM) is running, the default SunVTS GUI is CDE.
When the OPEN LOOK window manager (OLWM) is running, the default SunVTS GUI is OPEN LOOK.
If no window manager is running, then SunVTS starts the TTY mode interface.
If you receive an error message such as: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Error: Can't open display: :0.0 You may need to grant xhost permissions by typing: xhost +
For a list of command line options that can be used with the sunvts command refer to Table 3-2.
# /opt/SUNWvts/bin/sunvts -l |
# /opt/SUNWvts/bin/sunvts -t |
# /opt/SUNWvts/bin/sunvts -v vtsui: SunVTS, 3.0 |
The sunvts command starts both the SunVTS kernel and the user interface that is appropriate your a given configuration. However, there are commands that you can use to start just the SunVTS kernel, or to specify a specific user interface.
The vtsk command starts the SunVTS kernel. You can use command-line options (see Table 3-3 below) to control the behavior of this command.
For systems running in the 32-bit Solaris environment, use the following command:
# /opt/SUNWvts/bin/vtsk |
For systems running in the 64-bit Solaris environment, use the following command:
# /opt/SUNWvts/bin/sparcv9/vtsk |
The vtsk command-line syntax and options are listed below:
Table 3-3 The vtsk Syntax
/opt/SUNWvts/bin/vtsk [-epqsv] [-o options_file] [-f logfile_directory] |
|
---|---|
Argument |
Description |
-e |
Disables the connection permission checking feature |
-f logfile_directory* |
Specifies an alternative to the default logfile directory (/var/opt/SUNWvts/logs) |
-o options_file |
Starts the SunVTS kernel with the test options saved in the options_file; these options are saved and stored in the /var/opt/SUNWvts/options directory |
-p |
Starts the SunVTS kernel, but does not probe test system devices |
-q |
Quits both the SunVTS kernel and the user interface when testing is complete |
-s |
Starts testing a selected group of tests; this flag must be used with the -o options_file flag |
-v |
Displays only the version information from the SunVTS kernel, vtsk; this option does not start the vtsk daemon |
* If the -f option is exercised when running SyMON, a logfile directory cannot be created. |
In most cases, when you use the sunvts command, the appropriate SunVTS user interface is started. For situations when you want to start a specific user interface without starting the SunVTS kernel, use one of the following:
# /opt/SUNWvts/bin/vtsui |
To start the OPEN LOOK interface:
# /opt/SUNWvts/bin/vtsui.ol |
# /opt/SUNWvts/bin/vtstty |
In all cases, the user interface attempts to connect to the SunVTS kernel.
You do not need to be superuser to start a SunVTS user interface.