Hi,
Just want to know if one can get acceptable performance doing this through ADSL/Cable(say accessing home machine from another side of the globe), assuming both side provides reasonable bandwidth ?
Hi,
Just want to know if one can get acceptable performance doing this through ADSL/Cable(say accessing home machine from another side of the globe), assuming both side provides reasonable bandwidth ?
Indeed you can. Your results will be similar to an internet 'speed test' which is not only dependant on the bandwidth available to the respective machines but is also largely dependant on the route the data must actualy take to get through the network to the other machine. There are settings for compression and options such as not sending the desktop backgrounnd that enable a much faster connection. I have found that VNC is one of the best teaching/support tools available andyes I do use it globally. Personally I like tightvnc. Curently the dev's are working support for file transfers but it is not quite yet implemented.
Real VNC is also an option and they have a good FAQ..
--Best performance I've found ssh with compression and port forwarding:
--VNC listens on port 5900 + whatever screen the server was started with; if you ' vncserver :3 ' then you would ' vncviewer SERVER:5903 '
' vncpasswd ' == Reset the VNC password to whatever you want to use; only need to run once on the server side
--For this example, my vncserver is p233; on (server side) issue:
' vncserver :5 -geometry 1024x768 ' == You can use arbitrary geometry like 900x700 if you want
--Connect remotely from Linux using ' vncviewer p233:5905 ' or http://p233:5805 if you have the Java viewer installed
--To kill vnc on the server side:
' vncserver -kill :5 ' to bring it down and also terminate any client connections
# IF you ' ssh -2 -C -c blowfish -L 5995233:5905 p233 ' from a client box, this will compress the VNC data
# THEN ' vncviewer localhost:5995 ' on the client box to connect to the compressed SSH port
# 5995 (localhost) ----=> 5905 (server)
--The above directs SSH to allocate port 5995 on the *client* and listen to port 5905 on p233. You can still connect directly to p233:5905, but if you connect to localhost:5995 on the client you
will get the compressed connection.
--When ' vncserver ' is started, it checks ~/.vncrc, which sets some default values like geometry and color depth (NOT a typical shell script - see man vnc for details. Also note that you can override these default settings by passing args to vncserver on startup) and then points to ~/.vnc/Xsession. Xsession sets a few more regular shell vars and you can put stuff in there to run the rxvt terminal and use ' icewm ' or something as the window manager. If I didn't do this, then KDE would be running instead.
--Contents of .vncrc
--Contents of .vnc/XSessionCode:$vncStartup = "~/.vnc/XSession";
--Sometimes you will get faster response in the VNC window by limiting the viewer to 256 colors (8bit.) You can do this from Windows as well in the "Options" clicky before initiating the VNCCode:# initialize variables for use by all session scripts OPTIONFILE=/etc/X11/Xsession.options SYSMODMAP=/etc/X11/Xmodmap USRMODMAP=$HOME/.Xmodmap SYSRESOURCES=/etc/X11/Xresources USRRESOURCES=$HOME/.Xresources SYSSESSIONDIR=/etc/X11/Xsession.d STARTUP=$HOME/.xsession ALTSTARTUP=$HOME/.Xsession ERRFILE=$HOME/.xsession-errors #xinit /usr/bin/sawfish ##source ~/.vnc/xstartup xrdb $HOME/.Xresources xsetroot -solid grey #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & #icewm & #/opt/gnome/bin/sawfish & ##/usr/bin/sawfish & xset s off # This is from the FAQ - start vncserver with -name rxvt -geometry 80x34+10+10 -ls -title "$VNCDESKTOP Desktop" & /usr/bin/sawfish & # Note: See ~/.xsession for which window manager to load! exit 0
connection.
--If you are connecting from Windows, also play with the VNC options on the viewer - sometimes you get faster response with Hextile or one of the other options. Experiment.
Originally Posted by rickenbacherus
thanks for the reply.
Something I don't quite quite understand about the vnc server part is, can I start it after I logon through ssh or it must be started as a daemon ?
I don't want to open up a computer to the world and only ssh.
What I want to do is only have ssh visible to the rest of the world. When I am on the road, ssh back(either linux or putty on windows) to get a terminal session(as well as port forwarding). From there I start vnc server on my port of choice then connect the vnc client through ssh port forwarding.
--You can start vncserver from ssh, but if you want ONLY the ssh port visible you will have to firewall the box (iptables, firestarter, etc) -- otherwise nmap will also reveal the vncserver port.
Originally Posted by garyng

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99
IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00
IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30
1 X IBM 720 POWER SERVER WITH 32 GB RAM
$344.97
IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99