Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Use your screensaver as your login screen background
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
rcxAsh
Guru
Guru


Joined: 03 Jul 2003
Posts: 457
Location: /etc/localtime

PostPosted: Tue Jul 13, 2004 3:27 am    Post subject: Reply with quote

Thanks for the tip! I've actually been using this for a while since I saw this thread. It worked flawlessly IIRC..

However, I recently decided to try it out with mplayer.

It works great (mplayer -rootwin -fs file.avi), but, I get no sound. I tried specifying "-ao oss" and even added gdm to the audio group. However, still no sound.

I know that it isn't exactly the same thing that the original tip tried to achieve, but it's based on what I learned here. Any ideas as to why mplayer has no sound when running as gdm?

The only other solution that I can currently think of is to create a new user that seems to be able to use mplayer fine. Then, make gdm run as that user. However, I'd like that to be my last resort.
_________________
rcxAsh
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Sun Dec 19, 2004 12:50 pm    Post subject: Reply with quote

Hi, I'am using this on 2 machines and it works great, except one of them has an Nvidia card in it. It works fine when the machine comes up, however if you login and then logout I lose the background. Both machines are running the same level of software except for the Nvidia drivers. Would anyone have some ideas on where to look for solving this? Thanks, Don
Back to top
View user's profile Send private message
brazentone
n00b
n00b


Joined: 01 Oct 2004
Posts: 8
Location: Worcester, MA, USA

PostPosted: Wed Dec 22, 2004 6:16 pm    Post subject: Graphical Reply with quote

This trick works wonderfully for me, and I am quite pleased.
But I've been wondering what prevents the Graphical Greeter from possessing such an ability. Does anybody know what in the gdm architecture prevents the pretty graphical greeter from having a transparent background?
_________________
------------------------------------------------------
Mark Sherman.
Engineer. Writer. Philosopher. Gentoo user.
Back to top
View user's profile Send private message
Epcylon
n00b
n00b


Joined: 24 Nov 2002
Posts: 34
Location: Oslo, Norway

PostPosted: Mon Dec 27, 2004 9:15 pm    Post subject: Reply with quote

peterton wrote:
Shouldn't editing /etc/X11/xdm/Xsetup_0 and adding a line /usr/lib/xscreensaver/xmatrix -root & be enough to get it working in xdm? Haven't tried it as I've got too many windows open and don't want to log out.
[edit]works :D [/edit]


Atleast for me, after I logged in, it continued running in the background. That gets annoying really fast, so I added in some stuff to kill it once a user logs in.

I did it by creating a /etc/X11/xdm/Xstartup_0, with the following contents:
Code:

#!/bin/sh
killall xmatrix
/etc/X11/xdm/GiveConsole


and then changing the line in xdm-config that says
Code:
DisplayManager._0.startup:      /etc/X11/xdm/GiveConsole

to
Code:
DisplayManager._0.startup:      /etc/X11/xdm/Xstartup_0


Works like a charm! \o/
_________________
Epcylon
Back to top
View user's profile Send private message
johabba
n00b
n00b


Joined: 23 May 2004
Posts: 22

PostPosted: Sat Jan 29, 2005 3:42 pm    Post subject: Reply with quote

This is a really cool tip.

Has anyone gotten this to work with a 3D screensaver?

"/usr/lib/xscreensaver/xmatrix -root" works.

"/usr/lib/xscreensaver/glmatrix -root" doesn't work. It just gives me a black screen.
_________________
So Fresh. So Clean. :cool:
Gentoo Linux 2.6.16-custom-r1
AMD Althon XP 3000+
256MB GeForce 7800 GS
2048MB pc3200 Cosair XMS DDR ram
320 GB - 3 ide133 HDD
12x DVD-/+RW
Back to top
View user's profile Send private message
jerrybme
n00b
n00b


Joined: 15 Sep 2004
Posts: 61

PostPosted: Fri Mar 11, 2005 8:29 pm    Post subject: Reply with quote

johabba wrote:
This is a really cool tip.

Has anyone gotten this to work with a 3D screensaver?

"/usr/lib/xscreensaver/xmatrix -root" works.

"/usr/lib/xscreensaver/glmatrix -root" doesn't work. It just gives me a black screen.

works for me on my desktop with an ati 9800. However, I found that the screensaver continued to run as mentioned above. The above fix is for xdm. I found that if I added a line to the /etc/X11/gdm/PreSession/Default script
Code:
killall glmatrix

The xscreensaver process is killed and resources aren't wasted.

You have to restart gdm for this to work

Cheers,
Jerry
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Jul 26, 2005 8:48 am    Post subject: Reply with quote

You can do this with kdm, too. Just put the saver command in /usr/kde/{VERSION}/share/config/kdm/Xsetup and put a "killall" of your saver in /usr/kde/{VERSION}/share/config/kdm/Xstartup.

I have xplanet there ;-)
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Thu Aug 18, 2005 7:02 pm    Post subject: kdm - does not work Reply with quote

Hello,

Ive tried it with kdm...set Xsetup and Xstartup...
the good thing: glmatrix runs for me...
the bad thing: it blocks the login screen, btw it does not show up :-(

what should I do?

greetings,

bienchen
Back to top
View user's profile Send private message
bienchen
Apprentice
Apprentice


Joined: 14 Sep 2004
Posts: 261
Location: Hamburg, Germany

PostPosted: Thu Aug 18, 2005 7:25 pm    Post subject: I Did it! Reply with quote

lil tip: Dont forget to background your saver ;-)

glmatrix -root &

Tata...

Why dont save the pid of the saver in a file and kill the exact id?

something like echo $! > /tmp/kdmbackground.pid, kill `cat /tmp/kdmnackground.pid`

Works for me!
Back to top
View user's profile Send private message
Ryle
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 204

PostPosted: Wed Sep 14, 2005 7:17 pm    Post subject: Reply with quote

Seems to work ok for me except that I get a blank (grey) background for the first 30 seconds after gdm starts up before skyrocket kicks in. I tried a different program (xeyes) to see if it was an xscreensaver problem but that took 30 seconds to appear as well. Is anyone else having this issue?
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Sat Oct 15, 2005 3:24 pm    Post subject: Reply with quote

This started happining after going to Gnome-2.12. Don

edit: It really started happening after Gnome 2.10.
edit: it also occurs on an Ubuntu system running Gnome-2.12
Back to top
View user's profile Send private message
Adrastos
n00b
n00b


Joined: 16 Oct 2003
Posts: 26
Location: Forest-¼

PostPosted: Wed Oct 26, 2005 10:37 pm    Post subject: Reply with quote

well, would be a gread thing, if it would work...

I am using gnome 2.12.1 and gdm 2.8.0.5
After manipulating the gdm.conf, nothing happened. I've also checked the /dev/nvidia0 and /dev/nvidiactl but both had permissions 666.
There is also no nvida.conf,... nowhere on my system... well, I guess this howto is a little bit outdated, isn't it?

Has somebody an idea?

Adrastos
_________________
This is correct, Daniel Jackson!
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Thu Oct 27, 2005 5:48 pm    Post subject: Reply with quote

This is pretty neat, although I haven't tried it yet. Just popping in so I can find this thread later.

What would be even cooler is to have a random screen saver pop up as the login screen. But ONE will do for now!
_________________
Dave
Back to top
View user's profile Send private message
Adrastos
n00b
n00b


Joined: 16 Oct 2003
Posts: 26
Location: Forest-¼

PostPosted: Thu Oct 27, 2005 8:37 pm    Post subject: Reply with quote

All right... I am waiting :)
_________________
This is correct, Daniel Jackson!
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Sun Oct 30, 2005 7:01 am    Post subject: Re: kdm - does not work Reply with quote

bienchen wrote:
Hello,

Ive tried it with kdm...set Xsetup and Xstartup...
the good thing: glmatrix runs for me...
the bad thing: it blocks the login screen, btw it does not show up :-(

what should I do?

greetings,

bienchen


Same problem using gdm - screen saver works fine, but no login window.

Code:

$ grep -v ^# gdm.conf

[daemon]
AutomaticLoginEnable=false
AutomaticLogin=

TimedLoginEnable=false
TimedLogin=
TimedLoginDelay=30

Greeter=/usr/libexec/gdmlogin

User=gdm
Group=gdm
LogDir=/var/log/gdm
PidFile=/var/run/gdm.pid
PostLoginScriptDir=/etc/X11/gdm/PostLogin/
PreSessionScriptDir=/etc/X11/gdm/PreSession/
PostSessionScriptDir=/etc/X11/gdm/PostSession/
DisplayInitDir=/etc/X11/gdm/Init
XKeepsCrashing=/etc/X11/gdm/XKeepsCrashing
ServAuthDir=/var/gdm
BaseXsession=/etc/X11/gdm/Xsession
UserAuthDir=
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority
StandardXServer=/usr/X11R6/bin/X
Xnest=/usr/X11R6/bin/Xnest -audit 0 -name Xnest

[security]
AllowRoot=true
AllowRemoteRoot=true
AllowRemoteAutoLogin=false
RelaxPermissions=0
CheckDirOwner=true

[xdmcp]
Enable=true

[gui]

AllowGtkThemeChange=false

[greeter]
Browser=false
MinimalUID=1000
IncludeAll=true
Logo=
DefaultWelcome=true
DefaultRemoteWelcome=true
BackgroundType=0
BackgroundProgram=/usr/kde/3.4/bin/keuphoria.kss -root &
RunBackgroundProgramAlways=false
Use24Clock=true
GraphicalTheme=gentoo-emergence
GraphicalThemes=circles
GraphicalThemeDir=/usr/share/gdm/themes/
GraphicalThemeRand=false
SoundOnLoginSuccess=false

[chooser]
HostImageDir=/usr/share/hosts/
Hosts=
Broadcast=true
Multicast=false

[debug]
Enable=false

[servers]
0=Standard

[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -audit 0
flexible=true

[server-Terminal]
name=Terminal server
command=/usr/X11R6/bin/X -audit 0 -terminate
flexible=false
handled=false

[server-Chooser]
name=Chooser server
command=/usr/X11R6/bin/X -audit 0
flexible=false
chooser=true


And the reason I set the background program to /usr/kde/3.4/bin/keuphoria.kss instead of /usr/lib/misc/xscreensaver/euphoria is because when I run any of those GL screensavers in that directory I get the following error:
Code:

/usr/lib/misc/xscreensaver/euphoria: error while loading shared libraries: libMagick.so.6: cannot open shared object file: No such file or directory

_________________
Dave
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Sun Oct 30, 2005 7:07 am    Post subject: Reply with quote

re-emerging rss-glx fixed the libMagick.so.6 problem.

Still no login screen.
_________________
Dave
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Sun Oct 30, 2005 7:09 am    Post subject: Reply with quote

Hmmm...now it's working - go figure. :?
_________________
Dave
Back to top
View user's profile Send private message
dreamerme
n00b
n00b


Joined: 28 Nov 2003
Posts: 5

PostPosted: Wed Dec 28, 2005 1:51 am    Post subject: Reply with quote

For gdm 2.8, i had to set this in my gdm.conf:

Code:
[greeter]
BackgroundProgramInitialDelay=0


for the background program to start immediately. See http://www.gnome.org/projects/gdm/docs/2.8/configuration.html for details.
Back to top
View user's profile Send private message
Jasper-j
n00b
n00b


Joined: 27 Sep 2003
Posts: 15

PostPosted: Tue Mar 28, 2006 12:18 am    Post subject: Reply with quote

Wauw, this is a great tip.

But I wanted to use a slideshow. Is there any way to configure the "random-picture"-folder for the gdm-user?
Back to top
View user's profile Send private message
UberPinguin
Guru
Guru


Joined: 20 Nov 2005
Posts: 510
Location: 2416.94 Miles From Home

PostPosted: Wed Aug 02, 2006 1:59 pm    Post subject: Reply with quote

Has anyone gotten this working on GDM 2.14?
_________________
aidanjt wrote:
You see, instead of arguing from ignorance, and fear, there is only one way to verify a theory. And that's not by clutching a black book and begging the sky fairy for deliverance from the mad scientists and their big machines.
Back to top
View user's profile Send private message
pvar
n00b
n00b


Joined: 18 Jan 2006
Posts: 10
Location: Athens, Greece

PostPosted: Mon Feb 05, 2007 7:10 pm    Post subject: Reply with quote

Well I just made it work with the latest version of GDM (that's 2.16.4 for my arch) and it's really great!!

If anyone is interested, I can post the configuration files...

By the way, I wanted to use the screensaver glslideshow in combination with a specific set of pictures.
The only way to do it (at least the only way I could think of) was to alter the file "/usr/X11R6/lib/X11/app-defaults/XScreenSaver"
This file contains the Default settings (as implied by the name of the folder app-defaults) for any instance of xscreensaver.
What I did was to modify the "imageDirectoy" variable...

Code:
*imageDirectory:        /home/pvar/pictures/screensaver


That was enough to do the trick! When starting glslideshow from GDM, the screensaver usew the pictures I have stored in the directory mentioned above...
Back to top
View user's profile Send private message
phate
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 298
Location: Aachen, Germany

PostPosted: Mon Nov 19, 2007 9:48 pm    Post subject: Reply with quote

Hm I don't have a gdm.conf at all with 2.18.4. So where to place this line of code?
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2674
Location: here, there or in transit

PostPosted: Wed Nov 21, 2007 6:27 pm    Post subject: Reply with quote

phate wrote:
Hm I don't have a gdm.conf at all with 2.18.4. So where to place this line of code?
/etc/X11/gdm/custom.conf
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
phate
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 298
Location: Aachen, Germany

PostPosted: Wed Nov 21, 2007 7:14 pm    Post subject: Reply with quote

I tried it out, but it doesn't work. I get a simple login screen with a black background.
Code:
[greeter]
Use24Clock=ja
UseCirclesInEntry=true
GraphicalTheme=happygnome
GraphicalThemes=
Logo=
BackgroundScaleToFit=false
BackgroundColor=#76848f
ChooserButton=false
ConfigAvailable=false
BackgroundProgram=/usr/lib/misc/xscreensaver/glblur -root
BackgroundType=0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum