1. # the following shortcut restarts the X-server which is currently active on your console:
    Note that this shortcut logs out the user of the X-server. This method is particularly useful to punish people who use a screen locker on machines which should be shared among different people
  2. # usb mouse troubleshooting: It may happen that the automatically generated file /etc/X11/XF86Config-4 does not include correct settings for your usb mouse. If the command
    cat /dev/input/mice|hexdump|timeout 30 head -5
    outputs some data in hexadecimal format when moving your usb mouse, you may try to configure the mouse-specific sections of /etc/X11/XF86Config-4 by hand, e.g., given the following:
     Section "ServerLayout"
             Identifier     "XFree86 Configured"
             Screen      0  "Screen0" 0 0
             InputDevice    "Keyboard0" "CoreKeyboard"
     # PS/2 Mouse not detected
     # Serial Mouse not detected
             InputDevice    "USB Mouse" "CorePointer"
     Section "InputDevice"
             Identifier      "USB Mouse"
             Driver          "mouse"
             Option          "Device"                "/dev/input/mice"
             Option          "SendCoreEvents"        "true"
             Option          "Protocol"              "IMPS/2"
             Option          "ZAxisMapping"          "4 5"
             Option          "Buttons"               "5"
  3. # nice X11 configuration tool for Knoppix:
    sudo kxconfig
  4. # nice /etc/X11/XF86Config generation tool used by Knoppix:
  5. # if you wish to specify an additional X display which can be accessed through ctrl+alt+8, you could add the following line to /etc/X11/xdm/Xservers:
    :1 local /usr/X11R6/bin/X vt8 -dpi 100 -nolisten tcp
  6. # installing the xv.rpm:
  7. # you could also give it a try compiling and installing xv yourself:
    • # fetch and unpack the sources:
      cd /tmp
      wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
      tar -xzvf xv-3.10a.tar.gz
      cd xv-3.10a
    • # read the README and INSTALL files, and pay the registration fee of 25 dollar
    • # replace 'extern char *sys_errlist[]; /* this too... */' by 'extern __const char *__const sys_errlist[];':
      cat xv.h|sed s/"extern char \*sys_errlist\[\]; \/\* this too... \*\/"/"extern __const char \*__const sys_errlist\[\];"/ > xv.h.tmp;
      mv xv.h.tmp xv.h
    • # make sure that the X11 libraries are found:
      cat Makefile|sed s/"LIBS = -lX11 \$(JPEGLIB) \$(TIFFLIB) -lm"/"LIBS = -L\/usr\/X11R6\/lib -lX11 \$(JPEGLIB) \$(TIFFLIB) -lm"/ > Makefile.tmp
      mv Makefile.tmp Makefile
    • # execute the make file and install the stuff if successful:
      if make;then
      sudo mkdir -p /usr/local/man/man1;
      sudo make install;