Disable automatic xterm on X11 startup

rationull

Registered
Every time I start up X11.app, or it gets started by way of launching an X11 program, an xterm window comes up. Is there any way to disable this?
 
This question got my curiosity up. I've been looking for an answer most of the afternoon, and the best answer I can find is "No."

Best I've come up with would be an Applescript that runs when you open X11 that closes the Xterm window....which I'd have no clue how to write.

Sorry.
 
Actually, I figured out how. You should copy the file xinitrc from /etc/X11/xinit to your home directory and rename it .xinitrc

Then edit the file and put a # in front of the line that reads

xterm &


This will prevent X11 from running xterm when it starts up, as the xinitrc script is run every time X11 starts.
 
Back
Top