# The X Window User HOWTO

### Christopher Yeleighton

`<x11user@tldp.org>`

### Hal Burgiss

`<hal@foobox.net>`

v4.0 Jan. 12th, 2010

Revision History
Revision v4.0 | 2010-01-12 | Revised by: cy
Converted to XML docbook and to the new domain.
Revision v3.1 | 2002-10-10 | Revised by: hb
Some minor additions and updates.
Revision v3.0 | 2002-03-06 | Revised by: hb
Rewrite of the original document. Convert to DocBook. Many, many changes.

This document provides basic information on understanding and configuring the X Window System for Linux users. This is meant to be an introductory level document. A basic knowledge of software configuration is assumed, as is the presence of an installed and working X Window System.

### Notes

[1] | v4.x changes: - artheader tag changed to articleinfo - graphic tag is being depricated in DocBook 5.x. To prepare for this, you should instead use the mediaobject tag. - file format for imagedata has to be in capital letters. - added support for PNG (notation in the DTD) --s+ [ser@metalab.unc.edu] aspell -H -c ~/ldp/x-user/LDP/howto/docbook/XWindow-User-HOWTO.sgml submit@linuxdoc.org export CVSROOT=:pserver:hal@cvs.linuxdoc.org:/cvsroot cvs -d $CVSROOT login pword: XXXXXXXXXXXXXX $cvs get LDP/howto/docbook/XWindow-User-HOWTO.sgml upload... $ cvs commit XWindow-User-HOWTO.sgml !!!!!!!!!!!!!!!! (from the LDP/howto/docbook/ dir) check here: http://cvs.pld.org.pl/LDP/howto/docbook/XWindow-User-HOWTO.sgml ==================================== Start 3.1: TODO: Changes: http://www.plig.org/xwinman (plus freshmeat) VNC vs X for performance on network. lbxproxy, performance. Add fluxbox. Start rewrite 01/13/02 Hal Burgiss. Changes: Converted to DocBook Rewrite! Rewrite! A zillion changes. ToDo: $DISPLAY http://www.superant.com/cgi-bin/smalllinux.pl?smallX http://www.linuxgazette.com/issue27/kaszeta.html (xdm) http://linux.daphnis.com/RedHat/Custom-X-Tips.html#toc4 (Xclients, etc) http://www.linuxjournal.com/print.php?sid=5304 (X config, etc) log file http://www.linux.gr/cgi-bin/man2html/usr/X11R6/man/man7/X.7.gz http://www.x-docs.org/ startx &> log _X11TransSocketUNIXConnect: Can't connect: errno = 111 giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. ## Makefile to build this doc as HTML and TXT #################### # X Windows User HOWTO Makefile # # Hal Burgiss hal@foobox.net # TITLE = XWindow-User-HOWTO EXT = sgml SRC_DIR = LDP/howto/docbook HTML_DIR = X-USER SRC = $(SRC_DIR)/$(TITLE).$(EXT) BUILD = jade -t sgml -ihtml -d /usr/lib/sgml/stylesheets/ldp.dsl\#html BUILD_TXT = jade -t sgml -i html -d /usr/lib/sgml/stylesheets/ldp.dsl\#html -V nochunks SPELL_CMD = aspell -H -c LINKS_CMD = /usr/bin/linkchecker *html EDIT_CMD = /usr/bin/vim -g TBROWSER = w3m TMP_TXT = __tmp.sgml WWW=/var/www/html/ldp/x-user SRC_URL = http://feenix.burgiss.net/ldp/x-user/$(TITLE).$(EXT).gz all: doc txt doc: html html: rm -fr $(HTML_DIR) mkdir -p __tmp_htmls mv -f *.html __tmp_htmls 2>/dev/null || : mkdir -p $(HTML_DIR) $(BUILD) $(SRC) ||\ (rm -f *.html && mv -f __tmp_htmls/* . || : && rm -rf __tmp_htmls && false) mv -f *html $(HTML_DIR) mv -f __tmp_htmls/* . 2>/dev/null || : rm -fr __tmp_htmls clean: rm -fr $(HTML_DIR) *~ __tmp_htmls edit: $(EDIT_CMD) $(SRC) spell: $(SPELL_CMD) $(SRC) spellchecker: spell links: cd $(HTML_DIR) && $(LINKS_CMD) linkchecker: links linkcheck: links txt: $(BUILD_TXT) $(SRC) > $(TMP_TXT).html $(TBROWSER) -dump $(TMP_TXT).html > $(TITLE).txt && gzip -f $(TITLE).txt && rm -f $(TMP_TXT).html text: txt www: cp -fv $(HTML_DIR)/* $(TITLE).txt.gz $(SRC) $(WWW) gzip -f $(WWW)/$(TITLE).sgml rsync -auv $(WWW)/* feenix://$(WWW)/ submit: @echo "Updated and ready: $(SRC_URL)" |\ mail -s "$(TITLE) update" submit@linuxdoc.org &&\ echo " $(TITLE) Submitted!"

|  | Next
|  | Introduction