Difference between revisions of "BullDog Notes"

From OpenCircuits
Jump to navigation Jump to search
Line 1: Line 1:
= Just a few scribbled links =
 
  
*'''[https://www.google.com/search?client=opera&q=ubuntu+enable+nas+access&sourceid=opera&ie=UTF-8&oe=UTF-8 ubuntu enable nas access - Google Search ]'''
 
*'''[https://www.google.com/search?safe=off&client=opera&hs=9g3&q=ubuntu+enable+nfs+access&spell=1&sa=X&ved=0ahUKEwi_lcKivt7gAhUIWN8KHcQXDW0QBQgrKAA ubuntu enable nfs access - Google Search ]'''
 
*'''[https://ubuntuforums.org/showthread.php?t=1397766 [ubuntu] How do I access a NAS on my home network? ]'''
 
*'''[https://ubuntuforums.org/showthread.php?t=288534 Mount samba shares with utf8 encoding using cifs ]'''
 
*'''[https://ubuntuforums.org/showthread.php?t=1169149 Howto: Fix Windows share browsing issues ]'''
 
*'''[http://www.opencircuits.com/index.php?title=BullDog_Notes&action=edit&redlink=1 Editing BullDog Notes - OpenCircuits ]'''
 
 
 
== VNC  SSH  ==
 
 
*'''[https://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/sshvnc.html Using VNC with SSH ]'''
 
 
*'''[https://www.liquidweb.com/kb/how-to-configure-a-vnc-server-to-use-an-ssh-tunnel-on-ubuntu-14-04-lts/ How to Configure a VNC Server to Use an SSH Tunnel on Ubuntu 14.04 LTS | Liquid Web Knowledge Base ]'''
 
*'''[https://ubuntuforums.org/archive/index.php/t-11808.html HOWTO: Tunnel VNC through SSH from a windows machine [Archive] - Ubuntu Forums ]'''
 
 
*'''[https://askubuntu.com/questions/636018/how-do-i-set-up-an-encrypted-ssh-tunnel-for-vnc gnome - How do I set up an encrypted SSH tunnel for VNC? - Ask Ubuntu ]'''
 
 
 
== misc vnc notes ==
 
  
  

Revision as of 14:04, 30 May 2019


Goal

I would like to use VNC to access a Ubuntu 18.04 system from windows like I do with the Raspberry Pi.

  • Connect to the existing desktop
  • Keep the connection secure

This has been a bit of a struggle for a number of gotchas.

Overview

As I understand it ( may not have figured it out all the way )

  • VNC has a server ( run on the machine you wish to view ) and viewer ( run on the machine you wish to access).
  • In addition to having several components there are many versions of VNC. Directions for each differ, and differ across versions of Linux.
  • I will focus on Tiger VNC and Ubuntu 18.04
  • To get VNC working there seem to be various components.
    • VNC server
    • Desktop software ( there are many different ones, you may need to install -- however here I want to run on the default Ubuntu 18.04 desktop so no install is necessary )
    • A way to connect to the VNC server -- many servers will only connect to localhost 127.0.0.1 so we will use vnc tunnelling to make a remote connection appear to be on localhost


Other Software Used

before installs

  • sudo apt update
  • sudo apt upgrade


Process viewer (htop)

  • Why This will let you see what vnc software is running.
  • Install >> sudo apt -install htop
  • Run >> htop
  • Exit >> ctrl-c

IfConfig

  • Why see your server's tcp ip address
  • Install >> sudo apt -install ??
  • Run >> ifconfig
  • Exit >> just ends

SSH

  • Install >> sudo apt install openssh-server

what

might this help gconf-editor

Ubuntu text editor ( gedit )

  • Install >> apt-get -install ??
  • Run >> htop

Ubuntu File Browser

Tiger VNC

  • Note: there may already be vncserver software installed perhaps vineo ??
  • Install >> sudo apt-get install tigervnc-scraping-server
  • Install ( may not be needed ) >> sudo apt install tigervnc-standalone-server tigervnc-viewer
  • Set password >>vncpasswd << gotcha, if run server with no password set. If this does not run find an install -- perhaps full tiger vnc to get it.
  • Run gotcha >> x0tigervncserver << but gotcha, needs to be pointed to password file so
  • Run >> x0tigervncserver -PasswordFile ~/.vnc/passwd
  • Run gotcha this is not the scraping server may not be installed >> tigervncserver -xstartup /usr/bin/xterm
  • Set password >>vncpasswd << gotcha, if run server with no password set it will not work.
  • edit configuration file >> use file browser but .vnc is hidden so turn on hidden file abillity ( one of its menus )
    • sudo apt-get install git psmisc
  • set password with >> vncpasswd
  • see running servers >> vncserver -list
  • what runs with command vncserver >> which vncserver
    right answer is ?? 

/usr/bin/vncserver


PuTTY X11 proxy: Unsupported authorisation protocol

How to start a vnc server for the actual display (scraping) with TigerVNC https://www.howtoforge.com/tutorial/how-to-start-a-vnc-server-for-the-actual-display-scraping-with-tigervnc/


Webmin

  • rather than use the desktop use a web based admin tool:


  • Install >> sudo apt-get install webmin << seems to work on virtual machine but not real one ??
  • Start >> sudo /etc/webmin/start

How To Install Webmin on Ubuntu 18.04 | DigitalOcean https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-18-04 sudo nano /etc/apt/sources.list sudo gedit /etc/apt/sources.list