Boise Linux Group Meeting Notes for November 21, 2017

Meeting opened at 6:30 pm with 8 members present.  Things got off to a rough start as it turned out that Clint’s laptop running Ubuntu 17.10 (latest and greatest) would not work with the overhead projector system  For more information on the follow-up, check out the previous post on Artful Ardvark (https://boiselug.org/node/291).  Clint proceed to use his laptop display to for the presentation which seemed to be acceptable for the most part.

Clint stared off with a quick demo of Teamviewer which is free for personal use and easy to use for accessing remote desktops on Windows and Linux and doesn’t require and port forwarding or other settings to use.  He demonstrated this by accessing a Windows 10 Desktop he had running at home. https://www.teamviewer.com/en/credentials/free-for-personal-use/

Clint the showed how he configured Windows 10 and the Linux RDP Client Remmina to take control of a Windows 10 Pro computer.  He first showed a screenshot of the Windows 10 Settings for Remote Desktop and enabling Remote Desktop access with a note to open the Advanced settings for additional settings that may be required. He then opened Remmina and showed the connection setting for accessing Windows 10 using RDP, making note of the Domain Setting “Workgroup” which he had to use even though his Windows 10 computer is not a member of a Windows Domain.   He finished this part of the demo by showing a screen shot of the Windows 10 Desktop accessed from Remmina.

The presentation then moved to using VNC for controlling the Linux Desktop. Ubuntu supports Desktop Sharing using the vino-server which is automatically configured when Desktop Sharing is active in the Sharing Settings panel which was demonstrated.  Note that vino must installed for this to work and it is also dependent on having an active network setting which is actually set in the Settings | Sharing | Screen Sharing with the result that Screen sharing must be not only “Enabled” but “Active.  Clicking on the Screen Sharing opens the settings Window for turning on Screen Sharing and selection of the Network to be used which Clint demonstrated.  Then using another copy of Ubuntu 17.10 that was running in VirtualBox, Clint demonstrated accessing his “host” Desktop from using both Remote Desktop Viewer and Remmina including the connection settings which he had installed in the Virtual machine.

Clint then turned to his presentation notes which are posted here with comments where appropriate.

Ubuntu help pages:

VNC/Servers
https://help.ubuntu.com/community/VNC/Servers

VNC/Clients
https://help.ubuntu.com/community/VNC/Clients

Desktop Sharing
https://help.ubuntu.com/stable/ubuntu-help/sharing-desktop.html
Requires vino be installed (default in 17.10?)

How to remotely display and control a Linux Desktop from a Windows or Linux system using VNC www.linuxtopia.org/HowToGuides/VNC_setup_Linux_Windows.html

http://xmodulo.com/how-to-set-up-vnc-server-on-linux.html

https://www.tecmint.com/enable-desktop-sharing-in-ubuntu-linux-mint/

tigervnc-stanalone-server - Tigervnc has been Linux service for allowing a Remote Desktop login that is its own session and does not access or share the desktop that is being used by the user, essentially a second session.

Ubuntu 17.04 – Configure TigerVNC Server to start at boot and make it working..:
http://c-nergy.be/blog/?p=10611

Configure TigerVNC Server to start with system in Ubuntu GNOME 16.04:
https://askubuntu.com/questions/948774/configure-tigervnc-server-to-start-with-system-in-ubuntu-gnome-16-04


This is an observation installing Ubuntu 17.10 in that it wants the installation DVD when installing some packages:  When you place the DVD in the drive, it automatically mounts but not in the desired location!

umount /dev/sr0 (or other location where it might be mounted)

Create the mount point that the installer wants:
mkdir -p /media/cdrom  
mount /dev/sr0 /media/cdrom (needed for software installs)
apt-get install vino
vino-preferences
ps aux |grep X
apt install openssh-server
netstat -pl |grep vino
/usr/lib/vino/vino-server  &
apt install net-tools

(net-tools provides both ifconfig and netstat which are not installed by default in  Ubuntu 17.10)

How to remotely display and control a Linux Desktop from a Windows or Linux system using VNC
www.linuxtopia.org/HowToGuides/VNC_setup_Linux_Windows.html

Remote Desktop Tools for Mac and Linux Machines to Connect to SQL Server:
https://www.mssqltips.com/sqlservertip/5210/remote-desktop-tools-for-mac-and-linux-machines-to-connect-to-sql-server/

xRDP - port t/3338 u/3339
VNC ports: tcp 5900 590 5901
apt install vino
vino-preferences
/usr/lib/vino/vino-server  &
iptables -I INPUT 5 -p tcp --dport 5900 -j ACCEPT
iptables -I INPUT 5 -p tcp --dport 5901 -j ACCEPT
iptables-save > /etc/iptables/rules.v4

==============================================================
apt install synaptic
search remmina and install everything in order to get all the plugins!

https://www.remmina.org/wp/
A feature rich Remote Desktop Application for Linux and other Unixes

Features:
Maintain a list of connection profiles, organized by groups
Make quick connections by directly putting in the server address
Remote desktops with higher resolutions are scrollable/scalable in both window and fullscreen mode.
Viewport fullscreen mode: remote desktop automatically scrolls when the mouse moves over the screen edge.
Floating toolbar in fullscreen mode, allows you to switch between modes, toggle keyboard grabbing, minimize, etc.
Tabbed interface, optionally managed by groups.
Tray icon, allows you to quickly access configured connection profiles

Remmina plugins: RDP, VNC, NX, XDMCP, SSH, Telepathy

https://www.remmina.org/wp/faq/

Documentation? Remmina was designed to be hopefully work for most people without the aid of any documentation. But if you want to find some technical information, the Remmina Wiki page might be useful. This Wiki page is also open for contribution.

https://github.com/FreeRDP/Remmina/wiki

Remmina is available on several Linux versions including Fedora, Arch, and Gentoo.

For his second presentation, Clint went of the process by which he installed Ubuntu 17.10 including how to get around the grub installation bug (documented in the post on Artful Ardvark: https://boiselug.org/node/291)  He then went over the history capture from building the laptop used at the meeting:

sudo apt install vim
sudo apt install gnome-session
sudo apt install gnome-shell-extensions
Note:  Clint started out by Installing 17.04 to get a clean installation using LVM, something that is “broken” in the 17.10 installer.  By doing this, he actually has several desktop choices at login including Unity which is not part of 17.10 but was in 17.04.  His other desktop choices are: GNOME, GNOME CLASSIC, GNOME on xorg, Ubuntu 17.10, and Ubuntu 17.10 on xorg.  Also, note that Wayland is used by default, hence the xorg choices which is needed to the fact that many applications are not yet working on Wayland.


The next two steps were needed to use the command line rdesktop to access his Windows 10 Desktop from Linux:
apt install credssp
rdesktop -u clint 172.30.0.116

Clint likes Samba for file sharing!
apt install samba smbclient cifs-utils
He went over how Ubuntu defines its usershares rather than using the smb.conf file:
cd /var/lib/samba/usershares/

apt install /home/tinslecl/Downloads/teamviewer_12.0.85001_i386.deb (after downloading from teamviewer website).

Configure mutlimedia resources:
apt install ubuntu-restricted-extras
apt install vlc
apt install libdvd-pkg
dpkg-reconfigure libdvd-pkg

apt install libreoffice
apt install k3b
apt install openssh-server
apt install synaptic
apt install gnome-tweak-tool
apt install virtualbox
apt install virtualbox virtualbox-guest-additions-iso
apt install grammarly  (neat grammar/spelling checker for Firefox browser)
dpkg -i opera-stable_48.0.2685.52_amd64.deb

Install openvpn support:
apt install network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-vpnc

And with this, the formal meeting ended but we continued for another 45 minutes for open discussion with about 3 conversations going on…

Our next meeting will be on December 19th, the week before Christmas.  Tentatively on the agenda is setting up a personal update repository for updating multiple systems and  managing the updates stored in the repository as an means of not having to download your updates from the network and managing in being selective of which updates get applied.