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: ./bin/looking-glass-client [OPTION]...
Example: ./bin/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
  -L SIZE   Specify the size in MB of the shared memory file (0 = detect)

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

  -K        Set the FPS limit
  -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
  -y YPOS   Initial window Y position
  -w WIDTH  Initial window width
  -b HEIGHT Initial window height
  -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
            See https://wiki.libsdl.org/SDLScancodeLookup for valid values

  -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: