openSUSE Forums > Applications » Stuck with slideshow - init, X and KDM/screensavers!

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-Oct-2009, 11:40
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 3
jthompson4 hasn't been rated much yet
Unhappy Stuck with slideshow - init, X and KDM/screensavers!

Hi All,

I've got into one of those 'so near and yet so far' situations, and I'm hoping someone knows the little tweak that's needed to get through to 100% working...

My requirement is pretty simple - to have my openSuse server run a slideshow of pictures on its second screen, constantly (i.e., regardless of whether or not there's someone logged in on the console).

I've tried two approaches:
(1) use the screensavers. Seemed an easy one to try first.
I got this working ok with both xscreensaver and KDE's screensaver config, but the problem is it only works when someone's logged in. Try as I might, I cannot get the screensavers to show over the KDM graphical login ('greeter') screen. That seems to sit on top always and also forces DPMS standby of the monitors even when I've told KDE config not to use DPMS.

(2) run the viewer (qiv or feh) in the background from an init script at runlevel 3, and set up the system not to go to runlevel 5 so that the KDM greeter doesn't get in the way.

The weird gremlin here is, it works fine if I manually force the script to run (e.g, by "init 2" then "init 3") and I can kill the x session with Ctrl+Alt+Backspace as normal when I want to log in on the console. However, when it's started by init during the boot sequence, it behaves slightly differently and Ctrl+Alt+Backspace doesn't work to kill the x session! That's not helpful as it means I can't get into the console if there's a problem with the machine.

Soooo **** close!

Does anyone know how to get option (2) working by making the x session respond properly to Ctrl+Alt+Backspace when it's started during boot; or to make screensavers kick in over the KDM greeter/login screen, please?

Any ideas much appreciated!

Thanks very much,

Jeff
Reply With Quote
  #2 (permalink)  
Old 14-Oct-2009, 11:42
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 3
jthompson4 hasn't been rated much yet
Default Re: Stuck with slideshow - init, X and KDM/screensavers!

In case relevant, I should add... openSuse 11.1. KDE 4.2.
Reply With Quote
  #3 (permalink)  
Old 14-Oct-2009, 11:49
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,935
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Stuck with slideshow - init, X and KDM/screensavers!

Ctrl-Alt-Backspace

do it twice quickly
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #4 (permalink)  
Old 14-Oct-2009, 12:58
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 3
jthompson4 hasn't been rated much yet
Default Re: Stuck with slideshow - init, X and KDM/screensavers!

Thanks caf, but I think you missed the problem. In (2), the problem I quoted is that Ctrl+Alt+Bksp wasn't working. Ok, I admit I didn't say "twice"!

Found a solution in the meantime, so I'll post it for future reference... for some strange reason, the middle button of my mouse does terminate the x session (maybe slightly worryingly!). And the real answer is to stick "setxkbmap -option terminate:ctrl_alt_bksp in the .xinitrc being used by the process. Still none the wiser why it was behaving inconsistently, but that sorted it )
Reply With Quote
Reply

Bookmarks

Tags
init, kdm, screensaver, slideshow, xorg


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2