home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / linux / faq / part6 < prev   
Encoding:
Internet Message Format  |  2004-05-12  |  32.2 KB

  1. Path: senator-bedfellow.mit.edu!dreaderd!not-for-mail
  2. Message-ID: <linux/faq/part6_1084272547@rtfm.mit.edu>
  3. Supersedes: <linux/faq/part6_1083581613@rtfm.mit.edu>
  4. Expires: 1 Jun 2004 10:49:07 GMT
  5. X-Last-Updated: 2001/12/07
  6. Organization: none
  7. Newsgroups: comp.os.linux.misc,news.answers,comp.answers
  8. Subject: Linux Frequently Asked Questions with Answers (Part 6 of 6)
  9. Followup-To: poster
  10. From: rkiesling@mainmatter.com
  11. Approved: news-answers-request@MIT.EDU
  12. X-Disclaimer: Approval for *.answers is based on form, not content.
  13. Originator: faqserv@penguin-lust.MIT.EDU
  14. Date: 11 May 2004 10:51:32 GMT
  15. Lines: 733
  16. NNTP-Posting-Host: penguin-lust.mit.edu
  17. X-Trace: 1084272692 senator-bedfellow.mit.edu 567 18.181.0.29
  18. Xref: senator-bedfellow.mit.edu comp.os.linux.misc:604746 news.answers:271173 comp.answers:57134
  19.  
  20. Archive-Name: linux/faq/part6
  21. URL: http://www.mainmatter.com/
  22. Reply-to: rkiesling@mainmatter.com
  23. Posting-Frequency: weekly
  24. Last-modified: 12/04/2001
  25. Expires: Mon, 12 Nov 2001 05:00:00 GMT
  26.  
  27. /pub/linux/packages/GCC/ for binutils-2.6.0.2.bin.tar.gz.
  28.  
  29. 9.5. GCC Says, "Internal compiler error."
  30.  
  31. If the fault is repeatable (i.e., it always happens at the same place
  32. in the same file--even after rebooting and trying again, using a
  33. stable kernel) you have discovered a bug in GCC. See the GCC Info
  34. documentation (type F1-i in Emacs, and select GCC from the menu) for
  35. details on how to report the error. Make sure you have the latest
  36. version, though.
  37.  
  38. Note that this is probably not a Linux-specific problem. Unless you
  39. are compiling a program many other Linux users also compile, you
  40. should not post your bug report to any of the comp.os.linux groups.
  41.  
  42. If the problem is not repeatable, you may be experiencing memory
  43. corruption. Refer to the answer: ("Make Says, "Error 139."")
  44.  
  45. 9.6. Make Says, "Error 139."
  46.  
  47. Your compiler (GCC) dumped core. You probably have a corrupted, buggy,
  48. or old version of GCC--get the latest release or EGCS. Alternatively,
  49. you may be running out of swap space. Refer to: ("The Machine Runs
  50. Very Slowly with GCC / X / ...")
  51.  
  52. If this doesn't fix the problem, you are probably having problems with
  53. memory or disk corruption. Check that the clock rate, wait states, and
  54. refresh timing for your SIMMS and cache are correct (hardware manuals
  55. are sometimes wrong, too). If so, you may have some marginal SIMMS, or
  56. a faulty motherboard or hard disk or controller.
  57.  
  58. Linux is a very good memory tester--much better than MS-DOS based
  59. memory test programs.
  60.  
  61. Reportedly, some clone x87 math coprocessors can cause problems. Try
  62. compiling a kernel with math emulation ("How To Upgrade/Recompile a
  63. Kernel.") no387 kernel command line flag on the LILO prompt to force
  64. the kernel to use math emulation, or it may be able to work and still
  65. use the '387, with the math emulation compiled in but mainly unused.
  66.  
  67. More information about this problem is available on the Web at
  68. http://www.bitwizard.nl/sig11/.
  69.  
  70. 9.7. Shell-Init: Permission Denied when I Log In.
  71.  
  72. Your root directory and all the directories up to your home directory
  73. must be readable and executable by everybody. See the manual page for
  74. chmod or a book on Unix for how to fix the problem.
  75.  
  76. 9.8. No Utmp Entry. You Must Exec ... when Logging In.
  77.  
  78. Your /var/run/utmp is screwed up. You should have
  79.  
  80.    /var/run/utmp
  81.  
  82. in your /etc/rc.local or /etc/rc.d/*. See, ("I Screwed Up the System
  83. and Can't Log In to Fix It.") Note that the utmp may also be found in
  84. /var/adm/ or /etc/ on some older systems.
  85.  
  86. 9.9. Warning--bdflush Not Running.
  87.  
  88. Modern kernels use a better strategy for writing cached disk blocks.
  89. In addition to the kernel changes, this involves replacing the old
  90. update program which used to write everything every 30 seconds with a
  91. more subtle daemon (actually a pair), known as bdflush. Get
  92. bdflush-n.n.tar.gz from the same place as the kernel source code ("How
  93. To Upgrade/Recompile a Kernel.") and compile and install it. bdflush
  94. should be started before the usual boot-time file system checks. It
  95. will work fine with older kernels as well, so there's no need to keep
  96. the old update around.
  97.  
  98. 9.10. Warning: obsolete routing request made.
  99.  
  100. This is nothing to worry about. The message means that your version
  101. route is a little out of date, compared to the kernel. You can make
  102. the message go away by getting a new version of route from the same
  103. place as the kernel source code. ("How To Upgrade/Recompile a
  104. Kernel.")
  105.  
  106. 9.11. EXT2-fs: warning: mounting unchecked file system.
  107.  
  108. You need to run e2fsck (or fsck -t ext2 if you have the fsck front end
  109. program) with the -a option to get it to clear the "dirty" flag, and
  110. then cleanly unmount the partition during each shutdown.
  111.  
  112. The easiest way to do this is to get the latest fsck, umount, and
  113. shutdown commands, available in Rik Faith's util-linux package ("Where
  114. Are the Linux FTP Archives?") You have to make sure that your
  115. /etc/rc*/ scripts use them correctly.
  116.  
  117. NB: Don't try to check a file system that's mounted read/write. This
  118. includes the root partition if you don't see
  119.  
  120.    VFS: mounted root ... read-only
  121.  
  122. at boot time. You must arrange to mount the root file system read/only
  123. to start with, check it if necessary, and then remount it read/write.
  124. Almost all distributions do this. If your's doesn't, read the
  125. documentation that comes with util-linux to find out how to do this.
  126.  
  127. Note that you need to specify the -n option to mount so it won't try
  128. to update /etc/mtab, since the root file system is still read-only,
  129. and this will otherwise cause it to fail.
  130.  
  131. 9.12. EXT2-fs warning: maximal count reached.
  132.  
  133. This message is issued by the kernel when it mounts a file system
  134. that's marked as clean, but whose "number of mounts since check"
  135. counter has reached the predefined value. The solution is to get the
  136. latest version of the ext2fs utilities (e2fsprogs-0.5b.tar.gz at the
  137. time of writing) from the usual sites. ("Where Are the Linux FTP
  138. Archives?")
  139.  
  140. The maximal number of mounts value can be examined and changed using
  141. the tune2fs program from this package.
  142.  
  143. 9.13. EXT2-fs warning: checktime reached.
  144.  
  145. Kernels from 1.0 onwards support checking a file system based on the
  146. elapsed time since the last check as well as by the number of mounts.
  147. Get the latest version of the ext2fs utilities. ("EXT2-fs warning:
  148. maximal count reached.")
  149.  
  150. 9.14. df Says, "Cannot read table of mounted file systems."
  151.  
  152. There is probably something wrong with your /etc/mtab or /etc/fstab
  153. files. If you have a reasonably new version of mount, /etc/mtab should
  154. be emptied or deleted at boot time (in /etc/rc.local or /etc/rc.d/*),
  155. using something like
  156.  
  157.    $ rm -f /etc/mtab*
  158.  
  159. Some old Linux distributions have an entry for the root partition in
  160. /etc/mtab made in /etc/rc* by using rdev. That is incorrect--the newer
  161. versions of mount do this automatically.
  162.  
  163. Some old distributions also have a line in /etc/fstab that looks like:
  164.  
  165.    /dev/sdb1   /root   ext2   defaults
  166.  
  167. The entry for /root should read simply /.
  168.  
  169. 9.15. fdisk Says, "Partition X has different physical/logical..."
  170.  
  171. If the partition number (X, above) is 1, this is the same problem as
  172. in fdisk: Partition 1 does not start on cylinder boundary. If the
  173. partition begins or ends on a cylinder numbered greater than 1024,
  174. this is because the standard DOS disk geometry information format in
  175. the partition table can't cope with cylinder numbers with more than 10
  176. bits. You should see ("How To Get Linux to Work with a Disk.")
  177.  
  178. 9.16. fdisk: Partition 1 does not start on cylinder boundary.
  179.  
  180. The version of fdisk that comes with many Linux systems creates
  181. partitions that fail its own validity checking. Unfortunately, if
  182. you've already installed your system, there's not much you can do
  183. about this, apart from copying the data off the partition, deleting
  184. and remaking it, and copying the data back.
  185.  
  186. You can avoid the problem by getting the latest version of fdisk, from
  187. Rik Faith's util-linux package (available on all the usual FTP sites).
  188. Alternatively, if you are creating a new partition 1 that starts in
  189. the first cylinder, you can do the following to get a partition that
  190. fdisk likes.
  191.  
  192.   * Create partition 1 in the normal way. A `p' listing will produce
  193.     the mismatch complaint.
  194.   * Type u to set sector mode and do p again. Copy down the number
  195.     from the End column.
  196.   * Delete partition 1.
  197.   * While still in sector mode, re-create partition 1. Set the first
  198.     sector to match the number of sectors per track. This is the
  199.     sector number in the first line of the p output. Set the last
  200.     sector to the value you wrote down in the step above.
  201.   * Type u to reset cylinder mode and continue with other partitions.
  202.     
  203. Ignore the message about unallocated sectors. They refer to the
  204. sectors on the first track apart from the Master Boot Record, and they
  205. are not used if you start the first partition in track 2.
  206.  
  207. 9.17. fdisk Says Partition n Has an Odd Number of Sectors.
  208.  
  209. The PC disk partitioning scheme works in 512-byte sectors, but Linux
  210. uses 1K blocks. If you have a partition with an odd number of sectors,
  211. the last sector is wasted. Ignore the message.
  212.  
  213. 9.18. Mtools Utilities Say They Cannot Initialize Drive X.
  214.  
  215. This means that mtools is having trouble accessing the drive. This can
  216. be due to several things.
  217.  
  218. Often this is due to the permissions on floppy drive devices
  219. (/dev/fd0* and /dev/fd1*) being incorrect. The user running mtools
  220. must have the appropriate access. See the manual page for chmod for
  221. details.
  222.  
  223. Most versions of mtools distributed with Linux systems (not the
  224. standard GNU version) use the contents of a file /etc/mtools to
  225. determine which devices and densities to use, in place of having this
  226. information compiled into the binary. Mistakes in this file often
  227. cause problems. There is often no documentation about this.
  228.  
  229. For the easiest way to access your MS-DOS files (especially those on a
  230. hard disk partition) see How do I access files on my DOS partition or
  231. floppy? Note--you should never use mtools to access files on an
  232. msdosfs mounted partition or disk!
  233.  
  234. 9.19. At the Start of Booting: Memory tight
  235.  
  236. This means that you have an extra-large kernel, which means that Linux
  237. has to do some special memory-management magic to be able to boot
  238. itself from the BIOS. It isn't related to the amount of physical
  239. memory in your machine. Ignore the message, or compile a kernel
  240. containing only the drivers and features you need. ("How To
  241. Upgrade/Recompile a Kernel.")
  242.  
  243. 9.20. The System Log Says, "end_request: I/O error, ...."
  244.  
  245. This error message, and messages like it, almost always indicate a
  246. hardware error with a hard drive.
  247.  
  248. This commonly indicates a hard drive defect. The only way to avoid
  249. further data loss is to completely shut own the system. You must also
  250. make sure that whatever data is on the drive is backed up, and restore
  251. it to a non-defective hard drive.
  252.  
  253. This error message may also indicate a bad connection to the drive,
  254. especially with home brew systems. If you install an IDE drive, always
  255. use new ribbon cables. It's probably is a good idea with SCSI drives,
  256. too.
  257.  
  258. In one instance, this error also seemed to coincide with a bad ground
  259. between the system board and the chassis. Be sure that all electrical
  260. connections are clean and tight before placing the blame on the hard
  261. drive itself.
  262.  
  263. [Peter Moulder, Theodore Ts'o]
  264.  
  265. 9.21. "You don't exist. Go away."
  266.  
  267. This is not a viral infection. It comes from programs like write,
  268. talk, and wall, if your invoking UID doesn't correspond to a valid
  269. user (probably due to /etc/passwd being corrupted), or if the session
  270. (pseudoterminal, specifically) you're using isn't properly registered
  271. in the utmp file (probably because you invoked it in a funny way).
  272.  
  273. 9.22. "Operation not permitted."
  274.  
  275. One or more of the file's or directory's attribute bits are set
  276. incorrectly. If the "I" bit is set, for example, you won't be able to
  277. change file permissions with chmod.
  278.  
  279. The solution is to use lsattr to display file and directory
  280. attributes, and chattr to set and unset them. The programs'
  281. documentation is contained in their manual pages.
  282.  
  283. [Paul Campbell]
  284.  
  285. 9.23. programname: error in loading shared libraries: lib xxx..so. x: cannot
  286. open shared object file: No such file or directory.
  287.  
  288. A message like this, when the program that you're trying to run uses
  289. shared libraries, usually means one of two things: the program was
  290. either compiled on a machine that had a different set of libraries or
  291. library paths than yours; or you've upgraded your libraries but not
  292. the program.
  293.  
  294. Executable programs that are linked with dynamic libraries, expect the
  295. full pathname of each of the library files it requires. So do the
  296. shared libraries, if they rely on other libraries. This is so the
  297. shared object dependencies remain as unambiguous as possible, and also
  298. as a security measure.
  299.  
  300. Short of recompiling the executable file for the libraries on the
  301. system--probably the most desirable alternative in the long run--you
  302. can try to determine which libraries the executable file needs with
  303. the command: "ldd programname." The output will be a list of the
  304. shared libraries on the system that the program needs to run, as well
  305. as the missing libraries. You can then add the library packages, or if
  306. the libraries already exist in a different directory, you can create a
  307. symbolic link so the program can find it. For example, if the program
  308. requires /usr/lib/libncurses.so.2, and your machine has
  309. /lib/libncurses.so.2, you can create a link where the program expects
  310. to find the library; e.g.:
  311.  
  312. # cd /usr/lib && ln -s /lib/libncurses.so.2 .
  313.  
  314. You should note, however, that creating library links like these
  315. should be considered a security risk, and the additional links you
  316. create will not be compatible with future upgrades. It's simply a
  317. quick fix for backward compatibility.
  318.  
  319. Also, it may take some guesswork to determine in exactly which of the
  320. system library directories the program expects to find a shared
  321. library file, because ldd will not list the paths of libraries it
  322. can't find. A program most likely will tell the run-time linker,
  323. /lib/ld.so, to look for shared libraries in /lib, /usr/lib,
  324. /usr/local/lib, or /usr/X11R6/lib, if it's an X client. But that
  325. doesn't mean that libraries can't be installed elsewhere. It helps to
  326. have some idea of the original library configuration before
  327. proceeding.
  328.  
  329. Also be sure to run ldconfig after creating the symbolic link, so that
  330. ld.so has an updated view of the system's libraries. You should also
  331. make certain that all of the library directories are listed in
  332. /etc/ld.so.conf, and perhaps in the LD_LIBRARY_PATH environment
  333. variable.
  334.  
  335. 9.24. "init: Id "x" respawning too fast: disabled for 5 minutes."
  336.  
  337. In most distributions this means that the system is booting by default
  338. into runlevel 5, which is supposed to respawn (re-start again after
  339. it's been exited) a graphical login via xdm, kdm, gdm, or whatever,
  340. and the system can't locate the program.
  341.  
  342. However, "Id" can also indicate the absence or misconfiguration of
  343. another program, like mingetty, if init tries to respawn itself more
  344. than 10 times in 2 minutes.
  345.  
  346. Id "x" is the number in the leftmost column of the /etc/inittab file:
  347.  
  348. # Run gettys in standard runlevels
  349. 1:2345:respawn:/sbin/mingetty tty1
  350. 2:2345:respawn:/sbin/mingetty tty2
  351. 3:2345:respawn:/sbin/mingetty tty3
  352. 4:2345:respawn:/sbin/mingetty tty4
  353. 5:2345:respawn:/sbin/mingetty tty5
  354. 6:2345:respawn:/sbin/mingetty tty6
  355.  
  356. Commenting the offending line out and then fixing the errant program
  357. and testing on the command line will allow you to see any error
  358. messages that go to standard error output (console) if the errors are
  359. not going to the system log file. Uncomment the line and restart init
  360. with "kill -SIGHUP 1" or "telinit q" to cause init to reinitialize and
  361. reread the /etc/inittab file.
  362.  
  363. Some systems, however, rewrite /etc/inittab when booting. In that
  364. case, refer to the init man page, and/or the settings in
  365. /etc/sysconfig/init.
  366.  
  367. Refer to the init and /etc/inittab man pages for detailed information.
  368.  
  369. [Carl King]
  370.  
  371. 9.25. FTP server says: "421 service not available, remote server has closed
  372. connection."
  373.  
  374. If an FTP server won't allow logins, it is probably configured
  375. correctly, but the problem is probably with authorizing users at
  376. login. FTP servers in current distriubtions often authorize users with
  377. the Pluggable Authentication Modules library, in which case there
  378. should be an authorization file /etc/pam.d/ftp. A generic
  379. authorization file looks like this. (The line break on the first
  380. "auth" line is for readability. The entry is actually a single, long
  381. line).
  382.  
  383. #%PAM-1.0
  384. auth       required  /lib/security/pam_listfile.so item=user \
  385.            sense=deny file=/etc/ftpusers onerr=succeed
  386. auth       required  /lib/security/pam_pwdb.so shadow nullok
  387. auth       required  /lib/security/pam_shells.so
  388. account    required  /lib/security/pam_pwdb.so
  389. session    required  /lib/security/pam_pwdb.so
  390.  
  391. Also, make sure the /etc/ftpusers file, or whatever users file is
  392. named in the first "auth" line, is configured correctly.
  393.  
  394. Btw, the sample ftp file above is actually theftpd/ftp.pam.sample file
  395. from the ftpd-BSD-0.3.1.tar.gz package. Many thanks to David A. Madore
  396. for this much needed port.
  397.  
  398. 10. The X Window System
  399.  
  400. 10.1. Does Linux Support X?
  401.  
  402. Yes. Linux uses XFree86 (the current version is 4.0, which is based on
  403. X11R6). You need to have a video card which is supported by XFree86.
  404. See the XFree86 HOWTO for more details. Most Linux distributions
  405. nowadays come with an X installation. However, you can install or
  406. upgrade your own, from "ftp://metalab.unc.edu/pub/Linux/X11/Xfree86-*"
  407. and its mirror sites, or from http://www.xfree86.org/.
  408.  
  409. 10.2. How To Get the X Window System to Work.
  410.  
  411. The answers to this question can, and do, fill entire books. If the
  412. installation program wasn't able to configure the X server correctly,
  413. Linux will most likely try to start the X display, fail, and drop back
  414. into text-only terminal mode.
  415.  
  416. First and foremost, make certain that you have provided, as closely as
  417. possible, the correct information to the installation program of your
  418. video hardware: the video card and monitor. Some installation programs
  419. can correctly guess a "least common denominator" screen configuration,
  420. like a 640-by-480 VESA-standard display, but there are many possible
  421. video hardware configurations that may not be able to display this
  422. standard.
  423.  
  424. The X Window System configuration file is called (usually)
  425. /etc/XF86Config, /etc/X11/XF86Config, or
  426. /usr/X11R6/lib/X11/XF86Config.
  427.  
  428. If you need to manually configure the X server, there are several
  429. possible methods:
  430.  
  431.   * Try to use the XF86Setup program, which can help identify the
  432.     correct X server and monitor timings for the video hardware.
  433.   * Make sure that the X server has the correct options. If you log in
  434.     as the superuser, you should be able to use X --probeonly to get a
  435.     listing of the video card chipset, memory, and any special
  436.     graphics features. Also, refer to the manual page for the X
  437.     server. (E.g.; man X), and try running the X server and
  438.     redirecting the standard error output to a file so you can
  439.     determine, after you can view text on the screen again, what error
  440.     messages the server is generating; e.g., X 2>x.error.
  441.   * With that information, you should be able to safely refer to one
  442.     of the references provided by the Linux Documentation Project.
  443.     ("Where can I get the HOWTO's and other documentation? ") There
  444.     are several HOWTO's on the subject, including a HOWTO to calculate
  445.     video timings manually if necessary. Also, the Installation and
  446.     Getting Started guide has a chapter with a step-by-step guide to
  447.     writing a XF86Config file.
  448.     
  449. Also, make sure that the problem really is an incorrect XF86Config
  450. file, not something else like the window manager failing to start. If
  451. the X server is working correctly, you should be able to move the
  452. mouse cursor on the screen, and pressing Ctrl-Alt-Backspace will shut
  453. down the X server and return to the shell prompt in one of the virtual
  454. terminals.
  455.  
  456. 10.3. Where To Find a Ready-Made XF86Config file.
  457.  
  458. If you can't seem to get X working using the guidelines above, refer
  459. to the XFree86 HOWTO, recent versions of Installation and Getting
  460. Started, and the instructions for the XF86Setup program. The contents
  461. of the XF86Config file depend on the your exact combination of video
  462. card and monitor. It can either be configured by hand, or using the
  463. XF86Setup utility. Read the instructions that came with XFree86, in
  464. /usr/X11R6/lib/X11/etc. The file you probably need to look at most is
  465. README.Config. You should not use the sample XF86Config.eg file which
  466. is included with newer versions of XFree86 verbatim, because the wrong
  467. video clock settings can damage your monitor. Please don't post to
  468. comp.os.linux.x asking for an XF86Config, and please don't answer such
  469. requests. If you have a laptop, look at the Linux Laptop Web page
  470. ("How To Find Out If a Notebook Runs Linux.") Many of the installation
  471. notes also have the XF86Config file for the display. If you have a
  472. desktop machine, there are a few sample XF86Config files at
  473. ftp://metalab.unc.edu/. Refer also to the XFree86 FAQ
  474. http://www.xfree.org/FAQ/ and the monitor timings list
  475. http://www.xfree.org/#resources/, and in the /usr/X11R6/lib/X11/
  476. directory of your X distribution.
  477.  
  478. 10.4. What Desktop Environments Run on Linux?
  479.  
  480. Linux with XFree86 supports the KDE, GNOME, and commercial CDE desktop
  481. environments, and extended window managers like WindowMaker. Each uses
  482. a different set of libraries and provides varying degrees of MS
  483. Windows-like look and feel.
  484.  
  485. Information on KDE is available from http://www.kde.org/. The KDE
  486. environment uses the Qt graphics libraries, available from
  487. http://www.qt.org/. The desktop uses its own window manager, kwm, and
  488. provides a MS Windows-like look and feel.
  489.  
  490. The GNOME home page is http://www.gnome.org/. The environment uses the
  491. free GTK libraries, available from http://www.gtk.org/, and window
  492. managers like Enlightenment, http://www.enlightenment.org/, SawFish,
  493. http://www.sawfish.org/. There's also a Web page for GNOME
  494. installation and upgrade that functions much like Debian's apt-get
  495. utility with a friendly GUI front end. It's at:
  496. http://www.helixcode/com/desktop/.
  497.  
  498. The commercial CDE environment uses the Motif libraries and a
  499. variation of the Motif mwm window manager, dtwm, and provides a suite
  500. of desktop and session-management utilities. Several vendors have made
  501. the source code of Motif available and provided binary packages for
  502. Linux distributions. As a starting point, download and installation
  503. information is available at http://www.opengroup.org/openmotif/.
  504.  
  505. A free version of Motif, called LessTiF, is available from
  506. http://www.lesstif.org/.
  507.  
  508. WindowMaker, http://www.windowmaker.org/ is a window manager that has
  509. many desktop environment-like features. It provides support for
  510. GNUstep, http://www.gnustep.org/, a clone of the commercial NeXTStep
  511. environment.
  512.  
  513. 10.5. xterm Logins Show Up Strangely in who, finger.
  514.  
  515. The xterm that comes with XFree86 2.1 and earlier doesn't correctly
  516. understand the format that Linux uses for the /var/adm/utmp file,
  517. where the system records who is logged in. It therefore doesn't set
  518. all the information correctly. The xterms in XFree86 3.1 and later
  519. versions fix this problem.
  520.  
  521. 10.6. How to Start a X Client on Another Display.
  522.  
  523. To start a X client on another system that has a running X server, use
  524. the following commands:
  525.  
  526.   * Use xhost on the server system to allow the client system use the
  527.     display. If the server's IP address is 192.168.20.1, enter the
  528.     command:
  529.     
  530.     $ xhost + 192.168.20.1
  531.  
  532.   * On the client system, open a telnet connection to the server
  533.     system.
  534.   * In the telnet session, start a xterm in the background with the
  535.     -display and -e options. For example, if the IP address of the
  536.     machine running the server is 192.168.20.1 and the client program
  537.     name is named "clientapp," use the following command:
  538.     
  539.     $ xterm -display 192.168.20.1 -e clientapp &
  540.  
  541. [Pierre Dal Farra]
  542.  
  543. 11. How to Get Further Assistance
  544.  
  545. 11.1. If this Document Still Hasn't Answered Your Question....
  546.  
  547. Please read all of this answer before posting. I know it's a bit long,
  548. but you may be about to make a fool of yourself in front of 50,000
  549. people and waste hundreds of hours of their time. Don't you think it's
  550. worth spending some of your time to read and follow these
  551. instructions?
  552.  
  553. If you think an answer is incomplete or inaccurate, please e-mail
  554.  
  555. Read the appropriate Linux Documentation Project books. Refer to:
  556. ("Where Is the Documentation?")
  557.  
  558. If you're a Unix or Linux newbie, read the FAQ for
  559. comp.unix.questions, news.announces.newusers, and those for any of the
  560. other comp.unix.* groups that may be relevant.
  561.  
  562. Linux has so much in common with commercial unices, that almost
  563. everything you read there will apply to Linux. The FAQ's, like all
  564. FAQ's, be found on ftp://rtfm.mit.edu/pub/usenet/ (the
  565. mail-server@rtfm.mit.edu can send you these files, if you don't have
  566. FTP access). There are mirrors of rtfm's FAQ archives on various
  567. sites. Check the Introduction to *.answers posting, or look in
  568. news-answers/introduction in the directory above.
  569.  
  570. Check the relevant HOWTO for the subject in question, if there is one,
  571. or an appropriate old style sub-FAQ document. Check the FTP sites.
  572.  
  573. Try experimenting--that's the best way to get to know Unix and Linux.
  574.  
  575. Read the documentation. Check the manual pages (type man man if you
  576. don't know about manual pages. Also try man -k subject and apropos
  577. subject. They often list useful and relevant, but not very obvious,
  578. manual pages.
  579.  
  580. Check the Info documentation (type F1-i, i.e. the F1 function key
  581. followed by "i" in Emacs). This isn't just for Emacs. For example, the
  582. GCC documentation lives here as well.
  583.  
  584. There will also often be a README file with a package that gives
  585. installation and/or usage instructions.
  586.  
  587. Make sure you don't have a corrupted or out-of-date copy of the
  588. program in question. If possible, download it again and re-install
  589. it--you probably made a mistake the first time.
  590.  
  591. Read comp.os.linux.announce. It often contains very important
  592. information for all Linux users. General X Window System questions
  593. belong in comp.windows.x.i386unix, not in comp.os.linux.x. But read
  594. the group first (including the FAQ), before you post. Only if you have
  595. done all of these things and are still stuck, should you post to the
  596. appropriate comp.os.linux.* newsgroup. Make sure you read the next
  597. question first. "( What to put in a request for help. )"
  598.  
  599. 11.2. What to Put in a Request for Help.
  600.  
  601. Please read the following advice carefully about how to write your
  602. posting or E-mail. Making a complete posting will greatly increase the
  603. chances that an expert or fellow user reading it will have enough
  604. information and motivation to reply.
  605.  
  606. This advice applies both to postings asking for advice and to personal
  607. E-mail sent to experts and fellow users.
  608.  
  609. Make sure you give full details of the problem, including:
  610.  
  611.   * What program, exactly, you are having problems with. Include the
  612.     version number if known and say where you got it. Many standard
  613.     commands tell you their version number if you give them a
  614.     --version option.
  615.   * Which Linux release you're using (Red Hat, Slackware, Debian, or
  616.     whatever) and what version of that release.
  617.   * The exact and complete text of any error messages printed.
  618.   * Exactly what behavior you expected, and exactly what behavior you
  619.     observed. A transcript of an example session is a good way to show
  620.     this.
  621.   * The contents of any configuration files used by the program in
  622.     question and any related programs.
  623.   * What version of the kernel and shared libraries you have
  624.     installed. The kernel version can be found by typing "uname -a,"
  625.     and the shared library version by typing "ls -l /lib/libc*."
  626.   * Details of what hardware you're running on, if it seems
  627.     appropriate.
  628.     
  629. You are in little danger of making your posting too long unless you
  630. include large chunks of source code or uuencoded files, so err on the
  631. side of giving too much information.
  632.  
  633. Use a clear, detailed Subject line. Don't put things like "doesn't
  634. work," "Linux," "help," or "question" in it--we already know that.
  635. Save the space for the name of the program, a fragment of an error
  636. message, or summary of the unusual behavior.
  637.  
  638. Put a summary paragraph at the top of your posting.
  639.  
  640. At the bottom of your posting, ask for responses by email and say
  641. you'll post a summary. Back this up by using "Followup-To: poster."
  642. Then, actually post the summary in a few days or a week or so. Don't
  643. just concatenate the replies you got--summarize. Putting the word
  644. "SUMMARY" in your summary's Subject line is also a good idea. Consider
  645. submitting the summary to comp.os.linux.announce.
  646.  
  647. Make sure your posting doesn't have an inappropriate References:
  648. header line. This marks your article as part of the thread of the
  649. article referred to, which will often cause it to be junked by
  650. readers, along with the rest of a boring thread.
  651.  
  652. You might like to say in your posting that you've read this FAQ and
  653. the appropriate HOWTO's--this may make people less likely to skip your
  654. posting.
  655.  
  656. Remember that you should not post E-mail sent to you personally
  657. without the sender's permission.
  658.  
  659. 11.3. How To Email Someone about Your Problem.
  660.  
  661. Try to find the author or developer of whatever program or component
  662. is causing you difficulty. If you have a contact point for your Linux
  663. distribution, you should use it.
  664.  
  665. Please put everything in your E-mail message that you would put in a
  666. posting asking for help.
  667.  
  668. Finally, remember that, despite the fact that most of the Linux
  669. community are very helpful and responsive to E-mailed questions,
  670. you're likely asking for help from unpaid volunteers, so you have no
  671. right to expect an answer.
  672.  
  673. 12. Acknowledgments and Administrivia
  674.  
  675. 12.1. Where To Send Comments.
  676.  
  677.  
  678. Contributions to the FAQ may be in any format. Comments and
  679. corrections are gratefully received. Again, that email address is:
  680.  
  681. If you wish to refer to a question in the FAQ, it's better to do so by
  682. the question heading instead of number. The question numbers are
  683. generated automagically, and I don't see them in the source file.
  684.  
  685. I prefer comments in English to patch files--context diff is not my
  686. first language.
  687.  
  688. 12.2. Formats in Which This FAQ Is Available.
  689.  
  690. This document is available as an ASCII text file, an HTML World Wide
  691. Web page, Postscript, PDF, and as a USENET news posting.
  692.  
  693. Section and item numbers are generated with Perl. HTML is generated
  694. from SGML source using the Jade DSSSL interpreter by James Clark. Text
  695. versions are generated using lynx and edited with sed, which are part
  696. of most Linux distributions.
  697.  
  698. The Usenet version is posted regularly to news.answers, comp.answers,
  699. and comp.os.linux.misc. It is archived at
  700. ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/comp/os/linux/misc/.
  701.  
  702. For Postscript and PDF versions, please contact the FAQ maintainer.
  703.  
  704. If you would like to receive the archived version of the FAQ by
  705. E-mail, send the following in the body of an E-mail message to
  706. mail-server@rtfm.mit.edu:
  707.  
  708.    send faqs/linux/faq
  709.  
  710. Text, HTML, and SGML versions are available from the Linux archives at
  711. metalab.unc.edu, and from http://www.linuxdoc.org/, but they may be
  712. out of date, owing to lack of time on the LDP maintainers' parts.
  713.  
  714. The latest text and HTML versions are available at
  715. http://www.mainmatter.com and directly from the FAQ maintainer,
  716.  
  717. 12.3. Authorship and Acknowledgments.
  718.  
  719. This FAQ is compiled and maintained by Robert Kiesling,
  720. activists all over the world.
  721.  
  722. Freddy Contreras, the_blur_oc@hotmail.com, designed and GPL'd the
  723. Linux Frequently Asked Questions logos that appear on
  724. www.mainmatter.com.
  725.  
  726. Special thanks are due to Matt Welsh, who moderated
  727. comp.os.linux.announce and comp.os.linux.answers, coordinated the
  728. HOWTO's and wrote substantial portions of many of them, Greg Hankins
  729. the former Linux Documentation Project HOWTO maintainer, Lars
  730. Wirzenius and Mikko Rauhala, the former and current moderators of
  731. comp.os.linux.announce, Marc-Michel Corsini, who wrote the original
  732. Linux FAQ, and Ian Jackson, the previous FAQ maintainer. Thanks also
  733. to Roman Maurer for his many updates and additions, especially with
  734. European Web sites, translations, and general miscellany.
  735.  
  736. Last but not least, thanks to Linus Torvalds and the other
  737. contributors to Linux for giving us something to talk about!
  738.  
  739. 12.4. Disclaimer and Copyright.
  740.  
  741. The GNU Free Documentation License
  742.  
  743. Copyright (c) 2001 Robert Kiesling. Permission is granted to copy,
  744. distribute and/or modify this document under the terms of the GNU Free
  745. Documentation License, Version 1.1 or any later version published by
  746. the Free Software Foundation; with no Invariant Sections, with no
  747. Front-Cover Texts, and with no Back-Cover Texts. A copy of the license
  748. is included at: http://www.gnu.org/licenses/licenses.html#FDL.
  749.  
  750. I would be happy to answer any questions regarding the copyright. My
  751. email address is rkiesling@mainmatter.com.
  752.  
  753.