Debian/Ubuntu Remote desktop – TightVNC & LXDE

So you want the most (could be wrong 😀 ) lightweight X remote system for your Debian – Ubuntu server.
Read on for Light desktop installation on Debian and remote control with TightVnc.

Installation
Update and upgrade the system
lol@rofl:~# apt-get update
lol@rofl:~# apt-get upgrade

Install X, LXDE  and VNC
lol@rofl:~# apt-get install xorg lxde-core tightvncserver

It will probably install some 200mb worth of packages on your hard drive, but nowadays that’s hardly a problem with Terra sized drives.
So answer yes when asked 🙂

Initialize the tightvnc server to create a new config file
lol@rofl:~# tightvncserver :1

You are then prompted for a new password in order to access your remote desktop.
Repeat your password and and don’t worry when (and if) you see a :
–Warning: password truncated to the length of 8–
VNC like servers truncate the hardcore password you supply it with to the first 8 characters you enter
VNC uses a DES-encrypted challenge-response scheme, where the password is limited by 8 characters!

Answer no when prompted for a view only password, unless you want such an option

Kill the VNC
lol@rofl:~# tightvncserver -kill :1

# Edit config file to start session with LXDE:
lol@rofl:~# vi ~/.vnc/xstartup

# Add this at the bottom of the file:
lxterminal &
/usr/bin/lxsession -s LXDE &

# Restart VNC
lol@rofl:~# tightvncserver :1

Install chromium if you don’t already have it
lol@rofl:~# apt-get install chromium-browser

Your browser is now ready!

Security
Take good note that the following command
lol@rofl:~# tightvncserver :1
Does actually allow the VNC daemon to listen to port 5901.
All traffic is unencrypted, except for the session password, which is a no – no (unless its the laptop on your basement with no outside access.

So in order to run securelly we shall employ the old faithful shh tunnelling

Start the VNC with listening only to localhost connections (eg. from the server inside only)
lol@rofl:~# tightvncserver -localhost :1

On your local machine open a tunnel while forwarding the port 5901 port at the same time
lol@local-rofl:~# ssh -f -N -L 5901:localhost:5901 [email protected]

Now on your local VNC client you invoke the connection to your newly created remote desktop, supply the password and Voilla you are in 😀
[email protected]:5901

NOTES
Have a pick on your system default “apps”
lol@rofl:~# update-alternatives --get-selections

NOT ADVISED
if you want to run root (commando mode) ont he interwebs here is how (at your own risk, you have been warned)

lol@rofl:~# chromium –user-data-dir %U
or update your short cut to include the –user-data-dir %U directive

What if, for some hideous reason you want to use your mobile or some other evil contraption to view your remote desktop.
You can change the the VNC resolution to match that of you device by issuing the following command
lol@rofl:~# vncserver -geometry 800×600

Resources :
LXDE FAQ – http://wiki.lxde.org/en/LXDE:Questions#Change_default_browser
TightNVC FAQ – http://www.tightvnc.com/faq.html#howsecure
How to port forward using PUTTY  – http://www.cs.uu.nl/technical/services/ssh/putty/puttyfw.html

That’s all Folks!

NGC7380 – The Wizard nebula in HA

NGC7380 Wizard nebula in HA
NGC7380 Wizard Nebula in HA

NGC 7380 (also known as the Wizard Nebula) is an open cluster discovered by Caroline Herschel in 1787. William Herschel included his sister’s discovery in his catalogue and labelled it H VIII.77. It is also known as 142 in the 1959 Sharpless catalogue (Sh2-142). This reasonably large nebula is located in Cepheus. It is extremely difficult to observe visually, usually requiring very dark skies and an O-III filter.

Technical Details
Sky-Watcher 80ED Pro Black Diamond
SBIG 8300M
HEQ5 Pro
QHY CCD QHY5 mono
Frames: Baader 7nm Ha 2”: 34×1200″ -5C bin 1×1
Starlight Xpress Starlight Xpress FW 5*2″
3003×2166
Dates: Oct. 5, 2014
Locations: Home obs
Integration: 11.3 hours

Darks: ~10
Flats: ~10
Bias: ~100

Avg. Moon age: 10.86 days
Avg. Moon phase: 83.71%
Mean SQM: 17.00
Mean FWHM: 1.50
Temperature: 15.00
RA center: 341.867 degrees
DEC center: 58.074 degrees
Orientation: 179.381 degrees
Field radius: 0.956 degrees

My first CCD attempt is the NGC7380 The wizard nebula in HA (for now) 🙂 It took 4 nights to gather the data, as I am still battling with meridian flips, ADU’s, Dark noise and the rest of the CCD parameters…

Enjoy!

Get the altitude of any location – Astrophotography

One the gazillion little data that you need to have, in order to adjust the telescope mount in order to track celestial objects correctly, is the altitude of the location you are setting the gear up.

So here is a handy website that helps you determine the altitude of a given location

http://www.altitude.nu/

Seems quite accurate.

Galaxy M101 – Location Greece Mount Taygetus

The famous M101 Galaxy!

M101 Galaxy
M101 Galaxy

Technical details :

Contains: NGC 5477, NGC 5473, M 101, NGC 5457
Imaging telescopes or lenses: Sky-Watcher 80ED Pro Black Diamond
Imaging cameras: Canon 350D
Guiding telescopes or lenses: Sky-Watcher 80ED Pro Black Diamond
Software: Pleiades Astrophoto PixInsight
Resolution: 1016×936

Dates: July 24, 2014
Frames: 30×243″ ISO400
Integration: 2.0 hours
Darks: ~10
Flats: ~30
Bias: ~30

Avg. Moon age: 26.86 days
Avg. Moon phase: 7.86%
Bortle Dark-Sky Scale: 2.00
Temperature: 22.00
RA center: 210.790 degrees
DEC center: 54.363 degrees
Pixel scale: 4.405 arcsec/pixel
Orientation: -89.651 degrees
Field radius: 0.845 degrees