Running gnome-screensaver

Filed under: biometrics,Linux,Uncategorized — nax @ 22:00

First thing I need to run is download latest gnome-screensaver and run it. Compilation wasn’t problem but when I’ve tryied to run I get this:

(gnome-screensaver:11713): gnome-screensaver-WARNING **: couldn’t connect to session bus: Failed to connect to socket /tmp/dbus-0ODxpktYhL: Connection failed
(gnome-screensaver:11713): gnome-screensaver-WARNING **: failed to register with the message bus

Problem was I didn’t have running dbus. I found this which helped to run correct command before runing gnome-screensaver. Key is to run command dbus-launch and then export variables shown like this:

export DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-tb9aujqCKp,guid=1d75ad447f2354998b374cbee8c79b00'

Then I can start gnome-screensaver like this:
gnome-screensaver --no-daemon
and then lock screen by command
gnome-screensaver-command --lock

Now I can go thru source code and begin coding biometrics support.

Comments are closed.

Powered by WordPress