Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:guides:conspy [2011/02/26 02:20] bellard [Conspy as VNC (shared console)] |
en:guides:conspy [2012/04/22 11:00] linea |
||
---|---|---|---|
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 78: | Line 103: | ||
home$ firefox http://SlitazBox:5800/ultrasigned.vnc | home$ firefox http://SlitazBox:5800/ultrasigned.vnc | ||
</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 ===== | ===== Conspy and slow connections ===== | ||
- | Launch a very verbose command into a conspy and the output is displayed at full speed in the virtual console what ever your connection speed to the remote box is. | + | 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 adds 2.5Kb to busybox, has better terminal support and supports some new options: | 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 -d 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 | ||
- | The conspy applet is enabled in the busybox package. The conspy package is no longer more useful than the recent 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. |
---- | ---- |