The average Mac user probably won’t have much use for X11 now that popular apps like Gimp are self-contained, but it can be fun to poke around with apps from the unix world and it’s also required for running some emulators, though that’s the topic of another article.
The System Information app provides detailed specifications and other information about your Mac hardware and software, including your network and external devices. In some versions of OS X, this app is called System Profiler.
Choose Apple menu > About This Mac. This opens an overview of your Mac, including your Mac model, processor, memory, serial number, and version of macOS. To see the greater detail provided by the System Information app, click the System Report button.
To open System Information directly, press and hold the Option key and choose Apple menu > System Information. You can also use Spotlight to find System Information, or open it from the Utilities folder of your Applications folder.
System Information opens to a system report for your Mac:
Select items in the sidebar to see information about each item. For example, the Hardware section shows your Mac serial number, the Memory section shows how much RAM is installed in each internal memory slot, and the Software section shows which startup disk (boot volume) your Mac is using. You can use the Network section and Network Utility to learn more about your network.
To have System Information read your serial number aloud, choose File > Speak Serial Number.
To save a copy of your system report, choose File > Save.
To learn more about System Information, choose Help > System Information Help.
Don’t like launchd automatically setting up DISPLAY for you?
Run the following to prevent launchd from setting $DISPLAY and creating its socket.
ssh X forwarding debugging
The XQuartz installer should automatically setup xauth for by editing ssh_config and sshd_config during its post-install script. If you are sshing to another system, be sure that remote server allows ssh forwarding. You may need to have an administrator edit that system’s sshd_config file.
Try these SSH troubleshooting steps. How to make a downlaod into app mac. This list shows the expected behavior of the system.
local $ — refers to commands run on your local Mac running Leopard
remote $ — refers to commands run on a remote Unix machine, of any type
Notes: App store github.
If step 1 returns :0, localhost:0 or anything similar, you have a configuration file that is overriding launchd’s $DISPLAY.
If step 2 outputs anything, it indicates that a configuration file in your home directory may be the culprit; try creating a new user and repeating the steps with that user.
If step 3 outputs anything, it indicates that a system-wide change was made that is overriding your environment. If it begins with /opt/local, it is MacPorts; if it begins with /sw, it is Fink. Otherwise, it is probably a commercial program that uses X11; contact your vendor for an updated version.
The warning message in step 4 is harmless.
If step 5 does not output anything, then step 6’s results probably include X11Forwarding no. In this case, you must fix the configuration on the remote side.
If step 5 outputs anything other than localhost:xx.0, then your remote configuration is overriding the DISPLAY environment variable set by sshd on the remote side.
Suppressing xterm launching by default
You can change the initial application launched by XQuartz.app to something else by doing the following:
So if you want nothing to run, you can accomplish this by:
If you launch XQuartz.app from the dock or run “open -a XQuartz” it will run app_to_run.
Note: For versions prior to the X11-2.1.1 package, use the following instead:
Messed it up, got confused, want to start over? (Leopard)
Before you start deleting anything, make sure you have a Leopard’s installation DVD available and downloaded the latest update of X11 from this site.
Uninstall (Snow Leopard or Later)
XQuartz does not replace the system X11 on Snow Leopard, so you can go back to the Apple-provided X11.app rather easily. Just launch X11.app rather than XQuartz.app to get the older server. If you want to make Apple’s X11.app the default server (owning the launchd $DISPLAY socket), then you should disable the org.macosforge.xquartz.startx.plist as described in the first question. After logging out and back in, Apple’s X11.app will be default. If you still want to remove XQuartz.app from your system, you can do that with these two steps:
How can my launched applications inherit my tcsh environment? (Old)
By default, X11-2.3.2 inherits your bash environment. 2.3.3 and later should inherit your login shell’s environment. We do this by starting X11.app from a login shell using the script below. This should work for the most common (and some less common) shells.
X11 Server For Mac
If this script does not satisfy your login shell, please let us know on the xquartz-dev mailing list. You can also create a ~/.x11run script to handle your unique shell.
Will XQuartz be released for Tiger?
XQuartz is available for Tiger via MacPorts. After installing MacPorts, run this command:
This will create /Applications/MacPorts/X11.app
Default resolution too low? Fonts too small?
Do your fonts come out too small in programs like Gimp? This and related problems are especially noticeable on the MacBook Pro with high-definition screen. The problem is that older versions of X11 use a resolution setting of 75dpi (dots per inch), and even newer ones use 96dpi by default. Since X11 2.3.2rc4, you can override this default and put in a value that suits your display. For example, for the MacBook Pro, the appropriate value is 133dpi. To do this, enter the following in the Terminal, and restart X11:
You should replace 133 by some other number appropriate to your display if it is not 133dpi. How do you tell what the appropriate dpi setting is? One way (there may be simpler ones!) is to fire up Acrobat or Acrobat Reader, and look at Preferences -> Page Display, which will tell you what the System Setting for your resolution is in dpi.
Want another X11.app server?
If you want to run multiple X11.app servers, you can do that by just copying the X11.app bundle to another name (like X11256.app) and editing the Info.plist to change the CFBundleIdentifier to a different value (like org.x.X11.256color). This will let you launch a different X11 server with different options. The launchd DISPLAY socket will always correspond to the original X11.app. Do not change the CFBundleIdentifier of the original X11.app or you will run into problems. Your xinitrc inherits the CFBundleIdentifier as the X11_PREFS_DOMAIN environment variable, so you can use this in your xinitrc to start up differently.
Example: A dedicated server for The Gimp:
1) Copy X11.app to X11Gimp.app
2) edit X11Gimp.app/Contents/Info.plist and change the CFBundleIdentifier from “org.x.X11” to “org.x.X11.gimp”
3) Create a xinitrc.d script to handle starting gimp:
![]()
4) Make that script executable:
What Is X11 On My Mac
Note: If you are a standard user and don’t have administrative privileges, you can put X11Gimp.app in ~/Applications and use ~/.xinitrc.d/95-gimp.sh instead.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |