{"id":152,"date":"2006-07-06T22:00:01","date_gmt":"2006-07-06T21:00:01","guid":{"rendered":"http:\/\/www.nax.cz\/2006\/07\/06\/running-gnome-screensaver\/"},"modified":"2006-07-06T22:00:01","modified_gmt":"2006-07-06T21:00:01","slug":"running-gnome-screensaver","status":"publish","type":"post","link":"https:\/\/nax.cz\/?p=152","title":{"rendered":"Running gnome-screensaver"},"content":{"rendered":"<p>First thing I need to run is download <a href=\"http:\/\/live.gnome.org\/GnomeScreensaver\/\">latest gnome-screensaver<\/a> and run it. Compilation wasn&#8217;t problem but when I&#8217;ve tryied to run I get this:<\/p>\n<p>(gnome-screensaver:11713): gnome-screensaver-WARNING **: couldn&#8217;t connect to session bus: Failed to connect to socket \/tmp\/dbus-0ODxpktYhL: Connection failed<br \/>\n(gnome-screensaver:11713): gnome-screensaver-WARNING **: failed to register with the message bus<\/p>\n<p>Problem was I didn&#8217;t have running dbus. I found <a href=\"http:\/\/lists.freedesktop.org\/archives\/dbus\/2006-January\/004061.html\">this<\/a> which helped to run correct command before runing gnome-screensaver. Key is to run command <em>dbus-launch<\/em> and then export variables shown like this:<\/p>\n<pre lang=\"bash\">\nexport DBUS_SESSION_BUS_ADDRESS='unix:abstract=\/tmp\/dbus-tb9aujqCKp,guid=1d75ad447f2354998b374cbee8c79b00'\nexport DBUS_SESSION_BUS_PID=11720\n<\/pre>\n<p>Then I can start gnome-screensaver like this:<br \/>\n<code>gnome-screensaver --no-daemon<\/code><br \/>\nand then lock screen by command<br \/>\n<code>gnome-screensaver-command --lock<\/code><\/p>\n<p>Now I can go thru source code and begin coding biometrics support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First thing I need to run is download <a href=\"http:\/\/live.gnome.org\/GnomeScreensaver\/\">latest gnome-screensaver<\/a> and run it.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,35,1],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-biometrics","category-linux","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=152"}],"version-history":[{"count":0,"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions"}],"wp:attachment":[{"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}