Setup remoting into your Trixbox

Basically, I have a client who's giving me a Cisco VPN connection into their network which, because of a huge short-sighted move on Cisco's part, does not handle secure channels. No HTTPS, no SSH, no SFTP! WTF! So, the only box that I can even get to is my Trixbox on the client's premises throuch iLO. Talk about bare minimum! So, here are the steps that I took in order to get a bare minimum VNC

yum groupinstall 'Graphical Internet'
yum groupinstall 'X Window System'

mkdir -p /root/.vnc
nano /root/.vnc/xstartup
#!/bin/sh
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
firefox -height 600 -width 800 &

chmod 777 /root/.vnc/xstartup
vncserver

#From my laptop
"C:\Program Files\TightVNC\vncviewer" 192.0.100.210:1

#And, when done on the Trixbox server:
vncserver -kill :1

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen