[NZLUG] VNC server/viewer setup help required

Cliff Pratt enkidu at cliffp.com
Tue Jul 12 13:03:07 NZST 2016


On 11/07/16 22:04, Patrick Connolly wrote:
> I start a VNC server like this;
>
>> vncserver :100
> New 'mta-d-427893-WS.pfr.co.nz:100 (hrapgc)' desktop is mta-d-427893-WS.pfr.co.nz:100
>
> Starting applications specified in /home/hrapgc/.vnc/xstartup
> Log file is /home/hrapgc/.vnc/mta-d-427893-WS.pfr.co.nz:100.log
>
> Then, looking at that log:
>> tail -4 /home/hrapgc/.vnc/mta-d-427893-WS.pfr.co.nz:100.log
> Mon Jul 11 15:36:55 2016
>   vncext:      VNC extension running!
>   vncext:      Listening for VNC connections on local interface(s), port 6000
>   vncext:      created VNC server for screen 0
>
>
> However,
>
> hrapgc at mta-d-427893-WS:~ > netstat -lt
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> tcp        0      0 *:netbios-ssn           *:*                     LISTEN
> tcp        0      0 localhost:x11           *:*                     LISTEN
> tcp        0      0 *:6100                  *:*                     LISTEN
>                    ^^^^^^^^^
> tcp        0      0 *:ssh                   *:*                     LISTEN
> tcp        0      0 localhost:ipp           *:*                     LISTEN
> tcp        0      0 *:db-lsp                *:*                     LISTEN
> tcp        0      0 *:microsoft-ds          *:*                     LISTEN
> tcp        0      0 localhost:17600         *:*                     LISTEN
> tcp        0      0 localhost:17603         *:*                     LISTEN
> tcp        0      0 *:gnunet                *:*                     LISTEN
> tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN
> tcp6       0      0 ip6-localhost:x11       [::]:*                  LISTEN
> tcp6       0      0 [::]:6100               [::]:*                  LISTEN
> tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
> tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN
> tcp6       0      0 [::]:db-lsp             [::]:*                  LISTEN
> tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN
> tcp6       0      0 [::]:gnunet             [::]:*                  LISTEN
> hrapgc at mta-d-427893-WS:~ >
>
> Somehow, the port number is 6100, not 6000.
Address = base (6000) + display (100)
>
>   after attempting to connect using TigerVNC viewer, Windows shows
>
> H:\> netstat
> Proto	   Local address      Foreign address       State
> ...
> ...
> TCP     10.10.102.66:53252  mta-d-427893-ws:6100  ESTABLISHED
> ...
> ...
>
> But there's no X window of any kind, and there's nothing new in the
> log file.
What's in the xstartup file?

Cheers,

Cliff


More information about the NZLUG mailing list