[TriLUG] Re: VNC questions -
H Brett Bolen
wingedlizard at nc.rr.com
Mon Jan 14 13:19:38 EST 2002
Janyne Kizer wrote:
> OK, I did this and "iptables -L" indicates that it is working fine,
> however it does not appear the the VNC server is running.
>
> /etc/services
> vnc-640x480x8 5950/tcp # vnc server IP
> vnc-800x600x8 5951/tcp # vnc server IP
> vnc-800x600x16 5952/tcp # vnc server IP
>
> /etc/xinetd.d/vnc-640x480x8
>
> # default: off
> # description: The vnc server allows connection via the vnc protocol
> #
> # server = /usr/bin/Xvnc
>
> service vnc-640x480x8
> {
> disable = no
> socket_type = stream
> protocol = tcp
> wait = no
> user = nobody
> server = /usr/bin/Xvnc
> server_args = -inetd -broadcast -once -geometry
> 640x480 -depth 8
> log_on_success += USERID
> log_on_failure += USERID
> }
>
> Janyne Kizer wrote:
>
>>Gotcha.
>>
>>So I need to add a line like the following to the firewall
>>
>>iptables -A INPUT -p tcp --sport 5950 -j ACCEPT
see if it works from your side of the firewall ( take iptables out of
equation). if it works, then add firewall support.
I boot at runlevel 3, so I don't use xdm ( kdm, gdm, etc). I had to
remove -brodcast from the server_args line. I also removed -once,
but I don't recall why.
b\375
More information about the TriLUG
mailing list