View previous topic :: View next topic |
Author |
Message |
rcxAsh Guru

Joined: 03 Jul 2003 Posts: 457 Location: /etc/localtime
|
Posted: Tue Jul 13, 2004 3:27 am Post subject: |
|
|
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 |
|
 |
gemini91 Guru

Joined: 27 Nov 2003 Posts: 317 Location: Naples, Fl
|
Posted: Sun Dec 19, 2004 12:50 pm Post subject: |
|
|
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 |
|
 |
brazentone n00b


Joined: 01 Oct 2004 Posts: 8 Location: Worcester, MA, USA
|
Posted: Wed Dec 22, 2004 6:16 pm Post subject: Graphical |
|
|
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 |
|
 |
Epcylon n00b

Joined: 24 Nov 2002 Posts: 34 Location: Oslo, Norway
|
Posted: Mon Dec 27, 2004 9:15 pm Post subject: |
|
|
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 [/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 |
|
 |
johabba n00b

Joined: 23 May 2004 Posts: 22
|
Posted: Sat Jan 29, 2005 3:42 pm Post subject: |
|
|
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.
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 |
|
 |
jerrybme n00b

Joined: 15 Sep 2004 Posts: 61
|
Posted: Fri Mar 11, 2005 8:29 pm Post subject: |
|
|
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
The xscreensaver process is killed and resources aren't wasted.
You have to restart gdm for this to work
Cheers,
Jerry |
|
Back to top |
|
 |
frilled Retired Dev


Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Tue Jul 26, 2005 8:48 am Post subject: |
|
|
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 |
|
 |
bienchen Apprentice


Joined: 14 Sep 2004 Posts: 261 Location: Hamburg, Germany
|
Posted: Thu Aug 18, 2005 7:02 pm Post subject: kdm - does not work |
|
|
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 |
|
 |
bienchen Apprentice


Joined: 14 Sep 2004 Posts: 261 Location: Hamburg, Germany
|
Posted: Thu Aug 18, 2005 7:25 pm Post subject: I Did it! |
|
|
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 |
|
 |
Ryle Apprentice


Joined: 27 Aug 2004 Posts: 204
|
Posted: Wed Sep 14, 2005 7:17 pm Post subject: |
|
|
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 |
|
 |
gemini91 Guru

Joined: 27 Nov 2003 Posts: 317 Location: Naples, Fl
|
Posted: Sat Oct 15, 2005 3:24 pm Post subject: |
|
|
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 |
|
 |
Adrastos n00b


Joined: 16 Oct 2003 Posts: 26 Location: Forest-¼
|
Posted: Wed Oct 26, 2005 10:37 pm Post subject: |
|
|
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 |
|
 |
lyonsd Apprentice


Joined: 02 Mar 2005 Posts: 153 Location: Flowery Branch, GA
|
Posted: Thu Oct 27, 2005 5:48 pm Post subject: |
|
|
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 |
|
 |
Adrastos n00b


Joined: 16 Oct 2003 Posts: 26 Location: Forest-¼
|
Posted: Thu Oct 27, 2005 8:37 pm Post subject: |
|
|
All right... I am waiting  _________________ This is correct, Daniel Jackson! |
|
Back to top |
|
 |
lyonsd Apprentice


Joined: 02 Mar 2005 Posts: 153 Location: Flowery Branch, GA
|
Posted: Sun Oct 30, 2005 7:01 am Post subject: Re: kdm - does not work |
|
|
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 |
|
 |
lyonsd Apprentice


Joined: 02 Mar 2005 Posts: 153 Location: Flowery Branch, GA
|
Posted: Sun Oct 30, 2005 7:07 am Post subject: |
|
|
re-emerging rss-glx fixed the libMagick.so.6 problem.
Still no login screen. _________________ Dave |
|
Back to top |
|
 |
lyonsd Apprentice


Joined: 02 Mar 2005 Posts: 153 Location: Flowery Branch, GA
|
Posted: Sun Oct 30, 2005 7:09 am Post subject: |
|
|
Hmmm...now it's working - go figure.  _________________ Dave |
|
Back to top |
|
 |
dreamerme n00b

Joined: 28 Nov 2003 Posts: 5
|
|
Back to top |
|
 |
Jasper-j n00b


Joined: 27 Sep 2003 Posts: 15
|
Posted: Tue Mar 28, 2006 12:18 am Post subject: |
|
|
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 |
|
 |
UberPinguin Guru


Joined: 20 Nov 2005 Posts: 510 Location: 2416.94 Miles From Home
|
Posted: Wed Aug 02, 2006 1:59 pm Post subject: |
|
|
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 |
|
 |
pvar n00b


Joined: 18 Jan 2006 Posts: 10 Location: Athens, Greece
|
Posted: Mon Feb 05, 2007 7:10 pm Post subject: |
|
|
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 |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Mon Nov 19, 2007 9:48 pm Post subject: |
|
|
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 |
|
 |
timeBandit Bodhisattva


Joined: 31 Dec 2004 Posts: 2674 Location: here, there or in transit
|
Posted: Wed Nov 21, 2007 6:27 pm Post subject: |
|
|
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 |
|
 |
phate Apprentice


Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Wed Nov 21, 2007 7:14 pm Post subject: |
|
|
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 |
|
 |
|