LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-16-2007, 01:53 AM   #1
DittoAlex
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Rep: Reputation: 15
Lock gnome-screensaver from cli?


How do I accomplish this?
 
Old 11-16-2007, 02:18 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
I don't use gnome, but what happens when you run gnome-screensaver from the cli?
 
Old 11-16-2007, 02:19 AM   #3
DittoAlex
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Original Poster
Rep: Reputation: 15
$ gnome-screensaver

(gnome-screensaver:21617): gnome-screensaver-WARNING **: couldn't connect to session bus: Failed to connect to socket /tmp/dbus-nfSpD2RF9N: Connection refused

(gnome-screensaver:21617): gnome-screensaver-WARNING **: failed to register with the message bus
 
Old 11-16-2007, 02:26 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
There's a thread at https://bugs.launchpad.net/ubuntu/+s...ver/+bug/36257 that suggest installing dbus-1-utils will fix the problem. Do you have dbus-1-utils on your system?
 
Old 11-16-2007, 02:27 AM   #5
DittoAlex
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Original Poster
Rep: Reputation: 15
$ sudo apt-get install dbus-1-utils
Reading package lists... Done
Building dependency tree... Done
dbus-1-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
 
Old 11-16-2007, 02:33 AM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
That's odd. The only other thread I saw for launching dbus apps was at http://lists.freedesktop.org/archive...ry/004061.html. They suggest dbus-launch <appname>, or in your case, dbus-launch gnome-screensaver

Sorry that's not much help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot disable the screensaver lock davidguygc Linux - Desktop 2 08-01-2007 06:30 PM
KDE screensaver lock time limited to 300 seconds utahnix Linux - Software 1 07-14-2007 12:22 AM
screensaver lock? marlor Slackware 5 07-12-2004 04:10 AM
screen lock login ( from Screensaver) ptrbee Linux - Newbie 0 07-06-2004 09:42 AM
CLI Lock karunesh Linux - General 1 05-01-2002 06:56 AM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration