virtualization – How to make work the i686 version of ubuntu 18.04 (emulated with exagear) on the jetson nano

I’ve installed exagear on my jetson nano and I have also activated an old license that I’d bought some time ago. Actually I’m trying to understand what to do further. I have installed the i686 version of ubuntu 18.04 as guest os,but it does not work properly. what’s missing ? below u can see what happens after having invoked the “exagear” command :

root@ziomario-desktop:/home/ziomario/Desktop# cat /proc/cpuinfo
processor : 0
vendor_id : Elbrus Technologies
cpu family : 6
model : 13
model name : Exagear Virtual i686-compatible CPU @ 1.00GHz
stepping : 2526
cpu MHz : 1000.00
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu pse tsc cx8 apic pge cmov clflush mmx pxsr sse sse2 nx pni ssse3 sse4_1 lahf_lm
bogomips : 1000.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:

processor : 1
vendor_id : Elbrus Technologies
cpu family : 6
model : 13
model name : Exagear Virtual i686-compatible CPU @ 1.00GHz
stepping : 2526
cpu MHz : 1000.00
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu pse tsc cx8 apic pge cmov clflush mmx pxsr sse sse2 nx pni ssse3 sse4_1 lahf_lm
bogomips : 1000.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:

processor : 2
vendor_id : Elbrus Technologies
cpu family : 6
model : 13
model name : Exagear Virtual i686-compatible CPU @ 1.00GHz
stepping : 2526
cpu MHz : 1000.00
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 1
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu pse tsc cx8 apic pge cmov clflush mmx pxsr sse sse2 nx pni ssse3 sse4_1 lahf_lm
bogomips : 1000.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:

processor : 3
vendor_id : Elbrus Technologies
cpu family : 6
model : 13
model name : Exagear Virtual i686-compatible CPU @ 1.00GHz
stepping : 2526
cpu MHz : 1000.00
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 1
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu pse tsc cx8 apic pge cmov clflush mmx pxsr sse sse2 nx pni ssse3 sse4_1 lahf_lm
bogomips : 1000.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 32 bits virtual
power management:

root@ziomario-desktop:/home/ziomario/Desktop# bash

root@ziomario-desktop:/home/ziomario/Desktop# apt-get install
Reading package lists… Done
Building dependency tree… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@ziomario-desktop:/home/ziomario/Desktop# apt-get install wine
Reading package lists… Done
Building dependency tree… Done
E: Unable to locate package wine

root@ziomario-desktop:/home/ziomario/Desktop# arch
i686

root@ziomario-desktop:/home/ziomario/Desktop# sudo apt-get update
sudo: getrlimit: Function not implemented
sudo: setrlimit: Function not implemented
sudo: setrlimit: Function not implemented
sudo: getrlimit: Function not implemented
sudo: setrlimit: Function not implemented
sudo: setrlimit: Function not implemented
Err:1 http://it.archive.ubuntu.com/ubuntu bionic InRelease
System error resolving ‘it.archive.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
Err:2 http://archive.canonical.com/ubuntu bionic InRelease
System error resolving ‘archive.canonical.com:http’ - getaddrinfo (16: Device or resource busy)
Err:3 http://ppa.launchpad.net/eltechs/jpeg8/ubuntu xenial InRelease
System error resolving ‘ppa.launchpad.net:http’ - getaddrinfo (16: Device or resource busy)
Err:4 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease
System error resolving ‘it.archive.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
Err:5 http://ppa.launchpad.net/eltechs/wine3.0-dsound/ubuntu bionic InRelease
System error resolving ‘ppa.launchpad.net:http’ - getaddrinfo (16: Device or resource busy)
Err:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
System error resolving ‘security.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
Err:7 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease
System error resolving ‘it.archive.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
Reading package lists… Done
W: Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/bionic/InRelease System error resolving ‘it.archive.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease System error resolving ‘security.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease System error resolving ‘it.archive.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease System error resolving ‘it.archive.ubuntu.com:http’ - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/bionic/InRelease System error resolving ‘archive.canonical.com:http’ - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://ppa.launchpad.net/eltechs/jpeg8/ubuntu/dists/xenial/InRelease System error resolving ‘ppa.launchpad.net:http’ - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://ppa.launchpad.net/eltechs/wine3.0-dsound/ubuntu/dists/bionic/InRelease System error resolving ‘ppa.launchpad.net:http’ - getaddrinfo (16: Device or resource busy)
W: Some index files failed to download. They have been ignored, or old ones used instead.

this may help :

root@ziomario-desktop:~# sudo --version

Sudo version 1.8.21p2
Configure options: --build=i686-linux-gnu --prefix=/usr --includedir={prefix}/include --mandir={prefix}/share/man --infodir={prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir={prefix}/lib/i386-linux-gnu --libexecdir=${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-exampledir=/usr/share/doc/sudo/examples --with-timeout=15 --with-password-timeout=0 --with-passprompt=(sudo) password for %p: --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-rundir=/run/sudo --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/i386-linux-gnu --with-selinux --with-linux-audit --enable-tmpfiles.d=yes
Sudoers policy plugin version 1.8.21p2
Sudoers file grammar version 46

Sudoers path: /etc/sudoers
Authentication methods: ‘pam’
Syslog facility if syslog is being used for logging: authpriv
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if user authentication fails
Send mail if the user is not in sudoers
Lecture user the first time they run sudo
Require users to authenticate by default
Root may run sudo
Allow some information gathering to give useful error messages
Require fully-qualified hostnames in the sudoers file
Visudo will honor the EDITOR environment variable
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 15.0 minutes
Password prompt timeout: 0.0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user’s: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to lecture status dir: /var/lib/sudo/lectured
Path to authentication timestamp dir: /run/sudo/ts
Default password prompt: (sudo) password for %p:
Default user to run commands as: root
Value to override user’s $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

Path to the editor for use by visudo: /usr/bin/editor
When to require a password for ‘list’ pseudocommand: any
When to require a password for ‘verify’ pseudocommand: all
File descriptors >= 3 will be closed before executing a command
Reset the environment to a default set of variables

Environment variables to check for sanity:
TZ
TERM
LINGUAS
LC_*
LANGUAGE
LANG
COLORTERM

Environment variables to remove:
=()
RUBYOPT
RUBYLIB
PYTHONUSERBASE
PYTHONINSPECT
PYTHONPATH
PYTHONHOME
TMPPREFIX
ZDOTDIR
READNULLCMD
NULLCMD
FPATH
PERL5DB
PERL5OPT
PERL5LIB
PERLLIB
PERLIO_DEBUG
JAVA_TOOL_OPTIONS
SHELLOPTS
BASHOPTS
GLOBIGNORE
PS4
BASH_ENV
ENV
TERMCAP
TERMPATH
TERMINFO_DIRS
TERMINFO
RLD*
LD*
PATH_LOCALE
NLSPATH
HOSTALIASES
RES_OPTIONS
LOCALDOMAIN
CDPATH
IFS

Environment variables to preserve:
XAUTHORIZATION
XAUTHORITY
PS2
PS1
PATH
LS_COLORS
KRB5CCNAME
HOSTNAME
HOME
DPKG_COLORS
DISPLAY
COLORS

Locale to use while parsing sudoers: C
Directory in which to store input/output logs: /var/log/sudo-io
File in which to store the input/output log: %{seq}
Add an entry to the utmp/utmpx file when allocating a pty
PAM service name to use: sudo
PAM service name to use for login shells: sudo
Attempt to establish PAM credentials for the target user
Create a new PAM session for the command to run in
Maximum I/O log sequence number: 0
Enable sudoers netgroup support
Check parent directories for writability when editing files with sudoedit
Allow commands to be run even if sudo cannot write to the audit log
Allow commands to be run even if sudo cannot write to the log file
Log entries larger than this value will be split into multiple syslog messages: 960
File mode to use for the I/O log files: 0600
Execute commands by file descriptor instead of by path: digest_only
Type of authentication timestamp record: tty

Local IP address and netmask pairs:
192.168.1.3/255.255.255.0
172.17.0.1/255.255.0.0
172.30.32.1/255.255.254.0

Sudoers I/O plugin version 1.8.21p2

networking – IP not reachable wirh ubuntu 18.04 + openvpn

I am using Ubuntu 18.04 and openVPN client. One of the company resource changed ip. Unfortunately the new IP is for me unreachable. This happens also with my other Ubuntu laptop where I have Ubuntu 20.04. Under windows it works, the IP is reachable. All the other IPs in the company are reachable (both in Windows and Ubuntu). Only this one is not.
I tried following:

  • reinstall openVPN client
  • sudo systemd-resolve --flush-caches
  • sudo systemd-resolve --statistics
    still unreachable.

What shall I do?

Cannot remove or reinstall Java SDK on Ubuntu 18.04

I’m running Ubuntu 18.04 and cannot remove or reinstall the Java 11 SDK. I originally installed the OpenJDK version and things seemed to be fine but I wanted to install rsyslog today and couldn’t because of some Java 11SDK error.

I have tried running sudo apt remove openjdk-11-jdk and sudo apt purge openjdk-11-jdk

Here is the output from the purge command:

$ sudo apt purge openjdk-11-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'openjdk-11-jdk' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libice-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev
  linux-image-4.15.0-122-generic linux-modules-4.15.0-122-generic x11proto-core-dev x11proto-dev xorg-sgml-doctools
  xtrans-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up oracle-java11-installer-local (11.0.9-1~linuxuprising0) ...
Before installing this package,
please download the Oracle JDK 11 .tar.gz file
with the same version as this package (version 11.0.4),
and place it in /var/cache/oracle-jdk11-installer-local,

E.g.:
sudo mkdir -p /var/cache/oracle-jdk11-installer-local
sudo cp jdk-11.0.4_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sha256sum mismatch jdk-11.0.9_linux-x64_bin.tar.gz
Oracle JDK 11 is NOT installed.
dpkg: error processing package oracle-java11-installer-local (--configure):
 installed oracle-java11-installer-local package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 oracle-java11-installer-local
E: Sub-process /usr/bin/dpkg returned an error code (1)

It says it’s not installed but you can see it is with this command:

$ java –version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)

I also download the jdk-11.0.4_linux-x64_bin.tar.gz and put it into the /var/cache/oracle-jdk11-installer-local as suggested in the output but it makes no difference.

Appreciate any thoughts or suggestions. I just want to get JDK 11 working properly at this point!

networking – How to add google DNS Ubuntu 18.04

Blockquote

I want to add google DNS but i can’t find the nameservers part in my config file
this is the netplan directory

netplan folder

but when i open the 01-network-manager-all.yaml to edit i can’t find name spaces part as described here
01-network-manager-

So, How can i add google dns?
Thanks in advance.

18.04 – Segfault launching Okular snap

I’m using Ubuntu 18.04.5 on x64 PC. Packaged version of Okular is too ancient for my needs, so I installed the newest Okular snap. Unfortunately, it crashes on launch. Here is the log:

paul@extra:~$ snap list
Name                             Version                Rev    Tracking         Publisher   Notes
core18                           20201210               1944   latest/stable    canonical✓  base
gnome-3-34-1804                  0+git.3556cb3          60     latest/stable/…  canonical✓  -
gnome-calculator                 3.38.0+git7.c840c69c   826    latest/stable/…  canonical✓  -
gnome-characters                 v3.34.0+git9.eeab5f2   570    latest/stable/…  canonical✓  -
gnome-logs                       3.34.0                 100    latest/stable/…  canonical✓  -
gnome-system-monitor             3.36.0-12-g35f88a56d7  148    latest/stable/…  canonical✓  -
gtk-common-themes                0.1-50-gf7627e4        1514   latest/stable/…  canonical✓  -
kde-frameworks-5-qt-5-14-core18  5.68.0                 4      latest/stable    kde✓        -
snapd                            2.48.2                 10707  latest/stable    canonical✓  snapd
paul@extra:~$ sudo snap install okular
okular 20.04.0 from KDE✓ installed
paul@extra:~$ okular
Qt: Session management error: Could not open network socket
Fontconfig warning: FcPattern object weight does not accept value (0 205)
Segmentation fault (core dumped)

Launching Okular from Gnome fails too. BTW, there are two Okular icons for some reason, both behaving the same:

enter image description here

I would appreciate any clues to resolve this problem.

How do I split a extended monitor in two virtual monitors not only in Workspace 1 but also in the other workspaces of Ubuntu 18.04 with LXDE?

How do I split external screen connnected through HDMI in two virtual screens not only in Workspace 1 but also in the other workspaces of Ubuntu 18.04 with LXDE?

I have a desktop entry as follows that only splits the screen in desktop# 1. What should I do so that the screen gets split also in the other workspaces?

[Desktop Entry]
Version=1.0
Name=set2ScreensLayout        
Comment=This entry should split the screen
    Exec=uxterm -e "bash -c 'xrandr --setmonitor HDMI-1~1 1280/349x1440/392+1920+0 HDMI-1;xrandr --setmonitor HDMI-1~2 1280/348x1440/392+3200+0 none'"
    Icon=utilities-terminal
    Terminal=false
    Type=Application
    Categories=Application;

Thanks in advance.

unicode – How do I get Shift+ctrl+U working back again in Ubuntu 18.04 with LXDE?

How do I get Ctr+Shift+U working back again in Ubuntu 18.04 with LXDE to be able to type unicode?

I have tried to make it work by launching unity-control-center and changing the keyboard input method system language support to fctix, IBus, XIM and none and rebooting but none of them made it work.

Thanks in advance.

New Ubuntu 18.04 install screen is very zoomed in. Zoom is off in universal access and I’m not sure how to fix this

My entire ubuntu screen on my new install on a new PC is zoomed in. I have read other posts online and haven’t yet found anything that fixes this. Any help is appreciated!
Thanks!

18.04 – Ubuntu and Docker help

So I have docker (3.6) running on Ubuntu (18.04) with a RAID1 array (mount point /media/plex/Raid11) for a year with 1 raid array. I attempted to add a second raid1 array (mount point /media/plex/Raid12) and when I rebooted none of my array’s were assembled. So I reassembled Raid12 manually and then reassembled Raid11. Following the below guide I can’t seem to keep them assembled on reboot. Another issue is docker loses permission to Raid11 (never had that issue before) so I have to reinstate the permissions after each reassemble. Can anyone help me reinstate the permissions and get the 2 raids to stay assembled?

Assembly commands: ” sudo mdadm -A /dev/md0 /dev/sde /dev/sdd” The sd”x” changes every time and I wish I could figure out how to lock it to the UUID.

Guide: Digital ocean

Permission commands: “sudo setfacl -Rdm g:docker:rwx ~/docker”, ” sudo chmod -R 777 ~/docker” I am not worried about using 777. The machine is only on the internal network with physical access limited.

boot – 20.04 breaks various 18.04 features – Wake from Suspend -Colour themes – Alt+Tab – Krusader – Double Commander

Ubuntu Studio (Xubuntu / XFCE desktop)
Upgraded to 20.04, from 18.04 yesterday, and so far, am saddened by how much basic usability stuff is smashed.
Wish I hadn’t done it. I should have known better!

I am running stock Dell Optiplex 9020, 8gb ram, platter HDD.

Various problems below — should I start independent threads?

  • PC Doesn’t wake properly from suspend (brings me to login screen – can’t see my password being entered in the pwd field,
    and when I type it and press enter, this does nothing (repeated attempts).
    Opening a TTY, I get a blinking underscore, and cannot enter any text – seems to glitch to a halt.

  • I am a dark theme user, and the upgrade has messed up colour themes in various places and applications
    (esp. file browsers, esp Krusader which makes basic stuff hard to use)
    eg. finding I can’t run dark mode AND use krusader,
    because Krusader colours become unusable
    (Can’t see the menu items because they are completely black.

    Can no longer rename files because renaming makes text bg completely black, so I can’t see what I’m typing).

  • Dark theme – alt+tab (scroll through items in a list view) no longer has a highlight,
    so I no longer know where in the list of applications I have scrolled to (very annoying I use this constantly).

  • Double Commander has a markedly slower response time in use.

  • graphics (drivers) a bit glitchy (on startup, takes a while to sort itself out)

  • slower boot / load and start-up times

  • slower response times (obvious one is opening the whisker menu is noticably slower, esp. after boot)

  • grub only allowing low-latency version of ubuntu – and not standard version, etc.

So, essentially, for all intents and purposes, 20.04 has broken dark theme for practical use, as far as I’m concerned, and various other basic things.

Any help on any of this much appreciated.
Although it’s partly just me complaining ):