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 05-14-2007, 10:54 AM   #1
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Xscreensaver & session-lock confusion, using XDM, KDE & Slackware.


The three situations, and their current functionality:

1 - Freshly booted machine sitting at login prompt; eventually the screen blanks and/or DPMS kicks in, but no screensaver ever happens here.
2 - I'm logged into my desktop and leave it idle; xscreensaver kicks in exactly as it should, eventually locks, and works perfectly as I have it configured. The unlock dialogue window is the fancy Xscreensaver one.
3 - Like 2, but instead of leaving it idle, I press 'Lock Session'. It indeed locks, but there's no screensaver, just a black screen, and then a different (plain) unlock dialogue window..

The goal: 1 and 3 above, should work like 2.

I've followed the instructions in the xscreensaver manpages, as well as on LQ here in several threads, for making the xscreensaver start on the initial login screen, but it doesn't work.
For # 3 above, I want to use Xscreensaver, NOT xlock, but cannot figure out what to change/edit to get it to work. Here's (some/all of) the various files I have lying around to get these working:

$HOME/.xscreensaver - my xscreensaver config file, which works perfectly.

/root/.xscreensaver - identical to the above file.

$HOME/.xinitrc AND /root/.xinitrc SYMLINKED to /etc/X11/xinit/xinitrc which contains the following:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
    xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi
# Start the window manager:
nvidia-settings -l
startkde
$HOME/.Xresources contains:
Code:
xscreensaver -no-splash &
/usr/bin/kdesktop_lock contains:
Code:
#!/bin/sh
# xscreensaver-command -lock
# xscreensaver-command -display :0.0 -lock
xscreensaver-command -lock || xlock $*
exit 0
/usr/lib/X11/xdm/Xsetup contains (among other stuff) the following lines at the top:
Code:
xhost +localhost
xscreensaver-command -exit
xscreensaver &
Per instructions elsewhere, I added to /usr/lib/X11/xdm/Xsession AND /usr/X11R6/lib/X11/xdm/Xsession the following lines:
Code:
# Section to run xscreensaver on system login screen:
xscreensaver-command -exit
xscreensaver &
# End xscreensaver info.
There are as you may know *numerous* other text files and scripts lying around, dealing with KDE, X and XDM, and I think I've played with all of them at some point over the past few months, but nothing seems to have any effect at all on situations 1 and 3 as I mentioned at the start of this post.
If someone can point me to a(nother) file(s) which need to be edited, or what to do with one of the ones mentioned here, I'd be pleased
Thanks!

PS - Also, I have taken to configuring my $HOME/.xscreensaver file by hand, for much better configurability. There's an option in it named 'memorylimit' which is not explained in the manpage. What's it for, and what units (b, kb, Mb) is it in? Currently it is set to 0 which presumably means unlimited, but if I were to actually set a value there, what would it be 'limiting' ? For example, would it restrict the size of the image-file my screensaver grabs?
 
Old 05-15-2007, 11:22 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
EDIT: I am stunned

Post contents removed, due to my stunned-ness. Jeez I'm dizzy sometimes!

LOL, just pretend this post is not here. The first post is the relevant one.

Last edited by GrapefruiTgirl; 05-15-2007 at 12:03 PM. Reason: total confusion on my part.
 
  


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
xdm, xfce4 & xscreensaver mehlkelm Debian 9 03-27-2009 03:19 PM
AOL UK && BT Voyager 100 && Slackware 10.2 && RP-PPPoE pitt0071 Linux - Networking 3 01-17-2006 06:10 AM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM


All times are GMT -5. The time now is 03:57 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