LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2002, 09:56 PM   #1
khutze
LQ Newbie
 
Registered: Jul 2002
Posts: 13

Rep: Reputation: 0
Red face mandrake 8.2 session dir restores itself


Hi I am trying to install xscreensaver on an mandrkae 8.2 system using gdm and icewm. I first edited /etc/X11/gdm/Init/Default with

#!/bin/sh
#Color is now handled by gdmgreeter itself
#/usr/bin/X11/xsetroot -solid "#007777"

xhost +localhost
xscreensaver-command -exit
xscreensaver -no-splash &

which semi works, the problem is that you have to logon manually for it to happen and I would prefer to automatically logon.

I've tried putting xscreensaver in the background program in gdm which doesn't work.

I've created a new file in called xscreensaver

#!/bin/sh
/etc/X11/gdm/Sessions
exec /etc/X11/xdm/Xsession IceWM
xhost +localhost
xscreensaver-command -exit
xscreensaver -no-splash &

chmod +x it
point Default symlink to that file
which works as I can log in and out in this method with success BUT
when I restart the computer the /etc/X11/gdm/Sessions actually restores it self somewhere so I make the directory readonly and it still gets restored so I asumme an init script with superuser access is changing the file
Ive also noticed the going between init 1 and init 5 doesn't restore that directory, wich leaves me with rc.sysinit and rc.local but who knows.

I have modified many scrips in /etc/X11/xdm/ /etc/X11/gdm/
with no success

I was even going to grep the /ect dir to find the string /etc/X11/xdm/Xsession but by now I'm starting to get a bit pisssed as I have all ready spent half a day on this problem. If someone has anyone got a better solution please help me
thanks in advanced
gerard
 
  


Reply



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
Alsa restores mixer settings on reboot Dswissmiss Linux - Software 2 10-20-2005 05:51 PM
strange dir fonts in virtual consoles during X session nephalem Linux - Newbie 1 10-20-2005 04:51 PM
kde 'restores' windows at start up. rgiggs Mandriva 1 05-29-2004 06:21 AM
Backups and Restores aikempshall Slackware 3 04-22-2004 03:34 AM
KDE restores programs on startup which shouldn't be restored diam0nd Linux - General 1 04-21-2004 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration