Running the Looking Glass Client

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

  -f PATH   Specify the path to the shared memory file [current: /dev/shm/looking-glass]

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

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

  -l        License information

Renderers each have their own set of options, at current there is only an OpenGL renderer available. To obtain a list of options specify "-o list":

./looking-glass-client -o list

Renderer Option List

OpenGL
         mipmap - Enable or disable mipmapping [default: enabled]
          vsync - Enable or disable vsync [default: enabled]
  preventBuffer - Prevent the driver from buffering frames [default: enabled]