Running the Client

Looking Glass Client Usage

The client application supports a verity of options, if you have used the defaults for the ivshmem-path you do not need to specify anything except perhaps the SPICE port if your VM is not running on port 5900. Alternatively you may disable SPICE if you are using another method to control the VM.

Looking Glass Client
Usage: ./looking-glass-client [OPTION]...
Example: ./looking-glass-client -h

  -h        Print out this help

  -C PATH   Specify an additional configuration file to load
  -f PATH   Specify the path to the shared memory file [current: /dev/shm/looking-glass]
  -L SIZE   Specify the size in MB of the shared memory file (0 = detect) [current: 0]

  -s        Disable spice client
  -c HOST   Specify the spice host or UNIX socket [current:]
  -p PORT   Specify the spice port or 0 for UNIX socket [current: 5900]
  -j        Disable cursor position scaling
  -M        Don't hide the host cursor

  -K        Set the FPS limit [current: 200]
  -k        Enable FPS display
  -g NAME   Force the use of a specific renderer
  -o OPTION Specify a renderer option (ie: opengl:vsync=0)
            Alternatively specify "list" to list all renderers and their options

  -a        Auto resize the window to the guest
  -n        Don't allow the window to be manually resized
  -r        Don't maintain the aspect ratio
  -d        Borderless mode
  -F        Borderless fullscreen mode
  -x XPOS   Initial window X position [current: center]
  -y YPOS   Initial window Y position [current: center]
  -w WIDTH  Initial window width [current: 1024]
  -b HEIGHT Initial window height [current: 768]
  -Q        Ignore requests to quit (ie: Alt+F4)
  -S        Disable the screensaver
  -G        Don't capture the keyboard in capture mode
  -m CODE   Specify the capture key [current: 71 (enabled)]
            See for valid values
  -q        Disable alert messages [current: ScrollLock]

  -l        License information

Support Looking Glass

Looking Glass is written and released open source by Geoffrey McRae.
If you would like to support this work he accepts donations on the following platforms: