LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xdm (https://www.linuxquestions.org/questions/linux-newbie-8/xdm-12347/)

da Perp 01-22-2002 03:11 AM

xdm
 
I put a screensaver as background in my xdm login screen
(/path/to/xmatrix -root in Xsetup_0), but now I can't see anything from my Xresources file, so I cant login. no matter how i configure the colors or anything, it comes up behind the screensaver apparantly. if i leave the screensaver out, i see the login box like im supposed to. How can I set the screensaver as background, while still being able to see the login box?

isajera 01-22-2002 03:19 AM

ok... are you trying to use a screensaver screenshot for the background or the screensaver itself? the screen shot would be pretty easy... the screensaver would be really difficult and you'd probably need to program it yourself.

da Perp 01-22-2002 03:52 AM

the screensaver itself. are you sure about the programming bit? i read on linux.com that all ihad to add was the line from my post above to Xsetup_0.they didnt see anything about programming. i

isajera 01-22-2002 03:58 AM

no... i'm not sure. it sounds to me like it would be a really difficult thing to implement... but it might have been programed with that capability... definitely sounds cool.

are you getting anything when you have the line added, or is the login box just failing to come up? (also, could you point me to that article? :))

da Perp 01-22-2002 04:33 AM

Check this link:

xdm article

No, it's not difficult. The problem is that the screensaver comes up but the xlogin box comes in the background. I know this for a fact because if I uncomment the line for the screensaver I can see the login box nicely with a blinking cursor awaiting my input. As soon as I add the screensaver (im using xflame, very very awesome!) it complety covers everything. Somebody please help!!!!

isajera 01-22-2002 05:04 AM

just for the sake of experience, try setting up a normal xpm as the background. i'm guessing that the pixmap will cover the background unless the configuration tells it to avoid that part of the screen - here's the line from the article:

xsri -geometry +x+y -avoid AxB -keep-aspect [pixmap]

start simple - then worry about the xflame
(good choice, by the way)

da Perp 01-22-2002 05:19 AM

Yeah, I was thinking something along the lines like that, I just wasnt to sure about it. I also think maybe it might help to add a & to the end of the line for xflame. When I look at other scripts that load for example xeyes or xsnow they also add the & to the end of the line.

Yeah, xflame is pretty cool. You can make it burn a custom bitmap.

Thanx for the advice!

isajera 01-22-2002 05:37 AM

hey, wait a minute...
 
*ah-ha* moment... :)
just fyi, the & after a command tells the kernel to run the prog as a background process - leaving the terminal free to do other things - you can do this from the command line too

that's probably how the screensaver can run beneath the login panel - i'd be surprised if that's not it.

da Perp 01-22-2002 05:41 AM

yes, we are geniuses!!!!!!!!!!!
no seriously, pretty cool how we figured that out together...

GDM can can also be configured in this way, it works with different files, but it's a bit better than xdm because you can choose a windowmanager to start with. It's a bit of a hassle editing the .xinitrc file everytime i want a different wm.

isajera 01-22-2002 05:46 AM

definitely a cool hack
 
:) i take it that it worked.

i do a lot of kernel-configuring (graphical login and kernel hacking don't mix :)), so i don't generally have xdm running, but i'm definitely trying this when i have some spare time. thanks for pointing it out :).

da Perp 01-22-2002 05:53 AM

I always boot into init 3. I wm just doing this now because if I have my enlightenment setup right(buttons on the desktop, nice custom theme) i will start booting into init 5 by default, and with a cool graphical login! I do a lot of kernel config too (especially in X, because I really prefer xconfig for kernel setup). As well as graphical stuff, just about everything that involves linux. Every little quirk, hack and fix i wanna know about. I just got into this xdm stuff because I was at an enlightenment site checking out screenshots, and somebody posted a picture of their xdm login screen. I recognized the xflame screensaver, so when i saw it i was like "whoa,that rules, dude...hehehehehehe yeah check it out heheheheh"! I don't know of this works yet, im at home, but I'm pretty sure it's gonna work.


All times are GMT -5. The time now is 05:21 AM.