• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 69
  • Last Modified:

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
0
Seth Simmons
Asked:
Seth Simmons
  • 4
  • 3
  • 2
  • +3
1 Solution
 
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 4
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now