User Tools

Site Tools


unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
unix [2010/02/18 13:59]
robm
unix [2021/12/13 13:55] (current)
robm [X11: Client is not authorized to connect to Server]
Line 4: Line 4:
 //**Note:** This are also includes web-related things, such as Apache, which arn't really specific to unix & linux systems// //**Note:** This are also includes web-related things, such as Apache, which arn't really specific to unix & linux systems//
  
 +  * [[unix:lvm_recovery]] --- Recovering my LVM volume stored on my RAID array.
 +  * [[unix:flash]] --- Getting fullscreen performance out of Adobe Flash under Ubuntu
   * [[unix:x|My Perfect X11 setup]] --- Portrait PC monitor with compiz + HDTV without compiz   * [[unix:x|My Perfect X11 setup]] --- Portrait PC monitor with compiz + HDTV without compiz
   * [[unix:xinput|Logitech Marble Mouse scroll-wheel emulation]] --- How to configure a trackball mouse with extra button to pretend it has a scroll-wheel   * [[unix:xinput|Logitech Marble Mouse scroll-wheel emulation]] --- How to configure a trackball mouse with extra button to pretend it has a scroll-wheel
Line 13: Line 15:
   * [[unix:Debian]] --- Notes for my own benefit about how I've installed Debian at home   * [[unix:Debian]] --- Notes for my own benefit about how I've installed Debian at home
   * [[unix:USB Booting]] --- Wanted to reflash my BIOS, without resorting to floppies or CD-ROMs.   * [[unix:USB Booting]] --- Wanted to reflash my BIOS, without resorting to floppies or CD-ROMs.
 +
 +====== Backups ======
 +
 +Use [[https://pypi.org/project/duplicity/]]
  
 ===== Cygwin ===== ===== Cygwin =====
Line 28: Line 34:
 The streams are combined by the parenthesis which create a sub-shell. The streams are combined by the parenthesis which create a sub-shell.
  
 +===== Finding directories, without examining .snapshots =====
 +<code bash>
 +find . -type d \( -name .snapshot -prune -o -name .git \)
 +</code>
 +
 +Looking in the current directory, ''.'', find entries of type ''d'' (directories) for which: if the name is ''snapshot'' remove it from consideration, if the name is ''.git'' carry on (to implicitly ''-print'' the entries to STDOUT).
 ===== Renaming ===== ===== Renaming =====
 There is actually a ''rename'' command, which can be used to change extensions thus: There is actually a ''rename'' command, which can be used to change extensions thus:
Line 237: Line 249:
 >as RTS/CTS and involves switching the signal on a couple of the pins >as RTS/CTS and involves switching the signal on a couple of the pins
 >connected to the serial port. >connected to the serial port.
 +
 +To disable flow control add this to your shell's init script (e.g. ''.bashrc''):
 +
 +<code bash>
 +# Disable software flow control (XON / XOFF or ^S / ^Q)
 +stty -ixon
 +</code>
  
 ===== Disabling CapsLock ===== ===== Disabling CapsLock =====
Line 257: Line 276:
 http://www.stearns.org/doc/ssh-techniques-two.current.html http://www.stearns.org/doc/ssh-techniques-two.current.html
  
 +===== X11: "Client is not authorized to connect to Server" =====
 +
 +From: https://wiki.tcl-lang.org/page/Client+is+not+authorized+to+connect+to+Server
 +
 +Copy xauth token from somewhere with access:
 +
 +  xauth extract - $DISPLAY
 +
 +and import it to the place that's having trouble:
 +
 + xauth merge -
 +
 +For example, to allow a Docker container access to the X11 display:
 +
 +  xauth extract - $DISPLAY | base64
 +
 +and copy the result to the clipboard, and then in the container shell:
 +
 +  base64 -d <<<'BASE64_GOES_HERE' xauth merge -
unix.1266501590.txt.gz · Last modified: 2010/02/18 13:59 by robm