Has anyone got one of these working with chunkvnc?
I downloaded an old repeater which doesnt seem to work so was wondering if there might be other resources for a repeater hosted on a linux box.
Thanks,
KD-LJ
@reboot root daemon /etc/ultravnc_repeater/ultravnc_repeater.pl
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
@reboot root daemon /etc/ultravnc_repeater/ultravnc_repeater.pl
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
Hammer wrote:After I looked at it; I only did a minor modification to a couple of lines of the script for filename consistency, but it will work as it is. Here is a list of everything I did.
~~~~~~~~~~~~~~~~~~~~~~~
First, I used "The Perfect Server" documentation found at the link below, to build the Ubuntu 8.04.04 server:
http://www.howtoforge.com/perfect-server-ubuntu8.04-lts
I don't install everything, like the web server or MySQL server. I just get a bare bones server up and running and apply any patches / fixes.
~~~~~~~~~~~~~~~~~~~~~~~
Once I finished building the server, I created a folder under /etc called "ultravnc_repeater" ("mkdir /etc/ultravnc_repeater") and put in a copy of the script Supercoe mentioned above.
The next step was to schedule the script to run every time the server was rebooted. You need to modify the CRONTAB file in /etc ("nano \etc\crontab" or "vi \etc\crontab") and add the line:
- Code: Select all
@reboot root daemon /etc/ultravnc_repeater/ultravnc_repeater.pl
This is how my CRONTAB looks:
- Code: Select all
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
@reboot root daemon /etc/ultravnc_repeater/ultravnc_repeater.pl
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
That's it. Just reboot the server.
Hopefully, this is straight forward enough for you. The only thing that gave me any trouble was trying to figure out the syntax for the CRONTAB file.
~~~~~~~~~~~~~~~~~~~~~~~
NOTE: I have the gut feeling I am missing something. I cannot remember if I had to do something for the daemon service to work properly on the server. Please let me know if you run in to any problems.
Hammer wrote:I'm a Linux novice and cannot speak with any authority about your suggestion. I'm not sure what the benefit is versus what I had done. Perhaps you could elaborate more for me.
Users browsing this forum: No registered users and 3 guests