[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 1

chvmode Command


Changes the current output device and viewport size of the X server.

Note: This command is usable only while the X server is running.


chvmode  [  {  +  |  -  }  l  ] [  {  +  |  -  }  c  ] [  -vsize  WidthxHeight [  @ VSync  ]  ]


The chvmode command changes the current output device and viewport size used by the X server.

Viewport size specification is usable only for a CRT display and its resolution has panning option. You can use a Web-based System Manager Devices application (wsm devices fast path) to run this command. You could also use the System Management Interface Tool (SMIT) to run this command.


+/-c Enables or disables CRT output.
+/-l Enables or disables LCD output.
-vsize WidthxHeight[ @ VSync ]
                          Specifies viewport size of CRT display and the vertical synchronization (refresh rate in Hz). If @VSync is not specified, the current vertical synchronization frequency is used.


Access Control: Any User

Auditing Events: None

Exit Status

The following exit values are returned:

0 Successful completion.
>0 An error occurred.


  1. To disable the LCD panel and enable the CRT display, enter:
    chvmode -l +c
  2. To change the current CRT viewport to be 1024x768, enter:
    chvmode -vsize 1024x768
  3. To specify VGA mode with high refresh rate of 75Hz, enter:
    chvmode -vsize 640x480@75


/usr/bin/X11/chvmode Contains the chvmode command.

Related Information

The lsvmode command.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.

[ Previous | Next | Contents | Glossary | Home | Search ]