Ubuntu Favorites Bar keeps disappearing

The favorites bar on the right side of my Ubuntu 19.10 desktop keeps disappearing. Sometimes it's days, sometimes several times a day. I found references here: The taskbar keeps disappearing! and here: Ubuntu 04/16 Jan 3 2018 update that causes screen / access issues for previous versions.

I had this problem in previous versions too, but it got better and now it has returned in the latest and greatest. 🙁

Excerpts from syslog:

Jan 18 20:14:07 westeros geoclue(26909): Service not used for 60 seconds. Shutting down..
Jan 18 20:14:07 westeros systemd(1): geoclue.service: Main process exited, code=killed, status=15/TERM
Jan 18 20:14:07 westeros systemd(1): geoclue.service: Succeeded.
Jan 18 20:14:29 westeros xdg-desktop-por(27953): Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
Jan 18 20:15:13 westeros pulseaudio(27668): W: (pulseaudio) resampler.c: Support for resampler 'src-sinc-best-quality' not compiled in, reverting to 'auto'.
Jan 18 20:15:29 westeros xdg-desktop-por(27953): Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
Jan 18 20:15:57 westeros gnome-shell(28046): Some code accessed the property 'discreteGpuAvailable' on the module 'appDisplay'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Jan 18 20:16:29 westeros xdg-desktop-por(27953): Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
Jan 18 20:17:01 westeros CRON(27097): (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jan 18 20:17:29 westeros xdg-desktop-por(27953): Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
Jan 18 20:18:12 westeros PackageKit: daemon quit
Jan 18 20:18:12 westeros systemd(1): packagekit.service: Main process exited, code=killed, status=15/TERM
Jan 18 20:18:12 westeros systemd(1): packagekit.service: Succeeded.
Jan 18 20:18:29 westeros xdg-desktop-por(27953): Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed
Jan 18 20:19:06 westeros gnome-shell(28046): # _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
Jan 18 20:19:06 westeros dbus-daemon(27676): (session uid=1000 pid=27676) Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.388' (uid=1000 pid=27139 comm="/usr/bin/gnome-terminal.real --window " label="unconfined")
Jan 18 20:19:06 westeros systemd(27649): Starting GNOME Terminal Server...
Jan 18 20:19:06 westeros dbus-daemon(27676): (session uid=1000 pid=27676) Successfully activated service 'org.gnome.Terminal'
Jan 18 20:19:06 westeros systemd(27649): Started GNOME Terminal Server.
Jan 18 20:19:06 westeros gnome-shell(28046): # _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
Jan 18 20:19:06 westeros gnome-shell(28046): # watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
Jan 18 20:19:06 westeros gnome-shell(28046): # unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
Jan 18 20:19:06 westeros gnome-shell(28046): # watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
Jan 18 20:19:29 westeros xdg-desktop-por(27953): Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not allowed

boot – Ubuntu does not start (reinstallation on new computer)

I am working on a new facility for my computer. My procedure for reinstalling the operating system on a 250 GB SSD. First I installed W10 with 200 GB with EFI and secure boot Option activated in BIOS. This works well on my computer. After that I installed Ubuntu on the same SSD (50 GB). The installation worked well and the GRUB2 works well too, as I see both boot options, Ubuntu and Windows (I can still start W10). However, Ubuntu freezes immediately after I start Ubuntu in the GRUB2 menu. After 1 – 2 s my keyboard freezes and there is nothing I can do.

Therefore I removed all partitions and only installed Ubuntu. The installation process works fine here too, but I choose Ubuntu after the Grub2 menu appears, it freezes again.

I am using a TRX40 Pro 10G motherboard with the latest BIOS update. The only thing I can analyze now is that dmsg when starting the live USB stick. Here I get some data that I cannot interpret. You may not need it here, but since I don't know what information might be of interest to correct this problem, I add this information here:

(    0.020007) smpboot: CPU0: AMD Ryzen Threadripper 3970X 32-Core Processor (family: 0x17, model: 0x31, stepping: 0x0)
(    0.020007) Performance Events: Fam17h core perfctr, AMD PMU driver.
(    0.020007) ... version:                0
(    0.020007) ... bit width:              48
(    0.020007) ... generic registers:      6
(    0.020007) ... value mask:             0000ffffffffffff
(    0.020007) ... max period:             00007fffffffffff
(    0.020007) ... fixed-purpose events:   0
(    0.020007) ... event mask:             000000000000003f
(    0.020007) rcu: Hierarchical SRCU implementation.
(    0.020007) random: crng done (trusting CPU's manufacturer)
(    0.020007) NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
(    0.020007) smp: Bringing up secondary CPUs ...
(    0.020007) x86: Booting SMP configuration:
(    0.020007) .... node  #0, CPUs:          #1
(    0.000000) WARNING: CPU: 1 PID: 0 at /build/linux-hwe-zHO4ZF/linux-hwe-5.0.0/arch/x86/kernel/cpu/mce/core.c:1490 mcheck_cpu_init+0x1a7/0x4c0
(    0.000000) Modules linked in:
(    0.000000) CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.0.0-23-generic #24~18.04.1-Ubuntu
(    0.000000) Hardware name: Micro-Star International Co., Ltd. MS-7C60/TRX40 PRO 10G (MS-7C60), BIOS 1.20 01/07/2020
(    0.000000) RIP: 0010:mcheck_cpu_init+0x1a7/0x4c0
(    0.000000) Code: 48 03 3d 44 30 1c 4f 45 31 c0 31 c9 ba 00 00 10 00 48 c7 c6 90 ba e4 b0 e8 26 3b 0d 00 e9 97 fe ff ff 39 d0 0f 84 e9 fe ff ff <0f> 0b e9 e2 fe ff ff c7 05 d8 c7 7e 01 89 01 00 00 e9 ff fe ff ff
(    0.000000) RSP: 0000:ffffb37b40207e90 EFLAGS: 00010002
(    0.000000) RAX: 000000000000001c RBX: ffff99da3ce4f040 RCX: 0000000000000179
(    0.000000) RDX: 0000000000000018 RSI: 0000000000000001 RDI: 0000000000000179
(    0.000000) RBP: ffffb37b40207ea8 R08: ffffb37b40207dd0 R09: ffffb37b40207dd4
(    0.000000) R10: 0000000000000c80 R11: ffff99ca7b7bcda8 R12: 0000000000000118
(    0.000000) R13: ffffffffb28fa060 R14: 0000000000000002 R15: 0000000000000000
(    0.000000) FS:  0000000000000000(0000) GS:ffff99da3ce40000(0000) knlGS:0000000000000000
(    0.000000) CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
(    0.000000) CR2: 0000000000000000 CR3: 0000000ac360e000 CR4: 0000000000340ea0
(    0.000000) Call Trace:
(    0.000000)  ? detect_ht+0xf/0xd0
(    0.000000)  identify_cpu+0x3ea/0x580
(    0.000000)  identify_secondary_cpu+0x18/0x90
(    0.000000)  smp_store_cpu_info+0x49/0x60
(    0.000000)  start_secondary+0xa6/0x200
(    0.000000)  secondary_startup_64+0xa4/0xb0
(    0.000000) ---( end trace 3ca88aad3131db8a )---
(    0.020069)    #2   #3   #4

I also get errors for ACPI errors. But I don't think the problem lies here either:

(    0.096076) ACPI: bus type PCI registered
(    0.096076) acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
(    0.096143) PCI: MMCONFIG for domain 0000 (bus 00-7f) at (mem 0xf0000000-0xf7ffffff) (base 0xf0000000)
(    0.096151) PCI: not using MMCONFIG
(    0.096151) PCI: Using configuration type 1 for base access
(    0.096151) PCI: Using configuration type 1 for extended access
(    0.097501) HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
(    0.097501) HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
(    0.100008) ACPI: Added _OSI(Module Device)
(    0.100008) ACPI: Added _OSI(Processor Device)
(    0.100008) ACPI: Added _OSI(3.0 _SCP Extensions)
(    0.100008) ACPI: Added _OSI(Processor Aggregator Device)
(    0.100008) ACPI: Added _OSI(Linux-Dell-Video)
(    0.100008) ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
(    0.100008) ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
(    0.117104) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.WT1A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117110) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117112) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117113) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.MT1A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117116) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117117) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117118) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.WT2A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117120) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117122) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117123) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.MT2A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117125) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117126) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117127) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.WT3A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117129) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117130) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117131) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.MT3A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117133) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117135) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117136) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.WT4A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117138) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117140) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117141) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.MT4A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117143) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117145) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117146) ACPI BIOS Error (bug): Failure creating (_SB.I2CA.MT5A), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117148) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117150) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117152) ACPI BIOS Error (bug): Failure creating (_SB.I2CB.WT1B), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117155) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117156) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117157) ACPI BIOS Error (bug): Failure creating (_SB.I2CB.MT1B), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117160) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117161) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117162) ACPI BIOS Error (bug): Failure creating (_SB.I2CB.WT2B), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117165) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117166) ACPI: Skipping parse of AML opcode: Device (0x5B82)
(    0.117167) ACPI BIOS Error (bug): Failure creating (_SB.I2CB.MT2B), AE_ALREADY_EXISTS (20181213/dswload2-324)
(    0.117170) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181213/psobject-221)
(    0.117171) ACPI: Skipping parse of AML opcode: Device (0x5B82)

Any hint is welcome.
I also add missing information (I suspect a lot is missing here). Please note that the system also freezes from the recovery mode.

magento2 – Cannot access newly created domain in nginx on Ubuntu

I recently set up magento on my local system and installed mariaDB, nginx and php7.1.

I created new files in sites-available and also made symlink. And I ran nginx-t, there was no error, everything looks fine, but if I try the domain in the browser, I can see a message saying that the site is unreachable.

Can someone help me, what could be the reason.

You can find information about site configuration here

upstream fastcgi_backend {
         server  unix:/run/php/php7.1-fpm.sock;
}
server {
    listen 80;
    listen [::]:80;
    index  index.php index.html index.htm;
    server_name  dev.magento.com;

    client_max_body_size 100M;
    set $MAGE_ROOT /var/www/html/magento2;
    set $MAGE_MODE developer;
    include /var/www/html/magento2/nginx.conf.sample;
}

Enter image description here
Enter image description here

Dual Boot – Ubuntu limps on my laptop HP 15-CS1022NL

I need help. I installed Ubuntu on my laptop a few months ago, an HP 15-CS1022NL (specifications: i7 8th generation, 16 GB RAM, 512 GB SSD, GeForce GTX 1050).
I have had problems since the first installation (Ubuntu 18.04 until now Ubuntu 19.10). The system seems to have stalled in simple operations like scrolling, navigating the web, etc. That never happens. Sometimes I start my PC and there are no problems, no delays and everything works fine. I have no idea why that happens.

Another thing to share with you is: Ubuntu is installed on an SSD in dual boot with Windows (I don't know if it's important) and I've noticed that the delay may be after waking from standby Mode or after closing the lid occurs and reopened.

Can you help me? Can I check if something is not working? I can share more information with you if needed. Thank you very much.

Ubuntu 19.10 contrast and brightness

I'm trying to use Ubuntu 19.10 and almost everything seems to be fine except for a few details. Most programs seem to be "washed out", the contrast or brightness seem to be set too high and I cannot figure out how to adjust it.

In programs like LibreOffice Writer, all form controls are almost invisible and only show the top and left margins. This makes it very difficult to see where the controls are. The only setting I can find is the "high contrast", but that goes too far.

Is there a global setting to adjust this or do I need to install a package? I installed the Gnome Tweak Tools, but apparently no setting for it. I also tried installing "Brightness and Lock" from the package manager which seems to be useless and has only a few settings.

I found this article on adjusting system settings, but it looks like it is no longer used.

I also found the Color section in the display settings and found that my monitor is listed but the Calibrate option is grayed out.

I've installed Ubuntu on several different systems and all of them seem to have this problem, so this seems to rule out a simple graphics driver problem.

openjdk – Update the PATH variable permanently in Ubuntu 19.10

I recently removed the Oracle Java 8 from my Ubuntu 19.10 and installed the open JDK.

But JAVA_HOME still refers to Oracle Java. How is it to be changed?
I can & # 39; set $ JAVA_HOME = & # 39; use, but it's only for this session. I have to update it permanently.

I also tried & # 39; update-alternatives –config java & # 39;
But there is the following message.

There is only one alternative in the link group Java (Providing
/ usr / bin / java): / usr / lib / jvm / java-8-openjdk-amd64 / jre / bin / java Nothing
configure.

I also noticed that the PATH variable also contains some Oracle Java-related entries. I would also like to update the PATH permanently.

PostgreSQL 10: The pg_ctl status does not work on Ubuntu 18.04

I want to be able to use pg_ctl to manage my crewdb database.
However, when I use the pg_ctl status, I get the following error:

chh1@chh1:~$ pg_ctl status
pg_ctl: could not open PID file "/var/lib/postgresql/10/main/postmaster.pid": Permission denied

I'm not sure why this is and how to fix it because if I do:

chh1@chh1:~$ which pg_ctl
/usr/lib/postgresql/10/bin/pg_ctl

chh1@chh1:~$ which initdb
/usr/lib/postgresql/10/bin/initdb

chh1@chh1:~$ whoami
chh1

crewdb=# du
                                   List of roles
 Role name |                         Attributes                         | Member of
-----------+------------------------------------------------------------+-----------
 chh1      | Superuser                                                  | {}
 postgres  | Superuser, Create role, Create DB, Replication, Bypass RLS | {}


chh1@chh1:~$ cat .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if ( -n "$BASH_VERSION" ); then
    # include .bashrc if it exists
    if ( -f "$HOME/.bashrc" ); then
        . "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if ( -d "$HOME/bin" ) ; then
    PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if ( -d "$HOME/.local/bin" ) ; then
    PATH="$HOME/.local/bin:$PATH"
fi

PATH=$PATH:/usr/lib/postgresql/10/bin
PGDATA=/var/lib/postgresql/10/main
PGDATABASE=crewdb
PGUSER=postgres

export PATH PGDATA PGDATABASE PGUSER

I tried PGUSER = chh1 instead of PGUSER = postgres in .profile, but I still get the same error message when I issue the pg_ctl status command.
Can somebody help me with it? I have the following Postgresql cluster:

chh1@chh1:~$ ps -ef | grep postgres
postgres  2094     1  0 11:08 ?        00:00:01 /usr/lib/postgresql/10/bin/postgres -D /var/lib/postgresql/10/main -c config_file=/etc/postgresql/10/main/postgresql.conf
postgres  2114  2094  0 11:08 ?        00:00:00 postgres: 10/main: logger process
postgres  2123  2094  0 11:08 ?        00:00:00 postgres: 10/main: checkpointer process
postgres  2124  2094  0 11:08 ?        00:00:00 postgres: 10/main: writer process
postgres  2125  2094  0 11:08 ?        00:00:00 postgres: 10/main: wal writer process
postgres  2126  2094  0 11:08 ?        00:00:01 postgres: 10/main: autovacuum launcher process
postgres  2127  2094  0 11:08 ?        00:00:01 postgres: 10/main: stats collector process
postgres  2128  2094  0 11:08 ?        00:00:00 postgres: 10/main: bgworker: logical replication launcher
chh1      6401 17468  0 17:47 pts/1    00:00:00 grep --color=auto postgres

It also seems unusual that I have to be root to open the data directory, such as in:

chh1@chh1:~$ cd /var/lib/postgresql/10/main
bash: cd: /var/lib/postgresql/10/main: Permission denied

root@chh1:/var/lib/postgresql/10/main# ls -l
total 100
drwx------ 20 postgres postgres 4096 Jan 13 11:08 ./
drwxr-xr-x  3 postgres postgres 4096 Jul 24 19:12 ../
drwx------  6 postgres postgres 4096 Aug 10 23:04 base/
-rw-------  1 postgres postgres   44 Jan 13 11:08 current_logfiles
drwx------  2 postgres postgres 4096 Jan 13 11:08 global/
drwx------  2 postgres postgres 4096 Jan 13 11:08 log/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_commit_ts/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_dynshmem/
drwx------  4 postgres postgres 4096 Jan 13 11:13 pg_logical/
drwx------  4 postgres postgres 4096 Jul 24 19:12 pg_multixact/
drwx------  2 postgres postgres 4096 Jan 13 11:08 pg_notify/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_replslot/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_serial/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_snapshots/
drwx------  2 postgres postgres 4096 Jan 13 11:08 pg_stat/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_stat_tmp/
drwx------  2 postgres postgres 4096 Jan  3 06:12 pg_subtrans/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_tblspc/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_twophase/
-rw-------  1 postgres postgres    3 Jul 24 19:12 PG_VERSION
drwx------  3 postgres postgres 4096 Jan  3 06:12 pg_wal/
drwx------  2 postgres postgres 4096 Jul 24 19:12 pg_xact/
-rw-------  1 postgres postgres   88 Jul 24 19:12 postgresql.auto.conf
-rw-------  1 postgres postgres  130 Jan 13 11:08 postmaster.opts
-rw-------  1 postgres postgres  108 Jan 13 11:08 postmaster.pid

I think to change the file permissions in /var/lib/postgresql/10/main/ to chh1: chh1 but I'm not sure if it is safe to do so without putting my data at risk.
Please let me know if you need additional information.