Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:conspy [2010/07/08 15:14] – external edit 127.0.0.1 | en:guides:conspy [2017/05/19 16:51] (current) – replaced broken link hgt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Conspy : tiny screen or VNC ====== | ====== Conspy : tiny screen or VNC ====== | ||
| - | Slitaz core provides the 10Kb conspy to get remote control of Linux virtual consoles. See http://ace-host.stuart.id.au/ | + | Slitaz core provides the 10Kb conspy to get remote control of Linux virtual consoles. See http://conspy.sourceforge.net/ |
| Slitaz opens 6 virtual consoles which you can access with Ctrl-Alt-F1 to Ctrl-Alt-F6. You can connect to console 1 with //conspy 1// and console n with //conspy n// or the current active console with //conspy// (root user only). | Slitaz opens 6 virtual consoles which you can access with Ctrl-Alt-F1 to Ctrl-Alt-F6. You can connect to console 1 with //conspy 1// and console n with //conspy n// or the current active console with //conspy// (root user only). | ||
| To exit from conspy (and the virtual console) press the escape key three times in quick succession. | To exit from conspy (and the virtual console) press the escape key three times in quick succession. | ||
| - | |||
| ===== Conspy as screen (session manager) ===== | ===== Conspy as screen (session manager) ===== | ||
| Line 25: | Line 24: | ||
| box$ exit | box$ exit | ||
| </ | </ | ||
| + | <note tip> | ||
| + | With a recent busybox (see below) you can skip the openvt step: | ||
| + | < | ||
| + | home$ ssh tux@slitazbox | ||
| + | box$ su | ||
| + | box# conspy -cs 28 | ||
| + | # some commands | ||
| + | ... | ||
| + | # < | ||
| + | box# exit | ||
| + | box$ exit | ||
| + | </ | ||
| + | </ | ||
| Later: | Later: | ||
| < | < | ||
| Line 47: | Line 59: | ||
| box$ exit | box$ exit | ||
| </ | </ | ||
| + | <note tip> | ||
| + | With a recent busybox (see below) you can skip the deallocvt step: | ||
| + | < | ||
| + | home$ ssh tux@slitazbox | ||
| + | box$ su | ||
| + | box# conspy 28 | ||
| + | # clear; exit | ||
| + | < | ||
| + | box# exit | ||
| + | box$ exit | ||
| + | </ | ||
| + | </ | ||
| If you prefer to use screen, see http:// | If you prefer to use screen, see http:// | ||
| < | < | ||
| Line 78: | Line 102: | ||
| home$ firefox http:// | home$ firefox http:// | ||
| </ | </ | ||
| + | |||
| + | ===== X11VNC Autostart | ||
| + | If you'd like to start X11VNC automatically you must edit / | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | # ~/.xinitrc: Executed by slim login manager to startx X session. | ||
| + | # You can use F1 with Slim to change your window manager or configure | ||
| + | # it permanently with your personal applications.conf file. | ||
| + | # | ||
| + | . $HOME/ | ||
| + | |||
| + | ############################################################ | ||
| + | ## ATTENTION!!! INSERT THE FOLLOWING LINE AFTER .conf FILE CALL | ||
| + | / | ||
| + | |||
| + | case $1 in | ||
| + | e17|enlightenment*) | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | **DO NOT USE** the Autostart Programs option under OpenBox or Daemon tricks, it will start a X11VNCserver before a X11server and crash the VNC after the first client connection. So you'll only connect once to the server (and it's not desirable in support environments). | ||
| + | |||
| + | ===== Conspy and slow connections ===== | ||
| + | |||
| + | Launch a very verbose command into a conspy and the output is displayed at full speed in the virtual console whatever your connection speed to the remote box is (even if your connection is broken). | ||
| + | ===== Conspy and Busybox ===== | ||
| + | |||
| + | Conspy is a busybox applet since busybox 1.17.0. It adds 2.5Kb to busybox, has better terminal support and supports some new options: | ||
| + | * -c to create missing devices (/ | ||
| + | * -d for screen shot< | ||
| + | * -s to launch a shell< | ||
| + | * -x COL -y LINE upper left corner position | ||
| + | * -f follow cursor with automatic scrollings | ||
| + | |||
| + | The conspy applet is enabled in the busybox package. The conspy package is no longer more useful than the recent busybox and will be removed from the packages database. | ||
| ---- | ---- | ||