SliTaz GNU/Linux official and community documentation wiki.
.png

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
Next revision Both sides next revision
en:guides:conspy [2010/07/30 18:38]
bellard
en:guides:conspy [2012/04/17 20:12]
t0n1
Line 25: Line 25:
 box$ exit box$ exit
 </​code>​ </​code>​
 +<note tip>
 +With a recent busybox (see below) you can skip the openvt step:
 +<​code>​
 +home$ ssh tux@slitazbox
 +box$ su
 +box# conspy -cs 28
 +# some commands
 +...
 +# <​ESC><​ESC><​ESC>​
 +box# exit
 +box$ exit
 +</​code>​
 +</​note>​
 Later: Later:
 <​code>​ <​code>​
Line 47: Line 60:
 box$ exit box$ exit
 </​code>​ </​code>​
 +<note tip>
 +With a recent busybox (see below) you can skip the deallocvt step:
 +<​code>​
 +home$ ssh tux@slitazbox
 +box$ su
 +box# conspy 28
 +# clear; exit
 +<​ESC><​ESC><​ESC>​
 +box# exit
 +box$ exit
 +</​code>​
 +</​note>​
 If you prefer to use screen, see http://​www.gnu.org/​software/​screen:​ If you prefer to use screen, see http://​www.gnu.org/​software/​screen:​
 <​code>​ <​code>​
Line 79: Line 104:
 </​code>​ </​code>​
  
 +===== X11VNC Autostart ​ =====
 +If you'd like to start automatically the X11VNC you must edit /​home/​$USER/​.xinitrc with
 +
 +#nano /​home/​tux/​.xinitrc
 +
 +<​code>​
 +# ~/.xinitrc: Executed by slim login manager to startx X session.
 +# You can use F1 with Slim to chage your window manager or configure
 +# it permanently with your personnal applications.conf file.
 +#
 +. $HOME/​.config/​slitaz/​applications.conf
 +
 +############################################################​
 +## ATTENTION!!! INSERT THE FOLLOWING LINE AFTER .conf FILE CALL
 +/​etc/​init.d/​x11vnc start &
 +
 +case $1 in
 + e17|enlightenment*)
 +...
 +</​code>​
 +
 +**DO NOT USE** the Autostart Programs option under OpenBox or Daemon tricks, it will start X11VNCserver before X11server and crash the VNC after first client connection. So you'll only connect once 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 and Busybox =====
  
-Conspy is a busybox applet since busybox 1.17.0. It add 2.5Kb to busybox, has better terminal support and supports some new opions:+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 (/​dev/​vcsaXX and /dev/ttyXX)   * -c to create missing devices (/​dev/​vcsaXX and /dev/ttyXX)
-  * -d for screen shot<​code>​conspy -28 > screen28.txt</​code>​ +  * -d for screen shot<​code>​conspy -nd 28 > screen28.txt</​code>​ 
-  * -s to launch a shell<​code>​conspy -cs 28</​code>​ (no more openvt)+  * -s to launch a shell<​code>​conspy -cs 28</​code>​ (no more openvt/deallocvt)
   * -x COL -y LINE upper left corner position   * -x COL -y LINE upper left corner position
   * -f follow cursor with automatic scrollings   * -f follow cursor with automatic scrollings
  
-Conspy ​applet is enabled in busybox package. ​Conspy ​package is no more useful ​with a rescent ​busybox.+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.
  
 ----  ---- 
 
en/guides/conspy.txt · Last modified: 2017/05/19 18:51 by hgt