can't connect to ubuntu using vnc

anyone get vncviewer connecting to an ubuntu 16.04 instance?
i have remote connections enabled but vncviewer (6.17.1113) on windows 10 keeps saying it can't connect with the chosen security setting and to either upgrade vnc server or select weaker encryption.
I already did gsettings set org.gnome.Vino require-encryption false but made no difference
tried every encryption setting in the vnc connection
LVL 37
Seth SimmonsSr. Systems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlanConsultantCommented:
Hi,

Is the target machine logged in?

I believe that VNC won't work after a reboot, until a user has logged in.

Alan.
0
nociSoftware EngineerCommented:
Did you install & configure xvnc  or tightvnc server?

Here is an applicable article: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04
0
Seth SimmonsSr. Systems AdministratorAuthor Commented:
Is the target machine logged in?

yes

Did you install & configure xvnc  or tightvnc server?

tightvncserver
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

nociSoftware EngineerCommented:
Just a plain install of tightvnc server (apt-get install ...)   or was the xstartup script of use userpart of the vnc server adjusted...
Please compare what you configured to the digital ocean article.  As the digital ocean software uses xfce and you use gnome.
0
Fabio MarzoccaFreelancerCommented:
I am flawlessy connecting ubuntu 16.04 server from a Windows machine (RDP) by using this settings. I removed vino and installed x11vnc.
Just follow the procedure in the link.
0
arnoldCommented:
Is the system in graphical mode?
why not ssh to the system with the option which will redirect  X11 tunnel back through the ssh connection and any graphical interface will be sent back through the X11 tunnel to the X-Windowing system.
0
dfkeCommented:
Hi,

Also, if you have enabled your firewall then you need to allow the incoming connection from the vnc client.

Cheers
0
Seth SimmonsSr. Systems AdministratorAuthor Commented:
Just a plain install of tightvnc server (apt-get install ...)  

just a plain install

Please compare what you configured to the digital ocean article.

went through that article
session connects but throws constant xfc errors
after a reboot, gui console broke; keeps saying a system error occurred then disappears going back to the login screen regardless whether i select gnome, ubuntu, xfce
was able to get to a command line on console session 2 but probably easier to reinstall.  just installed a couple days ago so not a big deal
then i'll try ssh tunnel (been a while since i did that) and the mint article

Is the system in graphical mode?

yes; session was logged in

Also, if you have enabled your firewall...

firewall disabled
0
arnoldCommented:
What workstation are you using?, look at installin gift available an X-window app, for Windows xming is a nice tool.
Then use an ssn client with X11 forwarding enabled to localhost:a.b where a.b corresponds to xming,X in the system tray.

When you run an X(graphical) app inthe ssh session, the window will ve sent through the X11 ssh tunnel,,
0
Fabio MarzoccaFreelancerCommented:
have you tried with x11vnc, as detailed in my post?
0
Seth SimmonsSr. Systems AdministratorAuthor Commented:
ended up going backup to CentOS 7
been working with red hat distros for years but limited experience in the debian world
thought ubuntu might be easier but unfortunately wasn't
ended up using xrdp
install a couple packages, start the service, and i get a gnome desktop through windows rdp...simple and beautiful
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fabio MarzoccaFreelancerCommented:
As simple and beautiful was my experience with Ubuntu and x11vnc, but you didn't try.
0
Seth SimmonsSr. Systems AdministratorAuthor Commented:
went a different route
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.