To build libChooser from source follow these steps: $ mkdir build $ cd build $ cmake # you can add parameters here: -DDEBUG=1 for example $ make $ sudo make install On most systems it is highly recommended to add -DCMAKE_INSTALL_PREFIX=/usr to the cmake call, because in the default setup /usr/local/lib is not included in the LD Path. List of configurable parameters with their default values: DEBUG unset LIBCHOOSER_BIN_PATH "/var/opt/openslx/bin" LIBCHOOSER_ETC_BASE_PATH "/etc/vmchooser" LIBCHOOSER_VMPATH "/var/lib/virt" LIBCHOOSER_X_SESSIONS_PATH "/usr/share/xsessions" To change one of these parameters you have to append -D= when calling cmake.