I have an old Sparc II machine running Aurora Sparc Linux 1.0 (RHL 7.3
equivalent). It comes with VNC 3.3.3. Older compiler and libraries
prevent building a VNC v4 variant.

I recently tried to setup this machine similarly to the newer Linux
machines running VNC 4.1.2-1. On these I use the "vnc.so" module with
Xorg in gdm.conf to attach to the console display and an "xinetd" script
to provide connections via XDMCP.

I know that the vnc.so module is not available in the 3.3 versions, but
I'd like to get the xinetd part running. After setting it up like the
other machines I get only "connection refused" errors or "main: end of
stream". I've checked that /etc/hosts.{deny,allow} are not preventing
connections and there's no firewall running on it. It should not need a
user auth file if it's going through XDMCP and "rbfauth" is disabled by
default, right?

if I try connecting with "vncviewer hostname" (no display) it always
says connection refused. I think it's trying to connect to the console
display.

If I try connecting with any of the other displays configured in
/etc/xinetd.d/vnc it doesn't give any errors, but doesn't open a VNC
session either. Here are sample messages on the terminal display when I
connect this way:

-------------------------------------------------
[EMAIL PROTECTED] cwebster]$ vncviewer winggear:53
 
VNC Viewer Free Edition 4.1.2 for X - built May 12 2006 17:42:13
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
 
Fri Nov  3 13:03:12 2006
 CConn:       connected to host winggear port 5953
 
Fri Nov  3 13:03:13 2006
 CConnection: Server supports RFB protocol version 3.3
 CConnection: Using RFB protocol version 3.3
 main:        End of stream
-------------------------------------------------

There's nothing in the system logs and I can't find a way to enable
logging on the connection.



## Here's what I've done so far.

===============
/etc/hosts.deny
---------------
ALL: ALL
===============

================
/etc/hosts.allow
----------------
ALL: 192.168.1. 192.168.2. 192.168.3. 192.168.32. 10.1.150.
================

## "XDM" starts in run level 5 and this is the default run level.

## XDMCP is enabled and used outside of VNC.

## Added the following entries to /etc/services:
    (beware of line-wrap)

-------------------------------------------
vnc             5950/tcp        # VNC Service (using defaults)
vnc1024x768x8   5952/tcp        # VNC Service 1024x768, 8-bit color
depth
vnc1280x1024x8  5953/tcp        # VNC Service 1280x1024, 8-bit color
depth
vnc1024x768x16  5962/tcp        # VNC Service 1024x768, 16-bit color
depth
vnc1280x1024x16 5963/tcp        # VNC Service 1280x1024, 16-bit color
depth
vnc1024x768x24  5972/tcp        # VNC Service 1024x768, 24-bit color
depth
vnc1280x1024x24 5973/tcp        # VNC Service 1280x1024, 24-bit color
depth
vnc1280x960x24  5980/tcp        # VNC Service 1280x960, 24-bit color
depth
-------------------------------------------

## Created VNC xinetd service startup script
    (beware of line-wrap)

=================
/etc/xinetd.d/vnc
-----------------
# default: off
# description: VNC accepts connections from VNC viewers using XDMCP to \
#              manage the connections.
## [50] Default options: Color Depth: 16 Geometry 1024x768
service vnc
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -desktop Pegasus
}
## [52] Color Depth: 8-bit Geometry: 1024x768
service vnc1024x768x8
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1024x768 -depth 8 -desktop Pegasus
}
## [53] Color Depth: 8-bit Geometry: 1280x1024
service vnc1280x1024x8
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1280x1024 -depth 8 -desktop Pegasus
}
## [62] Color Depth: 16-bit Geometry: 1024x768
service vnc1024x768x16
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1024x768 -depth 16 -desktop Pegasus
}
## [63] Color Depth: 16-bit Geometry: 1280x1024
service vnc1280x1024x16
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1280x1024 -depth 16 -desktop Pegasus
}
## [72] Color Depth: 24-bit Geometry: 1024x768
service vnc1024x768x24
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1024x768 -depth 24 -desktop Pegasus
}
## [73] Color Depth: 24-bit Geometry: 1280x1024
service vnc1280x1024x24
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1280x1024 -depth 24 -desktop Pegasus
}
## [80] Color Depth: 24-bit Geometry: 1280x960
## (special for Dennis)
service vnc1280x960x24
{
        disable = no
        flags           = REUSE
        protocol        = tcp
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -inetd -query localhost -once -geometry
1280x960 -depth 24 -desktop Pegasus
}
=================

## Enabled Scripts and started service

chkconfig vnc on
service xinetd reload
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to