Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: VNC: list

Does anyone have vnc and inetd working?

 

 

VNC list RSS feed   Index | Next | Previous | View Threaded


joe.odenweller at eds

Sep 18, 2006, 1:06 PM

Post #1 of 3 (460 views)
Permalink
Does anyone have vnc and inetd working?

Trying to get inetd startup working on AIX. So far I have

- Installed VNC from www.bullfreeware.com after running across a message
that the IBM copy would not work under inetd.
- Added an entry to /etc/services "vnc 5950/tcp"
- Added an entry to /etc/inetd.conf "vnc stream tcp nowait
nobody /usr/local/bin/Xvncinetd"
- Added a script as /usr/local/bin/Xvncinetd:
#!/bin/sh
export PATH=/usr/local/bin:$PATH
/usr/local/bin/Xvnc -inetd -query localhost -once -geometry 1024x768
-depth 24 -desktop VNCserver -fp tcp/localhost:7100
- refresh -s inetd

Sometimes I get:

usplsai003:/# vncviewer localhost:50
VNC server supports protocol version 3.3 (viewer 3.3)
No authentication needed
Desktop name "nobody's VNCserver desktop
(usplsai003.txpln.us.eds.com:1)"
Connected to VNC server, using protocol version 3.3
VNC server default format:
32 bits per pixel.
Most significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 0 green 8 blue
16
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Most significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue
0
Same machine: preferring raw encoding
Server has turned zlib compression on
Unknown message type 70 from VNC server
usplsai003:/#

When I do I get a grey screen paint and then I get the "Unknown message
type 70 from VNC server" message.

Sometimes I get:
usplsai003:/# vncviewer localhost:50
VNC server supports protocol version 3.3 (viewer 3.3)
Unknown authentication scheme from VNC server: 172384628
usplsai003:/#

When I do I get no output.

To verify my XDMCP configuration I had Hummingbird to an XDMCP Query and
it successfully returned the CDE login screen.
_______________________________________________
VNC-List mailing list
VNC-List[at]realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


cwebster at ec

Sep 18, 2006, 2:14 PM

Post #2 of 3 (437 views)
Permalink
Re: Does anyone have vnc and inetd working? [In reply to]

Try to simplify it without the script.

/etc/inetd.conf (one continuous line)
-----------------------------------
5950 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query
localhost -once securitytypes=none
-----------------------------------

Once you've got it working you can try scripting it.

See the Xvnc man page referencing inetd:
http://www.realvnc.com/products/free/4.1/man/Xvnc.html


Too bad you don't have "xinetd". It's much easier!

--Cal Webster


On Mon, 2006-09-18 at 16:06, Odenweller, Joe wrote:
> Trying to get inetd startup working on AIX. So far I have
>
> - Installed VNC from www.bullfreeware.com after running across a message
> that the IBM copy would not work under inetd.
> - Added an entry to /etc/services "vnc 5950/tcp"
> - Added an entry to /etc/inetd.conf "vnc stream tcp nowait
> nobody /usr/local/bin/Xvncinetd"
> - Added a script as /usr/local/bin/Xvncinetd:
> #!/bin/sh
> export PATH=/usr/local/bin:$PATH
> /usr/local/bin/Xvnc -inetd -query localhost -once -geometry 1024x768
> -depth 24 -desktop VNCserver -fp tcp/localhost:7100
> - refresh -s inetd
>
> Sometimes I get:
>
> usplsai003:/# vncviewer localhost:50
> VNC server supports protocol version 3.3 (viewer 3.3)
> No authentication needed
> Desktop name "nobody's VNCserver desktop
> (usplsai003.txpln.us.eds.com:1)"
> Connected to VNC server, using protocol version 3.3
> VNC server default format:
> 32 bits per pixel.
> Most significant byte first in each pixel.
> True colour: max red 255 green 255 blue 255, shift red 0 green 8 blue
> 16
> Using default colormap which is TrueColor. Pixel format:
> 32 bits per pixel.
> Most significant byte first in each pixel.
> True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue
> 0
> Same machine: preferring raw encoding
> Server has turned zlib compression on
> Unknown message type 70 from VNC server
> usplsai003:/#
>
> When I do I get a grey screen paint and then I get the "Unknown message
> type 70 from VNC server" message.
>
> Sometimes I get:
> usplsai003:/# vncviewer localhost:50
> VNC server supports protocol version 3.3 (viewer 3.3)
> Unknown authentication scheme from VNC server: 172384628
> usplsai003:/#
>
> When I do I get no output.
>
> To verify my XDMCP configuration I had Hummingbird to an XDMCP Query and
> it successfully returned the CDE login screen.
> _______________________________________________
> VNC-List mailing list
> VNC-List[at]realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
VNC-List[at]realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


joe.odenweller at eds

Sep 19, 2006, 12:15 PM

Post #3 of 3 (423 views)
Permalink
RE: Does anyone have vnc and inetd working? [In reply to]

Couldn't get 3.3 to work so I took another run at compiling 4.1 on AIX.
This time I was successful and I now have vnc working under inetd on AIX
5.2. Now I just have to work on the Java side of vnc.


-----Original Message-----
From: Calvin Webster [mailto:cwebster[at]ec.rr.com]
Sent: Monday, September 18, 2006 4:14 PM
To: Odenweller, Joe
Cc: VNC Mailing List
Subject: Re: Does anyone have vnc and inetd working?

Try to simplify it without the script.

/etc/inetd.conf (one continuous line)
-----------------------------------
5950 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query
localhost -once securitytypes=none
-----------------------------------

Once you've got it working you can try scripting it.

See the Xvnc man page referencing inetd:
http://www.realvnc.com/products/free/4.1/man/Xvnc.html


Too bad you don't have "xinetd". It's much easier!

--Cal Webster


On Mon, 2006-09-18 at 16:06, Odenweller, Joe wrote:
> Trying to get inetd startup working on AIX. So far I have
>
> - Installed VNC from www.bullfreeware.com after running across a
> message that the IBM copy would not work under inetd.
> - Added an entry to /etc/services "vnc 5950/tcp"
> - Added an entry to /etc/inetd.conf "vnc stream tcp nowait
> nobody /usr/local/bin/Xvncinetd"
> - Added a script as /usr/local/bin/Xvncinetd:
> #!/bin/sh
> export PATH=/usr/local/bin:$PATH
> /usr/local/bin/Xvnc -inetd -query localhost -once -geometry 1024x768
> -depth 24 -desktop VNCserver -fp tcp/localhost:7100
> - refresh -s inetd
>
> Sometimes I get:
>
> usplsai003:/# vncviewer localhost:50
> VNC server supports protocol version 3.3 (viewer 3.3) No
> authentication needed Desktop name "nobody's VNCserver desktop
> (usplsai003.txpln.us.eds.com:1)"
> Connected to VNC server, using protocol version 3.3 VNC server default

> format:
> 32 bits per pixel.
> Most significant byte first in each pixel.
> True colour: max red 255 green 255 blue 255, shift red 0 green 8
> blue
> 16
> Using default colormap which is TrueColor. Pixel format:
> 32 bits per pixel.
> Most significant byte first in each pixel.
> True colour: max red 255 green 255 blue 255, shift red 16 green 8
> blue 0 Same machine: preferring raw encoding Server has turned zlib
> compression on Unknown message type 70 from VNC server usplsai003:/#
>
> When I do I get a grey screen paint and then I get the "Unknown
> message type 70 from VNC server" message.
>
> Sometimes I get:
> usplsai003:/# vncviewer localhost:50
> VNC server supports protocol version 3.3 (viewer 3.3) Unknown
> authentication scheme from VNC server: 172384628 usplsai003:/#
>
> When I do I get no output.
>
> To verify my XDMCP configuration I had Hummingbird to an XDMCP Query
> and it successfully returned the CDE login screen.
> _______________________________________________
> VNC-List mailing list
> VNC-List[at]realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
VNC-List[at]realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

VNC list RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.