On Fri, 2003-05-09 at 13:28, Trey Gruel wrote:
however, i would like to point out that your .bashrc isn't really a good place to put that to have it run automatically. you should put it either in your .xinitrc or .xsession. if you have it in your bashrc, it's run every time you open a new shell (including if you login remotely). the xinitrc is run when you start x from the console and the xsession is run when you log in via xdm/kdm/gdm/whatever.
Why can't anyone writing the documentation for either SuSE or XFree86 be so succinct? Thank you! I've printed this for future reference. I want to take this a step further. I want to run an X application on the login screen. As I understand it, /etc/opt/kde3/share/config/kdm/kdmrc gets "setup" by /etc/X11/xdm/Xsetup. In there, I see a latent config for starting xconsole. I can comment out the test for kdm/gdm, and get it. No problems. However... I want to be able to run this newfangled "superkaramba" thing. I got it working on my desktop, but I want it to run on the login screen. Almost every day, my wife reboots my workstation into Win98 to look at weather.com, even though she has an account in Linux, and even has Mozilla in Windows. Grumble... Anyway, I just want the "karamba_weather" thing to display. Details aside, I guess I'm looking for how this ought to work in general. I've seen various tutorials found by Googling that all I need to do is enter some lines in Xsetup, like "xterm &" or such. That "xterm" command works, but I can't use the keyboard in it. "xclock" doesn't work at all. I tried putting in an "xhost +" command in that file, just to see if that was holding me up, but it still doesn't work. What's preventing me from running an arbitrary program from Xsetup, and how can I get around it? I'd rather be running "superkaramba" as a user, obviously, but I figured the X server is running as root, and I can avoid a bunch of hassle in figuring out the process by not trying to `su - <user> -c 'foo'' right now. Anyway. While I'm at it, I added another line to /etc/X11/xdm/Xservers like so: :0 local /usr/X11R6/bin/X :0 vt07 :1 local /usr/X11R6/bin/X :1 vt08 <-- new line But I don't get the expected behavior, i.e. a second X session on <Ctrl><Alt>-F8. I mean, I could see not getting a second KDM session, but I don't even get X. How can I get one or both to happen? I hate asking this. I ought to be able to figure it out. I HATE X. Grrr... Okay, I love X. I guess it's a real "love and hate" relationship. TIA, dk -- David "Dunkirk" Krider, http://www.davidkrider.com Acts 17:28, "For in Him we live, and move, and have our being." Linux: Will you use the power for good... or for AWESOME?