PDA

View Full Version : VNC Linux Repeater


uknutz
06-21-2007, 11:43 AM
Hi all, first post so go easy on me. I know plenty about windows but very little about linux.

I currently offer technical support to windows users and have been paying a well know remote access provider a fair amount of money for the privilage. I have been reading up on pchelpware which looks just the jobby but for nat 2 nat a repeater is recommended.

Is it possible to run the linux port of vnc repeater on a VPS level 2? It comes as command line to compile and run. It needs ports 5500 and 5900 open to initate connections, is this possible on a VPS?

Any linux guru's comments would be much appreciated.

Thanks in advance.

Jim

Rick
06-21-2007, 11:53 AM
I don't see any reason why it wouldn't work in a vps. its a pure user mode application. give the install a shot and if you run into probs, post them on the forum or reach me at my email, I'll check it out and get it going with you.

Rick
06-21-2007, 11:55 AM
I found this info,. might help.

VNC repeater for linux

there is a port from the ultravnc repeater on linux
it's here: http://koti.mbnet.fi/jtko/
the forum thread is here: http://forum.ultravnc.info/viewtopic.php?t=3910
you can have info about how the repeater works here: http://www.uvnc.com/pchelpware/repeater/index.html

uknutz
06-21-2007, 01:43 PM
ok, got it uploaded and compiled! My first ever attempt at linux using command line.

Compiled without error but when I run with the ./repeater command I get the following with a couple of errors. I have looked through the forum but cannot find any answer, any ideas you linux guru you :)

root@server [/usr/repeater]# ./repeater
UltraVnc Linux Repeater version 0.14
UltraVnc Thu Jun 21 17:36:37 2007 > main(): ini file (/etc/uvncrepeater.ini) read error, using defaults
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): viewerPort : 5900
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): serverPort : 5500
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): maxSessions: 100
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): loggingLevel: 2
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): ownIpAddress (0.0.0.0 = listen all interfaces) : 0.0.0.0
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): runAsUser (if started as root) : uvncrep
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): Mode 1 connections allowed : Yes
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): Mode 2 connections allowed : Yes
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): Mode 1 allowed server port (0=All) : 0
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): Mode 1 requires listed addresses : No
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): Mode 2 requires listed ID numbers : No
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): useEventInterface: false
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): eventListenerHost : localhost
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): eventListenerPort : 2002
UltraVnc Thu Jun 21 17:36:37 2007 > listInitializationValues(): useHttpForEventListener : false
UltraVnc FATAL Thu Jun 21 17:36:37 2007 > dropRootPrivileges(): getpwnam() failed
UltraVnc Thu Jun 21 17:36:37 2007 > main(): relaying done.


Cheers
Jim

uknutz
06-21-2007, 02:20 PM
Not to worry, I think I fixed it.

I'm getting good at this linux stuff lol NOT!

Cheers
Jim

uknutz
06-22-2007, 06:18 AM
Quick Update

Its now running and works great. Managed to do 2 support sessions without issue.

I only have one problem - ./repeater starts the program from command line. I use PUTTY for windows to SSH into root, BUT when I close my putty window, it also shuts the program down.

Is there anyway you know of to make a program autostart or at least keep it running without having to keep a SSH connection open to the server constantly?

Thanks in advance

Jim

angus
06-22-2007, 03:22 PM
Quick Update

Its now running and works great. Managed to do 2 support sessions without issue.

I only have one problem - ./repeater starts the program from command line. I use PUTTY for windows to SSH into root, BUT when I close my putty window, it also shuts the program down.

Is there anyway you know of to make a program autostart or at least keep it running without having to keep a SSH connection open to the server constantly?

Thanks in advance

Jim

You could create a startup script in init.d. And using chkconfig place it in the appropriate run level so that it starts up every time you reboot.