Dockstar with minimal Desktop VNC October 21, 2010 09:34AM |
Registered: 14 years ago Posts: 18 |
Re: Dockstar with minimal Desktop VNC October 21, 2010 09:42AM |
Registered: 14 years ago Posts: 166 |
Re: Dockstar with minimal Desktop VNC October 21, 2010 10:03AM |
Registered: 14 years ago Posts: 18 |
Re: Dockstar with minimal Desktop VNC October 21, 2010 10:52AM |
Registered: 14 years ago Posts: 406 |
Re: Dockstar with minimal Desktop VNC October 21, 2010 04:40PM |
Registered: 14 years ago Posts: 18 |
heyhi
Re: Dockstar with minimal Desktop VNC October 28, 2010 02:07PM |
Re: Dockstar with minimal Desktop VNC October 29, 2010 07:38PM |
Registered: 14 years ago Posts: 261 |
apt-get install fluxbox tightvncserver xfonts-base rxvt iceweasel vncserver :1 # first run to create ~/.vnc directory. Create password if prompted vncserver -kill :1 # shut it down # install fluxbox as window manager for vncserver perl -pi -e 's/xrdb.*$/"$&\nfbsetroot -solid black\nfluxbox &\n"/e' ~/.vnc/xstartupTo start...
vncserver -geometry 800x600 -depth 16 :1To stop...
vncserver -kill :1
Re: Dockstar with minimal Desktop VNC October 31, 2010 06:32AM |
Registered: 14 years ago Posts: 54 |
Re: Dockstar with minimal Desktop VNC November 01, 2010 04:12AM |
Registered: 14 years ago Posts: 18 |
Re: Dockstar with minimal Desktop VNC November 01, 2010 05:03PM |
Registered: 14 years ago Posts: 261 |
apt-get install lxdevi ~/.vnc/xstartup
#add the following in place of fluxbox... lxsession -s LXDE &Then start the same way as before...
vncserver -geometry 800x600 -depth 16 :1To activate tight compression connect using a VNC viewer that supports tight compression (i.e. windows client from tightvnc.com or apt-get install xtightvncviewer)
Re: Dockstar with minimal Desktop VNC November 03, 2010 07:37PM |
Registered: 14 years ago Posts: 261 |
root@debian:~# free -m
total used free shared buffers cached
Mem: 121 83 37 0 1 73
-/+ buffers/cache: 9 112
Swap: 544 0 544
Starting vncserver uses only 4Mb of RAM:
root@debian:~# vncserver -deferupdate 200 -economictranslate -lazytight -geometry 1024x600 -depth 8 :1
root@debian:~# free -m
total used free shared buffers cached
Mem: 121 96 25 0 1 81
-/+ buffers/cache: 13 108
Swap: 544 0 544
Memory usage with fluxbox + iceweasel + rxvt running:
root@debian:~# free -m total used free shared buffers cached Mem: 121 87 33 0 0 52 -/+ buffers/cache: 34 86 Swap: 544 0 543After opening http://news.bbc.co.uk webpage:
root@debian:~# free -m total used free shared buffers cached Mem: 121 80 40 0 0 35 -/+ buffers/cache: 44 76 Swap: 544 2 542With 4 tabs open - http://news.bbc.co.uk, http://jeff.doozan.com/debian, http://slickdeals.net and http://mail.google.com (logged in with heavy javascript):
root@debian:~# free -m total used free shared buffers cached Mem: 121 113 8 0 0 29 -/+ buffers/cache: 83 38 Swap: 544 3 540Adding another 6 rxvt instances:
root@debian:~# free -m
total used free shared buffers cached
Mem: 121 116 4 0 0 30
-/+ buffers/cache: 85 35
Swap: 544 4 540
Still got 35Mb free :-)
Re: Dockstar with minimal Desktop VNC September 04, 2011 05:54PM |
Registered: 13 years ago Posts: 5 |
Re: Dockstar with minimal Desktop VNC September 04, 2011 05:55PM |
Registered: 13 years ago Posts: 5 |
Re: Dockstar with minimal Desktop VNC January 08, 2012 07:39PM |
Registered: 13 years ago Posts: 501 |
rebdel
Re: Dockstar with minimal Desktop VNC March 03, 2012 02:04PM |
#!/bin/bash # Take screenshot of Screen 15 seconds after the script is executed # Handy if you want to take screenshots of Games in Fullscreen in GNU / Linux and FreeBSD # The script requires import (part of ImageMagick) screenshot_dir="Screenshots"; # 300 secs (5 mins) seconds='1'; if [ ! -d "$screenshot_dir" ]; then mkdir $screenshot_dir; fi while [ 1 ]; do sleep $seconds; #(scrot $screenshot_dir/'$wx$h_bild.jpg') & #(scrot -t 60 $screenshot_dir/'%Y-%m-%d_$wx$h.jpg') & (nice -n 19 scrot $screenshot_dir/'$wx$h_bild.jpg') & nice -n 19 python pyframe_basic /home/Pyframe/Screenshots/800x600_bild.jpg 1>/dev/null 2>/dev/null done
#!/bin/sh # Take screenshot of Screen 15 seconds after the script is executed # Handy if you want to take screenshots of Games in Fullscreen in GNU / Linux and FreeBSD # The script requires import (part of ImageMagick) killall conky 2>&1 >/dev/null killall Xvfb 2>&1 >/dev/null rm /tmp/.X13-lock 2>&1 >/dev/null Xvfb :13 -screen 0 800x600x16 & export DISPLAY=:13.0 screenshot_dir="Screenshots"; # 300 secs (5 mins) seconds='10'; if [ ! -d "$screenshot_dir" ]; then mkdir $screenshot_dir; fi conky -p 0 -c /home/test/.conkyrc & fluxbox & #iceweasel <- no iceweasel at JPG #freevo <- also freevo ! while [ 1 ]; do sleep $seconds; #(scrot $screenshot_dir/'$wx$h_bild.jpg') & #(scrot -t 60 $screenshot_dir/'%Y-%m-%d_$wx$h.jpg') & (nice -n 19 scrot $screenshot_dir/'$wx$h_bild.jpg') & nice -n 19 python pyframe_basic /home/Pyframe/Screenshots/800x600_bild.jpg 1>/dev/null 2>/dev/null done
Re: Dockstar with minimal Desktop VNC March 03, 2012 03:41PM |
Registered: 14 years ago Posts: 24 |
ssh -c blowfish -X user@192.168.2.4 firefox ssh -c blowfish -X user@192.168.2.4 gnome-terminal
rebdel
Re: Dockstar with minimal Desktop VNC March 04, 2012 05:19AM |
fluffy
Re: Dockstar with minimal Desktop VNC March 05, 2012 08:52AM |
rebdel
Re: Dockstar with minimal Desktop VNC March 06, 2012 04:46AM |
rebdel
Re: Dockstar with minimal Desktop VNC March 22, 2012 02:57PM |