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
Last revision Both sides next revision
en:guides:conspy [2010/02/21 02:25]
jozee
en:guides:conspy [2012/04/22 11:00]
linea
Line 7: Line 7:
 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) ​=====
  
 Linux supports up to 63 virtual consoles. You can have up to 62 (63 - X11 on console 7) sessions. Six sessions are already opened by Slitaz. Linux supports up to 63 virtual consoles. You can have up to 62 (63 - X11 on console 7) sessions. Six sessions are already opened by Slitaz.
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 53: Line 78:
 </​code>​ </​code>​
  
-=== Conspy as VNC (shared console) ===+===== Conspy as VNC (shared console) ​=====
  
 You can share a virtual console between two or more users. You can share a virtual console between two or more users.
Line 79: Line 104:
 </​code>​ </​code>​
  
 +===== X11VNC Autostart ​ =====
 +If you'd like to start X11VNC automatically you must edit /​home/​$USER/​.xinitrc with:
 +
 +<​code>​ # nano /​home/​tux/​.xinitrc </​code>​
 +
 +<​file>​
 +# ~/.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/​.config/​slitaz/​applications.conf
 +
 +############################################################​
 +## ATTENTION!!! INSERT THE FOLLOWING LINE AFTER .conf FILE CALL
 +/​etc/​init.d/​x11vnc start &
 +
 +case $1 in
 + e17|enlightenment*)
 +...
 +</​file>​
 +
 +**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 (/​dev/​vcsaXX and /dev/ttyXX)
 +  * -d for screen shot<​code>#​ conspy -nd 28 > screen28.txt</​code>​
 +  * -s to launch a shell<​code>#​ conspy -cs 28</​code>​ (no more openvt/​deallocvt)
 +  * -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.
 +
 +---- 
 +\\
 +^  Page Review Section ​ ^^ 
 +|Quality| Good  |
 +|Review| Minor Updates ​ |
 +|Priority| Medium |
 +|Problems| add a [[http://​forum.slitaz.org|forum post link]]|
 +|:::     | OR add a [[http://​labs.slitaz.org/​issues |lab issue tracker link ]]|
 +|How to Improve| Suggest briefly|
 +|::: |  |
 +
 +\\
 +----
 
en/guides/conspy.txt ยท Last modified: 2017/05/19 18:51 by hgt