Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to keep VNC running' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to keep VNC running
Authored by: macubergeek on Mar 06, '03 09:02:15AM

ok first running bind AND apache on the same box is a very bad idea.
Both of these are vulnerable services...running them on the same box is
asking for trouble.

Consider using tightvnc. This allows you to create a vnc connection with
the remote box piped over an encrypted ssh connection. You will need to
install tightvnc on the local and remote machines.

1. ssh to the remote box and start the vnc server. No don't keep it
running all the time. Use it when you want it and then shut it down.
start it at cli with: vncserver
note the display number it gives you something like :0 or :1

--lets say the remote machine is at ip address 63.x.x.x

2. then from your local machine at cli, do:
vncviewer -via 63.x.x.x 63.x.x.x:0

you will then connect and the entire session will go over ssh and be
encrypted.



[ Reply to This | # ]
A script to keep VNC running
Authored by: Accura on Mar 06, '03 09:51:11PM

I know about apache and bind. i know there dodge. im about to start running sendmail as well. people are welcome ta atack my box, there is nothing on there that is worth stealing, everything is backed up. this is a test box, i also dont have to type in sudo to get root access. Its a dodge box, all ways will be

---
"The time has come," the walrus said. "To talk of many things..."



[ Reply to This | # ]