Welcome, Guest
Username: Password: Remember me
14 Nov 2018
Glad to announce of release of INDI Library v1.7.5 on 2018-11-14. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 1 week 15 hours ago #32310

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 240
  • Karma: 1
  • Thank you received: 17
Hi,

I was trying to get X11vnc going on my mini pc, leveraging on the AstroPi-Script - but could not connect remotely. Otherwise, the script is working really well.

After some time and reading tons of information on the internet, I started to confuse myself, and could do with some help:

- what VNC server is most suitable (vino, realVNC, X11vnc)?
- what configurations are needed, which files or links to be established?
- how best activating / starting up the Hotspot?
- which VNC clients works best
- do I need a static IP address if I am in the field (with no WLAN available)
- any port opening / firewall settings to be applied?

For all of the above, there are many tutorials on the internet, each slightly different and I am not sure what works best with KStars/Ekos.

Many thanks for any support

Helge

Please Log in or Create an account to join the conversation.

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 1 week 10 hours ago #32323

I am not saying that my solution is the best, but I use vino and that works very well for me. So, my answers to your questions are

- vino
- I'll get back to that below ;-)
- I make sure that my user automatically logs in into Ubuntu and added vino as a start up application (System -> Preferences -> Personal -> Startup Applications). The command is

/usr/lib/vino/vino-server

- I only have Mac machines (iPhone, iPad and MacBook) and I use RealVNC
- no but you do need to know the ip address in order to make a connection. However, I have setup a fixed ip address on eth0 (since I always use wifi at home) and connect to it from my MacBook, which I also have given a fixed ip address (since I always use wifi otherwise)
- no

About the configuration of vino:
- vino *needs* to run unencrypted otherwise RealVNC cannot connect. Disable by typing this in a terminal

gsettings set org.gnome.Vino require-encryption false
- In order to configure vino you'll need dconf-editor. Start it from Applications -> system Tools -> dconf editor. Then go to org -> gnome -> desktop -> remote access and deselect "require encryption". Yes this sounds double but it is not.


HTH, Wouter
The following user(s) said Thank You: HelgeMK

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 6 days 12 hours ago #32338

  • stash
  • stash's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 140
  • Karma: 3
  • Thank you received: 38
It may sound a stupid question but what Desktop are you using - Gnome,KDE etc?

You say Ubuntu 18.04 is that a true Ubuntu 18.04 or Mate base?

I ask because although Vino is supposed to work out of the box - it doesn't even appear (or work) unless you use the default Gnome desktop which Kstars doesn't like (graphics are u/s ) .Vino-preferences also seems to have gone or hidden.

So

I switched desktop from std Gnome Ubuntu 18.04 to KDE Plasma(can choose which to login too !) and found "Discover" which allowed a simple install and set up of X11VNC Server and Desktop Sharing programs. The latter,Gnome desktop !) does not seem to do anything but X11VNC Server provides a nice simple GUI to configure the service to how you want it to work(See note at the end regarding headless).

used this write up to install KDE Desktop linuxconfig.org/how-to-install-kde-plasm...-bionic-beaver-linux

Anyway it works, no (well nearly) editing files a simple way to get remote desktop working - see attached screen prints

NOTE Update there is still some manual work to set up permanent passwords (the GUI passwords only stay for a session) and I am yet to test headless)

Without doubt,IMHO, its a mess compared to Windows or RPI Mate/Stretch using Realvnc server - as for the googled junk on VNC its a case of seeing the wood for the tree's :-)

This is a test set up on an AMD 64bit desktop so I dont know for sure it will all work on a Mini :-) or that everything works 100% but perhaps it maybe of some help.
Attachments:
The following user(s) said Thank You: HelgeMK

Please Log in or Create an account to join the conversation.

RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????
Last Edit: by stash.

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 6 days 11 hours ago #32339

I use Ubuntu Mate 18.04 and the way I described makes Vino work :-)

Please Log in or Create an account to join the conversation.

Modded Canon EOS 700D with a WO ZS 71 ED on a SW HEQ5-Pro /
QHY9 CCD and filter wheel with an 8" RC on a SW EQ6-R

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 6 days 8 hours ago #32345

  • stash
  • stash's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 140
  • Karma: 3
  • Thank you received: 38
One problem is that Vino does not exist in /usr/lib/vino nor does the dir :-) Not one my copy of Ubuntu Mate 18.04 As Vino package not installed no donf settings as you described exist either.

Installed vino package the program exists and settings exist but afer doing settings you have to accept incoming remote connection. Another setting then has to be changed to stop the system asking refuse or accept connection.

Then it works :-)

Thanks

Please Log in or Create an account to join the conversation.

RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 5 days 4 hours ago #32386

I tried several of them, but I think I liked the ease of setup, use, and performance of realVNC. I was using vino first, but found realVNC to be simpler to work with and it has an encrypted connection. The one issue that I found on the 64 bit system was that realvnc did not have a 64 bit version.
The following user(s) said Thank You: HelgeMK

Please Log in or Create an account to join the conversation.

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 5 days 2 hours ago #32387

  • stash
  • stash's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 140
  • Karma: 3
  • Thank you received: 38
I normally use Realvnc server but they no longer provide a free ,non cloud based , server - you have to pay silly money IMHO - Last time I looked.. Its only free on RPI hardware :-) Its now called VNC Connect - which means connect to your wallet :-)

Please Log in or Create an account to join the conversation.

RPI3 Ubuntu 16.04 / AMD desktop Kstars under Ubuntu 16.04 Mounts :azeq6 ,SWAZGoTo

RPI3 Fedora testing out on AMD desktop Fedpra 28 - running kstars 2.9.4 , Indilib 1.7.4 ?????

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 5 days 1 hour ago #32388

Gotcha, well I use it on Raspberry Pi, so that's why I didn't notice I guess.

Please Log in or Create an account to join the conversation.

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 3 days 2 hours ago #32430

  • HelgeMK
  • HelgeMK's Avatar Topic Author
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 240
  • Karma: 1
  • Thank you received: 17
Resolved. Was following those tutorials to get there:

For setting up vnc (x11vnc) server:

c-nergy.be/blog/?p=12220

Difficult step was step 4 in above tutorial, needed to install nautilus-admin, see following approach:

www.webupd8.org/2015/03/how-to-run-gedit...autilus-as-root.html

To turn on hotspot automatically:

unix.stackexchange.com/questions/183981/...ally-turn-on-hotspot

As vnc client I am using realvnc.

Hope this is useful and many thanks for support received!

Best, Helge

Please Log in or Create an account to join the conversation.

Setting up VNC / Wifi Hotspot on Ubuntu 18.04 / 64bit 3 days 2 hours ago #32431

Thanks for sharing!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.169 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica