Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4005  / 2 Years ago, sun, may 8, 2022, 11:13:56

I had VNC working great -- allowing access from both my Mac and my Windows laptop. I set it up from "Sharing" under the System Settings.



This morning nothing will connect.



The only thing that has changed on Ubuntu is that I was working to get the Mosquitto MQTT server running, and as part of that I enabled ufw so I could open port 1883. I was connected via VNC from both of my devices (i.e. Mac and Window 10 laptop) -- in fact I issued the ufw commands from the Windows 10 laptop VCN'd into the Ubuntu computer)



This morning is when nothing is connected or will allow connection. I'm not sure, does ufw need to have a VNC port added if it is running? If so, how do I determine which one to open?



Here is the output from ufw Status:



ufw Screenshot


More From » vnc

 Answers
1

VNC uses port 5900 by default.




VNC by default uses TCP port 5900+N, where N is the display number
(usually :0 for a physical display).
source




If you block that with ufw (the default) you won't be able to connect.


[#6053] Monday, May 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ledeball

Total Points: 434
Total Questions: 121
Total Answers: 120

Location: Antigua and Barbuda
Member since Sat, Apr 24, 2021
3 Years ago
;