<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FUbuntu_18</id>
	<title>Linux/Ubuntu 18 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2FUbuntu_18"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Ubuntu_18&amp;action=history"/>
	<updated>2026-05-07T04:22:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Linux/Ubuntu_18&amp;diff=6196&amp;oldid=prev</id>
		<title>Kenneth: /* VNC */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Linux/Ubuntu_18&amp;diff=6196&amp;oldid=prev"/>
		<updated>2023-03-03T05:14:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;VNC&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Missing rc.local ==&lt;br /&gt;
&lt;br /&gt;
Not created by default, but can be added.&lt;br /&gt;
&lt;br /&gt;
Make sure to create with:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
 chmod +x /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
Check status:&lt;br /&gt;
 systemctl status rc-local &lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
 systemctl restart rc-local &lt;br /&gt;
&lt;br /&gt;
Ref&lt;br /&gt;
* [https://askubuntu.com/questions/886620/how-can-i-execute-command-on-startup-rc-local-alternative-on-ubuntu-16-10]&lt;br /&gt;
* [https://www.claudiokuenzler.com/blog/783/ubuntu-18.04-rc.local-file-not-exist-launch-with-systemd-rc-local]&lt;br /&gt;
&lt;br /&gt;
== systemd ==&lt;br /&gt;
&lt;br /&gt;
Systemd Unit Files Locations&lt;br /&gt;
Directory - Description:&lt;br /&gt;
;/usr/lib/systemd/system/: Systemd unit files distributed with installed RPM packages.&lt;br /&gt;
;/run/systemd/system/: Systemd unit files created at run time. This directory takes precedence over the directory with installed service unit files.&lt;br /&gt;
;/etc/systemd/system/: Systemd unit files created by systemctl enable as well as unit files added for extending a service. This directory takes precedence over the directory with runtime unit files.&lt;br /&gt;
&lt;br /&gt;
10.6. Creating and Modifying systemd Unit Files - Red Hat Customer Portal - &lt;br /&gt;
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-unit_files&lt;br /&gt;
&lt;br /&gt;
 /etc/systemd/system/&lt;br /&gt;
&lt;br /&gt;
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/chap-Managing_Services_with_systemd#tabl-Managing_Services_with_systemd-Introduction-Units-Locations&lt;br /&gt;
&lt;br /&gt;
== 5.0 Kernel ==&lt;br /&gt;
&lt;br /&gt;
 apt install linux-virtual-hwe-18.04&lt;br /&gt;
&lt;br /&gt;
Note the --install-recommends just auto installs the suggested packages.&lt;br /&gt;
&lt;br /&gt;
To install HWE kernel in Ubuntu desktop along with newer xorg, you can use this command in the terminal:&lt;br /&gt;
 sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04&lt;br /&gt;
&lt;br /&gt;
If you are using &amp;#039;&amp;#039;&amp;#039;Ubuntu Server edition&amp;#039;&amp;#039;&amp;#039;, you won’t have the xorg option. So just install the HWE kernel in Ubutnu server:&lt;br /&gt;
 sudo apt-get install --install-recommends linux-generic-hwe-18.04&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;For server versions and people who downloaded 18.04 and 18.04.1, you’ll have to install the HWE kernel. Once you do that, you’ll get the newer kernel releases provided by Ubuntu to the LTS version.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Ref:&lt;br /&gt;
* How to Get Linux Kernel 5.0 in Ubuntu 18.04 LTS - It&amp;#039;s FOSS - https://itsfoss.com/ubuntu-hwe-kernel/&lt;br /&gt;
* How to Upgrade to Ubuntu 18.04.3 with Kernel 5.0, Updated Xorg | UbuntuHandbook - http://ubuntuhandbook.org/index.php/2019/08/upgrade-ubuntu18-04-3-kernel-5-0-xorg/&lt;br /&gt;
&lt;br /&gt;
== VNC ==&lt;br /&gt;
&lt;br /&gt;
 apt-get install tightvncserver xterm xfce4 xfonts-base&lt;br /&gt;
&lt;br /&gt;
? dbus-x11&lt;br /&gt;
&lt;br /&gt;
== netplan ==&lt;br /&gt;
&lt;br /&gt;
 /etc/netplan/01-netcfg.yaml&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This file describes the network interfaces available on your system&lt;br /&gt;
# For more information, see netplan(5).&lt;br /&gt;
network:&lt;br /&gt;
  version: 2&lt;br /&gt;
  renderer: networkd&lt;br /&gt;
  ethernets:&lt;br /&gt;
    ens18f0:&lt;br /&gt;
      dhcp4: no&lt;br /&gt;
      addresses: [10.0.0.2/24]&lt;br /&gt;
      gateway4: 10.0.0.1&lt;br /&gt;
    ens18f1:&lt;br /&gt;
      dhcp4: yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 sudo netplan apply&lt;br /&gt;
&lt;br /&gt;
 sudo netplan --debug apply&lt;br /&gt;
&lt;br /&gt;
Ref: https://www.howtoforge.com/linux-basics-set-a-static-ip-on-ubuntu&lt;br /&gt;
&lt;br /&gt;
== ifupdown ==&lt;br /&gt;
&lt;br /&gt;
/etc/network/interfaces:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# ifupdown has been replaced by netplan(5) on this system.  See&lt;br /&gt;
# /etc/netplan for current configuration.&lt;br /&gt;
# To re-enable ifupdown on this system, you can run:&lt;br /&gt;
#    sudo apt install ifupdown&lt;br /&gt;
&lt;br /&gt;
auto ens18f0&lt;br /&gt;
iface ens18f0 inet static&lt;br /&gt;
    address 10.0.0.2&lt;br /&gt;
    netmask 255.255.255.0&lt;br /&gt;
    gateway 10.0.0.1&lt;br /&gt;
&lt;br /&gt;
auto ens18f1&lt;br /&gt;
iface ens18f1 inet dhcp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 apt install ifupdown&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
Error:&lt;br /&gt;
 RTNETLINK answers: File exists&lt;br /&gt;
 Failed to bring up eth0&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
 sudo ip addr flush dev&lt;br /&gt;
&lt;br /&gt;
== Remote Screen Sharing ==&lt;br /&gt;
&lt;br /&gt;
Ubuntu Remote Desktop - 18.04 Bionic Beaver Linux - LinuxConfig.org&lt;br /&gt;
https://linuxconfig.org/ubuntu-remote-desktop-18-04-bionic-beaver-linux&lt;br /&gt;
&lt;br /&gt;
Settings -&amp;gt; Sharing -&amp;gt; Screen Sharing&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
First go to Settings and then “Sharing”.  Make sure to turn the Slider in the upper right hand corner to the ON position.&lt;br /&gt;
&lt;br /&gt;
Disable encryption:&lt;br /&gt;
&lt;br /&gt;
Now you need to install dconf-editor with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install conf-editor&lt;br /&gt;
&lt;br /&gt;
Now open a terminal and type&lt;br /&gt;
&lt;br /&gt;
 dconf-editor&lt;br /&gt;
&lt;br /&gt;
Now navigate to:&lt;br /&gt;
&lt;br /&gt;
 ORG &amp;gt; GNOME &amp;gt; DESKTOP &amp;gt; REMOTE ACCESS&lt;br /&gt;
&lt;br /&gt;
Then find the “Require Encryption” setting and toggle it off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ref: https://www.hagensieker.com/wordpress/2018/04/27/how-to-do-screen-sharing-on-ubuntu-18-04/&lt;br /&gt;
&lt;br /&gt;
== FTDI Driver ==&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install linux-modules-extra-`uname -r`&lt;br /&gt;
 # manually load driver or reboot&lt;br /&gt;
 modprobe ftdi_sio&lt;br /&gt;
&lt;br /&gt;
 ls /dev/ttyUSB*&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>