Archive for July, 2013

Starting a VNC from the command line

Posted on the July 18th, 2013 under Internet,Linux by

It’s great to remote desktop/VNC into another server and doing work via a visual desktop interface rather than the command line, but this often requires that the VNC be started from the desktop interface. Here’s how to start the remote desktop from the command line. This is with Ubuntu 10.04.

Instructions (Bold+Italic is for command):

1) SSH Into Machine

2) Become Root: sudo -s

3) export DISPLAY=:0.0

4) xhost +

5) Exit from root: exit

6) export DISPLAY=:0.0

7) nohup /usr/lib/vino/vino-server > /dev/null &


I know Ubuntu 10.04 is old, but that’s the context where the need for this arose in. Also, please note there is security implications when using remote desktop. Please Google that

Download a section of a website using wget

Posted on the July 18th, 2013 under Linux by

wget -r –mirror -p –convert-links -e robots=off –no-parent –random-wait