<div dir="auto"><div dir="auto">ubuntu@ubuntu:~$  ps -e | grep vnc</div><div dir="auto">   2686 ?        00:01:21 Xtightvnc</div><div dir="auto">ubuntu@ubuntu:~$  netstat -tulpn | grep LISTEN</div><div dir="auto">(Not all processes could be identified, non-owned process info</div><div dir="auto"> will not be shown, you would have to be root to see it all.)</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:8009">127.0.0.1:8009</a>          0.0.0.0:*               LISTEN      2813/java</div><div dir="auto">tcp        0      0 <a href="http://0.0.0.0:139">0.0.0.0:139</a>             0.0.0.0:*               LISTEN      -</div><div dir="auto">tcp        0      0 <a href="http://0.0.0.0:5901">0.0.0.0:5901</a>            0.0.0.0:*               LISTEN      2686/Xtightvnc</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:8080">127.0.0.1:8080</a>          0.0.0.0:*               LISTEN      2813/java</div><div dir="auto">tcp        0      0 <a href="http://0.0.0.0:6001">0.0.0.0:6001</a>            0.0.0.0:*               LISTEN      2686/Xtightvnc</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.53:53">127.0.0.53:53</a>           0.0.0.0:*               LISTEN      -</div><div dir="auto">tcp        0      0 <a href="http://0.0.0.0:22">0.0.0.0:22</a>              0.0.0.0:*               LISTEN      -</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:631">127.0.0.1:631</a>           0.0.0.0:*               LISTEN      -</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:54200">127.0.0.1:54200</a>         0.0.0.0:*               LISTEN      2813/java</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:5432">127.0.0.1:5432</a>          0.0.0.0:*               LISTEN      -</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:8443">127.0.0.1:8443</a>          0.0.0.0:*               LISTEN      2813/java</div><div dir="auto">tcp        0      0 <a href="http://0.0.0.0:445">0.0.0.0:445</a>             0.0.0.0:*               LISTEN      -</div><div dir="auto">tcp        0      0 <a href="http://127.0.0.1:9990">127.0.0.1:9990</a>          0.0.0.0:*               LISTEN      2813/java</div><div dir="auto">tcp6       0      0 :::139                  :::*                    LISTEN      -</div><div dir="auto">tcp6       0      0 :::80                   :::*                    LISTEN      -</div><div dir="auto">tcp6       0      0 :::22                   :::*                    LISTEN      -</div><div dir="auto">tcp6       0      0 ::1:631                 :::*                    LISTEN      -</div><div dir="auto">tcp6       0      0 :::443                  :::*                    LISTEN      -</div><div dir="auto">tcp6       0      0 :::445                  :::*                    LISTEN      -</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Nov 2021, 9:53 pm Knute Johnson, <<a href="mailto:groups@knutejohnson.com">groups@knutejohnson.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11/2/21 12:10, Colin Law wrote:<br>
<br>
> Also *please* do as I asked earlier, and on the machine running vnc run<br>
> sudo lsof -i:5900<br>
> <br>
> Colin<br>
> <br>
<br>
Just so you don't think you are the only one, I don't think there is any <br>
VNC server running on his computer either .<br>
<br>
Zahid, this is what you should get:<br>
<br>
knute@knute-XPS-8700:~$ ps -e | grep vnc<br>
    2566 ?        00:00:00 x11vnc<br>
<br>
knute@knute-XPS-8700:~$ netstat -tulpn | grep LISTEN<br>
(Not all processes could be identified, non-owned process info<br>
  will not be shown, you would have to be root to see it all.)<br>
tcp        0      0 <a href="http://127.0.0.53:53" rel="noreferrer noreferrer" target="_blank">127.0.0.53:53</a>           0.0.0.0:* LISTEN      -<br>
tcp        0      0 <a href="http://0.0.0.0:22" rel="noreferrer noreferrer" target="_blank">0.0.0.0:22</a>              0.0.0.0:* LISTEN      -<br>
tcp        0      0 <a href="http://127.0.0.1:631" rel="noreferrer noreferrer" target="_blank">127.0.0.1:631</a>           0.0.0.0:* LISTEN      -<br>
tcp        0      0 <a href="http://0.0.0.0:5900" rel="noreferrer noreferrer" target="_blank">0.0.0.0:5900</a>            0.0.0.0:* LISTEN <br>
2566/x11vnc<br>
tcp6       0      0 :::22                   :::* LISTEN      -<br>
tcp6       0      0 ::1:631                 :::* LISTEN      -<br>
tcp6       0      0 :::5900                 :::* LISTEN      2566/x11vnc<br>
<br>
knute@knute-XPS-8700:~$ sudo lsof -i:5900<br>
COMMAND  PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME<br>
x11vnc  2566 knute    8u  IPv4  34352      0t0  TCP *:5900 (LISTEN)<br>
x11vnc  2566 knute    9u  IPv6  34353      0t0  TCP *:5900 (LISTEN)<br>
<br>
<br>
-- <br>
<br>
Knute Johnson<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank" rel="noreferrer">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</blockquote></div>