Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on November 28, 2007, 02:26:50 PM

Title: AmiVNC (server)
Post by: motorollin on November 28, 2007, 02:26:50 PM
Has anyone ever succeeded in getting AmiVNC running? I am trying to run it on my A4000 but no matter which version I use (Planar only or RTG+Planar) I get no output from the app, and I am unable to remote control the Amiga.

--
moto
Title: Re: AmiVNC (server)
Post by: jj on November 28, 2007, 02:46:11 PM
Are you tryying to control the Amiga from a PC ?

Is it cconnecting ?

Have you got the Amiga side set as a listening server ?
Title: Re: AmiVNC (server)
Post by: motorollin on November 28, 2007, 02:49:27 PM
Quote
JJ wrote:
Are you tryying to control the Amiga from a PC ?

Well, a Mac, but using a VNC client.

Quote
JJ wrote:
Is it cconnecting ?

No. The VNC client just sits there. I can ping the Amiga, so I know there is connectivity there.

Quote
JJ wrote:
Have you got the Amiga side set as a listening server ?

Well the AmiVNC server should sit and listen for connections. But the documentation says that the software should output what it is doing to let you know it is listening, but it doesn't output anything.

--
moto
Title: Re: AmiVNC (server)
Post by: jj on November 28, 2007, 02:52:15 PM
Not too sure on the Amiga version, was just thinking outloud really from the pc version.

What happens when you try connecting through vnc from you mac to the amiga ?
Title: Re: AmiVNC (server)
Post by: motorollin on November 28, 2007, 02:53:33 PM
Quote
JJ wrote:
What happens when you try connecting through vnc from you mac to the amiga ?

The viewer just hangs and eventually times out saying it can't connect. I am assuming the server isn't actually running, since there is no output from it when I run it.

--
moto
Title: Re: AmiVNC (server)
Post by: jj on November 28, 2007, 03:08:00 PM
Mmmm , sorry I can be of more help.

Not up on Macs , but is VNC blocked on your firewall

Is the port it uses blocked on your firewall or router ?
Title: Re: AmiVNC (server)
Post by: motorollin on November 28, 2007, 03:09:12 PM
I can VNC to other (non-Amiga) boxes on the same network from the same Mac using the same client, so it's not the Mac or the network. It has to be something to do with the server software on the Amiga.

--
moto
Title: Re: AmiVNC (server)
Post by: alexh on November 28, 2007, 03:11:03 PM
I always wanted to have the connection the other way around.

Control the PC using the Amiga keyboard and mouse.

That way you maintain 100% compatibility for games and demo's which hit the Amiga hardware.

The ultimate solution for someone with two monitors, or a dual input monitor is a network KM (no V).

I had hoped that some great coder could port x2vnc (http://fredrik.hubbe.net/x2vnc.html) to OS3.x using ixemul.library and ixnet.library (http://amiga.cvs.sourceforge.net/amiga/ixemul/)

Or that Douglas McLaughlin would open source his Synergy client for Amiga OS 4 (http://os4depot.net/index.php?function=showfile&file=network/misc/amisynergyc.lha) so that we could get a back-port to OS3.x



Title: Re: AmiVNC (server)
Post by: jj on November 28, 2007, 03:12:59 PM
Sorry was stating obvious things, but sometimes they are the things that throw us  :-D

Have you tried a different version, i.e older one ?
Title: Re: AmiVNC (server)
Post by: motorollin on November 28, 2007, 03:13:34 PM
@alexh
There are a couple of really good VNC clients for the Amiga, as well as Remote Desktop clients, so it is entirely possible to control a PC from an Amiga. However, I want to do it the other way round :-)

--
moto
Title: Re: AmiVNC (server)
Post by: motorollin on November 28, 2007, 03:15:20 PM
@JJ
It's ok, it's good to have someone go through the obvious points anyway, since sometimes they are not so obvious when you're frustrated :-) There is only the one version of AmiVNC on Aminet unfortunately.

--
moto
Title: Re: AmiVNC (server)
Post by: jj on November 28, 2007, 03:24:37 PM
Have a vauge memory that there was one on the RealVNC site, though could be insane
Title: Re: AmiVNC (server)
Post by: da9000 on November 29, 2007, 12:44:57 AM
Having an open firewall port on the Mac would be a moot point if the Mac is the VNC client, as it initiates the outgoing connection - it's not running the server.

Now on the Amiga, if you have a firewall (is there one?), then you'd better open the port(s) if the firewall shuts down incoming connections by default (why wouldn't it!??! isn't that the point?)

Anyhow, I don't have Chicken Of The VNC in front of me, but I recall on the PC using TightVNC, when you specify the port, you *must* use two colons (::) between the IP and the port. Maybe give that a try?

Also, I'd recommend hard-coding the port initially (default is 5900 if I recall correctly), just to eliminate any unneeded frustration.

Good luck moto
Title: Re: AmiVNC (server)
Post by: Ferry on November 29, 2007, 01:03:01 AM
@alexh

Take a look here (http://twinvnc.free.fr/index.php?menu=01&lang=eng).

Saluditos,

Ferrán.
Title: Re: AmiVNC (server)
Post by: Ferry on November 29, 2007, 01:27:36 AM
@motorollin

Well, I have used it a couple of times under OS4, and it worked OK, and that's over WAN, over the internet.

Quote
But the documentation says that the software should output what it is doing to let you know it is listening, but it doesn't output anything.


AmiVNC server should inform you about every step it does, something like this:

main : Listening set on port 5900
main : Waiting for client connection
main : accept()ed connection from xx.xx.xx.xx on socket 1
main : Negociating protocol version
main : Protocol supported by server : 3.3, by client : 3.3
main : Authentication
main : ClientInitialisation
main : SharedFlag = 1 (multiple clients : Yes)
main : Screen set to [TwinVNC - xx.homeip.net:5900 (My PC) - 1280x1024x8] (RTG)
main : prepared duplicate socket key 6549865165
main : sHandlerName='AmiVNC handler.0'
vProcessIncomes : got duplicate socket key 6549865165
vProcessIncomes runs on socket 0
main : RTG mode Pic96/5 @ 0x806ba6e0, 1280x1083, 2 pp, size 4325418
main : non-FastMode 32bit
vProcessIncomes : nEncodings=3/14


If AmiVNC stays on the "main : Waiting for client connection" stage it could be because, for some reason, the signal is not reaching its destination. Have you done the other way round? I mean, have you tried a client on the Amiga side and a server on the Mac side, just to check the connection?

Saluditos,

Ferrán.

Title: Re: AmiVNC (server)
Post by: benJamin on November 29, 2007, 02:33:40 AM
I used it to backup my A1200 when the keyboard failed.  Which TCP stack are you using?


jaminJay
"A man without religion is like a fish without a bicycle."
Title: Re: AmiVNC (server)
Post by: avanham on November 29, 2007, 06:13:37 AM
I have done it but I found it guru'd rather regularly.  Even when it wasn't guru-ing, it was really slow even on my a4000t / 060 using RTG.  In fact, I would say  it is unusable because it is so slow.  I remember having to do something with the TCP/IP stack I use (Genesis) to allow the VNC port (5900) to pass through.  I can't remember how I did it, but if you can find a log on your TCP/IP stack, you can see what the stack is doing when you try to connect.  If it does nothing then you have a problem but if it is being blocked by the stack, you will see a message in the log.

Anthony

Title: Re: AmiVNC (server)
Post by: motorollin on November 29, 2007, 07:22:51 AM
@Ferry
I don't even get "main : Listening set on port 5900". I literally get no output at all from the app.

@benJamin
I'm using Genesis

@avanham
I will check that, but I don't think it will turn anything up since the app doesn't even seem to be listening for connections.

--
moto
Title: Re: AmiVNC (server)
Post by: Piru on November 29, 2007, 02:49:00 PM
I took a look at AmiVNC years ago when I wanted to have proper VNC server. The code is pretty crappy to be honest. I wrote  (http://www.binaryriot.org/dreamolers/vncserver/index.php?func=STORY) my own server from scratch (and before you ask, it's bound to MorphOS due to technical reasons).
Title: Re: AmiVNC (server)
Post by: jj on February 25, 2008, 12:00:56 AM
@ moto or anyone else

Did u ever get this working, i keep getting log file open error no mater what I do.
Title: Re: AmiVNC (server)
Post by: Dragster on February 25, 2008, 12:14:22 AM
@Motorillin

I think you need to set the password first..
Title: Re: AmiVNC (server)
Post by: jj on February 25, 2008, 12:27:10 AM
got it running
Title: Re: AmiVNC (server)
Post by: golem on June 24, 2008, 06:20:53 PM
@JJ
How du do it? I'm trying to connect using RealVNC client on XP box to my 1200 running AmiVNC. I get through authentication but after a few seconds PC side bombs out with "rect too big" and Amiga says vProcessIncomes halted.
I'm using PLANAR on the 1200 (DblPAL No Flicker 64 colours).
Any help mucho gracias ;-)
Title: Re: AmiVNC (server)
Post by: Dandy on June 25, 2008, 08:56:00 AM
Quote

alexh wrote:

I always wanted to have the connection the other way around.

Control the PC using the Amiga keyboard and mouse.
...



I use Darren Eveland's registered version of "RDesktop (= remote desktop)" for that.

Works really grat.

But you need WinXP_pro on the PC for that.

For transferring files between PC and Amiga over the net I use smbfs.library...

Quote

alexh wrote:

That way you maintain 100% compatibility for games and demo's which hit the Amiga hardware.

The ultimate solution for someone with two monitors, or a dual input monitor is a network KM (no V).



Well, I wanted this solution because I did NOT want to have two monitors, two keyboards and two mice on my desktop...

Quote

alexh wrote:

I had hoped that some great coder could port x2vnc (http://fredrik.hubbe.net/x2vnc.html) to OS3.x using ixemul.library and ixnet.library (http://amiga.cvs.sourceforge.net/amiga/ixemul/)

Or that Douglas McLaughlin would open source his Synergy client for Amiga OS 4 (http://os4depot.net/index.php?function=showfile&file=network/misc/amisynergyc.lha) so that we could get a back-port to OS3.x



Forget it!
All you need really is the registered version of Darren Eveland's "RDesktop" and WinXP_pro on the PC, and smbfs.library for transferring files between PC and Amiga across the network.
Title: Re: AmiVNC (server)
Post by: Piru on June 25, 2008, 09:25:18 AM
Quote
smbfs.library

What's that?
Title: Re: AmiVNC (server)
Post by: alexh on June 25, 2008, 09:48:55 AM
I think that is SAMBA FS but I dont think it's a library :-)

http://aminet.net/package/comm/tcp/smbfs
Title: Re: AmiVNC (server)
Post by: alexh on June 25, 2008, 10:06:37 AM
Quote

Dandy wrote:
Well, I wanted this solution because I did NOT want to have two monitors

Two monitors is fine if the computers are local (I use 3) it's the multiple keyboards and mice that you really want to eliminate. Most modern monitors have multiple inputs so you could get away with just one if you really wanted.

Quote

Dandy wrote:
Forget it! [X2VNC for Amiga] All you need really is the registered version of Darren Eveland's "RDesktop" and WinXP_pro on the PC

I don't think I will forget it. RDesktop doesnt seem to supports kb/mouse only. It's sending the gfx over the network which eats up all the network and CPU bandwidth. Totally unnecessary if the computers are all local.