Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Running Red Hat 7.3 / XFree86 / Enlightenment -- booting to runlevel 5.
where should xscreensaver be called from? I'd like to be able to use xscreensaver-command lock to lock my session, but can't figure out how to call xscreensaver to run on my display. I've tried putting it in /etc/X11/xinit/Xclients, /etc/X11/xinit/xinitrc, and /etc/rc.local as 'xscreensaver &' but no go. I think it has to do with it being launched as root.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
are you using creating a session via GDM or XDM? ( see /etc/X11/prefdm ) and the gdm configuration files.
if you're using XDM write it in your ~/.xsession and that will be executed. One way to make sure that you enter pretty much the same environment thru xdm/compatible (runlevel 5) and xinit(runlevel 3) is to make .xsession a symbolic link pointing to .xinitrc
If you're using the redhat default, you'll need to fiddle with your gdm conf files, i think.
RH stock, unfortunately. To defend myself, I've never used X much (mostly servers with shell is all). I imagine then that I'm using gdm. I see the following related processes running through ps:
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Oh, good. Just make sure that every Xclient that you need (xterm, netscape etc) everytime you start x arefollowed by an & to start in the background. And the window manager should be the last thing to be started, cuz as soon as the last process terminates, your session will be reset. I prefer to keep my startup stuff in .xinitrc. It follows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.