Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > stop xterm from starting in Apple X11

stop xterm from starting in Apple X11
Thread Tools
fortepianissimo
Senior User
Join Date: Nov 2002
Location: US
Status: Offline
Reply With Quote
Jan 9, 2003, 08:36 PM
 
Could anyone tell me how to prevent xterm from starting when firing up Apple's X11? Or better, could anyone briefly describe the startup process of Apple X11? Thanks.
     
toole
Fresh-Faced Recruit
Join Date: Mar 2000
Location: New York, NY
Status: Offline
Reply With Quote
Jan 9, 2003, 09:42 PM
 
Well, glad somebody asked. Answers via the [email protected] mailing list solved a couple of things. My slightly edited post to that list as follows :

<Using Apple's suggested method to start X11 I was getting the following :

[dsl***-***-***:~] mac4% /Applications/X11.app
/Applications/X11.app: Permission denied.

Double clicking the X11 icon in /Applications brought up xterm but nothing worked.

or trying this :

[dsl ***-***-***:~] mac4% open-x11 gimp
[dsl ***-***-***:~] mac4%
Gtk-WARNING **: cannot open display: :0

No good.

Some wonderful folks at Apple set me straight.

Terminal command should be "open /Applications/X11.app" Seems as though it SHOULD be the same as double clicking the icon but in my case it was not. After double clicking the icon xterm would appear but trying to start gimp would only produce a "command not found".

In xterm I can now launch gimp with no problem.

Thank you Apple....>

Hope this helps.
     
fortepianissimo  (op)
Senior User
Join Date: Nov 2002
Location: US
Status: Offline
Reply With Quote
Jan 9, 2003, 11:48 PM
 
erhh... but toole, your post didn't answer my question? (which is, how to fire up x11.app without it starting xterm automatically?)
     
Earth Mk. II
Mac Elite
Join Date: Feb 2001
Location: Washington, DC
Status: Offline
Reply With Quote
Jan 10, 2003, 12:35 AM
 
if all you want is to stop xterm from launching, you need to make a file called .xinitrc in your home dir ("~/.xinitrc").

the file should contain one line that should look like this:
Code:
exec /usr/X11R6/bin/quartz-wm
that should work for you.
/Earth\ Mk\.\ I{2}/
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 04:20 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,