Skip to Content
X Windows System Administrator's Guide, Vol 8 (Definitive Guides to the X Window System)
book

X Windows System Administrator's Guide, Vol 8 (Definitive Guides to the X Window System)

by Linda Mui, Eric Pearce
October 1992
Intermediate to advanced
346 pages
9h 7m
English
O'Reilly Media, Inc.
Content preview from X Windows System Administrator's Guide, Vol 8 (Definitive Guides to the X Window System)

G

Error Messages

This appendix lists error messages that you might get when running X clients. We not only list errors from X programs but also UNIX errors that you often encounter when running or compiling X programs.

In This Appendix:

X Errors

UNIX Errors

Compilation Errors

G

Error Messages

This appendix lists error messages that you might get when running X clients. This appendix is broken up into the following categories:

X Errors

Errors that you may get from X clients.

UNIX Errors

Errors that you may get when running X clients, but which reflect problems more closely associated with UNIX.

Compilation Errors

Errors that you may get when compiling programs under UNIX.

G.1 X Errors

Can't Open display

or

Unable to open display

There is a problem with the DISPLAY variable or with the display specified using the -display option. The DISPLAY variable may not be set properly, or the specified host may be unknown. The host may also not have access to the specified display. Correct the setting of the DISPLAY variable, or extend server access as appropriate using either xhost or xauth. See Section 2.3.1 for more information on setting the DISPLAY variable, or Chapter 4 for information on server access control.

(This particular error is actually generated by the application, so it may not be worded exactly like this. “Can't open display” is the wording generated by Xt-based applications.)

Unknown preprocessor directive

or

n: undefined control

You might get this error from xrdb if you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

X Window System User's Guide, Vol 3 (The Definitive Guides to the X Window System)

X Window System User's Guide, Vol 3 (The Definitive Guides to the X Window System)

Valerie Quercia, Tim O'Reilly

Publisher Resources

ISBN: 9780937175835