Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

opening a vnc port in solaris 8

38 views
Skip to first unread message

stroller

unread,
Feb 22, 2007, 1:54:13 AM2/22/07
to

hi all, i need to open a port to enable vnc on my solaris 8 server and
i'm having problems with the settings.

in /etc/inetd.conf i have:

vnc-1480x980x24 stream tcp nowait root /usr/local/bin/vncserver
vncserver -inetd -query localhost -fp tcp/localhost:5901 -once -
geometry 1480x980 -depth 24

and in /etc/services i have:

vnc-1480x980x24 5901/tcp

i have started a vncserver session on display 01, when i try to open a
vncviewer session on that port i get the error:

"Connection Terminated, unknown authtype 1500476704"

dmesg give the log:

"Feb 21 22:50:47 pacifica inetd[12844]: [ID 965992 daemon.error] -fp/-
once: unknown service"


can anyone tell what i'm doing wrong?

rgds.

hume.sp...@bofh.ca

unread,
Feb 22, 2007, 6:17:27 AM2/22/07
to
stroller <smcb...@hotmail.com> wrote:
> vnc-1480x980x24 stream tcp nowait root /usr/local/bin/vncserver

Is it supposed to be vncserver, or Xvnc you're supposed to put there?

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/

stroller

unread,
Feb 22, 2007, 1:13:09 PM2/22/07
to
On Feb 22, 3:17 am, hume.spamfil...@bofh.ca wrote:

yes, i got confused there.. i changed to Xvnc and still have a problem
though.

************

now i have in /etc/inetd.com :

vnc stream tcp nowait root /home/local/bin/Xvnc Xvnc -inetd -query
localhost -fp tcp/localhost:5901 -once -geometry 1480x980 -depth 24

and in /etc/services i have

vnc 5901/tcp

i started vncserver:

simon@pacifica users/simon 2> vncserver

New 'X' desktop is pacifica:1

Starting applications specified in /users/simon/.vnc/xstartup
Log file is /users/simon/.vnc/pacifica:1.log


and then tried to connect from a remote machine:

[simon@atlantia ~]$ vncviewer pacifica.icmethods.com:1

VNC viewer for X version 4.0 - built Nov 24 2004 16:03:27
Copyright (C) 2002-2004 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Thu Feb 22 09:57:05 2007
CConn: connected to host pacifica.mydomain.com port 5901

Thu Feb 22 09:57:10 2007
main: End of stream

which connects for a few seconds and then returns me to the shell
prompt without displaying the vncviewer window. anyone have an idea
why this is happening?

Darren Dunham

unread,
Feb 22, 2007, 1:28:25 PM2/22/07
to
stroller <smcb...@hotmail.com> wrote:

> hi all, i need to open a port to enable vnc on my solaris 8 server and
> i'm having problems with the settings.

> in /etc/inetd.conf i have:

> vnc-1480x980x24 stream tcp nowait root /usr/local/bin/vncserver
> vncserver -inetd -query localhost -fp tcp/localhost:5901 -once -
> geometry 1480x980 -depth 24

Not sure, but isn't -fp for a fontpath? If so, I'd expect a :7000 there
instead of 5901. Does vncserver do this itself or something?

--
Darren Dunham ddu...@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

0 new messages