Click to See Complete Forum and Search --> : /etc/X11/xinits/xinitrc
Bradmont
03-01-2001, 04:48 AM
Just upgraded to x4.0.2... I edited xinitrc to automatically launch blackbox, and got rid of 2 of the xterms it automatically opens (I don't know why the guys at XFree86 threw that in...), but there's a third, labled login, with the line as follows in xinitrc:
exec xterm -geometry 80x66+0+0 -name login
Now closing this terminal shuts down x (because it's the login terminal... duh...) and if I remove it from the xinitrc, then x bails as soon as it starts. Is there any way I can get rid of this xterm?
Thanks.
Strike
03-01-2001, 05:27 AM
How about instead of overwriting the global file, you just put a .xinitrc in your home directory? They put those two xterms in there because that's good enough to test that it runs, and you can run a window manager from those windows. They didn't expect people to stick with that setup. So, it checks for a ~/.xinitrc first - make one.
Bradmont
03-01-2001, 05:39 AM
Ok, but I still need to create the login xterm, or x just quits as soon as it loads.
Pierre Lambion
03-01-2001, 06:27 AM
I guess you should just a & after the login command to isolate if from X.
Then you should be able to close the login console without closing X.
However, you should also be able to completely comment it out and X shouldn't bother about it, AFAIK.
P.
Bradmont
03-01-2001, 06:36 AM
Nope, didn't do the trick. With the &, x bails right after it starts. Thanks anyway.
jscott
03-05-2001, 04:11 PM
xterm -geometry settings
xterm -geometry settings
exec xclock
killing the clock will close your wm
[ 05 March 2001: Message edited by: jscott ]
Bradmont
03-05-2001, 06:08 PM
I managed to figure it out. There was an & after the line execing blackbox, and removing that fixed the problem. Thanks for the help, guys.