| 49 | | <para>If you're using Mac OS X 10.3 then you can download the X11 |
| 50 | | installer from the Apple <ulink |
| 51 | | url="http://apple.com/support/downloads/x11formacosx.html">download |
| 52 | | page</ulink>.</para> |
| | 43 | <para>Before launching an X11 application, you must open a terminal window |
| | 44 | and start an xterm session.</para> |
| | 45 | |
| | 46 | <programlisting><prompt>%%</prompt> <userinput>xterm</userinput></programlisting> |
| | 47 | |
| | 48 | <para>After the X11 session window opens, you may launch X11 apps from |
| | 49 | another terminal window. See <link |
| | 50 | linkend="installing.x11.settings">Optional X11 Settings</link> if you wish |
| | 51 | to launch X11 applications from an X11 session window.</para> |
| 69 | | a terminal window), you need to have the MacPorts paths imported into |
| 70 | | X11 sessions when they are opened. This is a two step process.</para> |
| 71 | | |
| 72 | | <para>First, tell X11 about the <filename>~/.profile</filename> file |
| 73 | | that will be created after you install MacPorts. Do this by editing the |
| 74 | | file <filename>/etc/X11/xinit/xinitrc</filename> and adding this line |
| 75 | | near the top.</para> |
| 76 | | |
| 77 | | <programlisting>source ~/.profile</programlisting> |
| 78 | | |
| 79 | | <para>Now finish the process by making subsequent X11 sessions opened |
| 80 | | using the menu bar respect your <filename>.profile</filename> |
| | 68 | a regular terminal window), you need to make it so X11 sessions opened |
| | 69 | using the menu bar respect your <filename>.~profile</filename> |