crash – Ubuntu 18.04 logs me out while trying to get to setting

I’m using Ubuntu 18.04 without any dual OS install on my machine.
I’m not using any Nvidia graphic cards.
While trying to get to setting, I’m getting logged out, the same happens when trying to play a simple video sample.
My “graphic card” is FPGA.

I’ve checked the kern.log regarding the crashes and here is what I got:

Jul  1 14:40:04 ido-C9Z390-PGW kernel: [  436.525864] rfkill: input handler disabled
Jul  1 14:44:34 ido-C9Z390-PGW kernel: [  707.085832] rfkill: input handler enabled
Jul  1 14:44:39 ido-C9Z390-PGW kernel: [  711.358210] broken atomic modeset userspace detected, disabling atomic
Jul  1 14:44:39 ido-C9Z390-PGW kernel: [  711.867966] gnome-session-c[7851]: segfault at 0 ip 00007f2a74e715a1 sp 00007ffed9d4a0f8 error 4 in[7f2a74ce3000+1e7000]

I’ve checked every guide, my FPGA driver does not needs to be upgraded, and this is what leaves me clueless.

Thanks for the assistance.

boot – Booting Ubuntu 18.04 64Bit on Macbook 2,1 – wont load but 32bit has

I have a 2006 Macbook 2,1 Intel Duel core 2 Ghz processors T7200

Everything I have read suggests I should be able to run Ubuntu 18.04 64Bit, but it wont boot from DVD. I get a black screen where it ask to select 1 or 2, but i can’t select anything and have t force shutdown. .

I have been able to boot Ubuntu 18.04 32 Bit.

Is it something to do with BIOS and EFI types?

This is my first time booting anything and first time using Ubuntu also.

drivers – Cannot install CUDA 10 for Tensorfow on Ubuntu 18.04 because of Failed CC sanity check

I’m following the guidelines for installing tensorflow 2 and CUDA 10 on Ubuntu 18.04 add NVIDIA package repositories without errors, but I cannot install NVIDIA drivers. When I run:

sudo apt-get install --no-install-recommends nvidia-driver-430

I get the following error:

Building for 5.4.0-39-generic
Building for architecture x86_64
Building initial module for 5.4.0-39-generic
ERROR: Cannot create report: (Errno 17) File exists: '/var/crash/nvidia-dkms-440.0.crash'
Error! Bad return status for module build on kernel: 5.4.0-39-generic (x86_64)
Consult /var/lib/dkms/nvidia/440.95.01/build/make.log for more information.

…and inside /var/lib/dkms/nvidia/440.95.01/build/make.log, I find:

DKMS make.log for nvidia-440.95.01 for kernel 5.4.0-39-generic (x86_64)
Tue Jun 30 08:53:44 UTC 2020
make(1): Entering directory '/usr/src/linux-headers-5.4.0-39-generic'
arch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
make(1): cc: Command not found
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                
echo >&2;                                                       
echo >&2 "  ERROR: Kernel configuration is invalid.";           
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      
echo >&2 ;                                                      
make -f ./scripts/ obj=/var/lib/dkms/nvidia/440.95.01/build 
need-builtin=1 need-modorder=1

The C compiler 'cc' does not appear to be able to
create executables.  Please make sure you have
your Linux distribution's gcc and libc development
packages installed.

*** Failed CC sanity check. Bailing out! ***

/var/lib/dkms/nvidia/440.95.01/build/Kbuild:191: recipe for target 'cc_sanity_check' failed
make(2): *** (cc_sanity_check) Error 1
make(2): *** Waiting for unfinished jobs....
Makefile:1719: recipe for target '/var/lib/dkms/nvidia/440.95.01/build' failed
make(1): *** (/var/lib/dkms/nvidia/440.95.01/build) Error 2
make(1): Leaving directory '/usr/src/linux-headers-5.4.0-39-generic'
Makefile:81: recipe for target 'modules' failed
make: *** (modules) Error 2

I use gcc-7 and g++-7, which I selected using sudo update-alternatives --config g++/gcc.

The output of uname -a is:

Linux imt_deep 5.4.0-39-generic #43~18.04.1-Ubuntu SMP Mon Jun 22 19:05:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

How can I solve this error? I really don’t understand what is the problem with the compiler. I’ve also tried installing the drivers setting gcc-5 and g++-5 as default with update-alternatives --config, but I still get the same error.

18.04 – Furher help on Xen and USB passthrough

I know that this is a long-shot, but I have not been able to obtain any help from the Xen community so I wondered if anyone in Ask Ubuntu may be able to help?

I have manged to get Xen installed and running an Ubuntu DomU alongside an Ubuntu Dom0 by using the guidance at..


How to install Xen Project on Ubuntu Server 18.04.3 LTS?

I would now like to access USBs on my DomU.

On Dom0, I can attach my USBs.

$ sudo xl usbdev-attach ubud1 hostbus=2 hostaddr=36
$ sudo xl usb-list ubud1
Devid  Type         BE  state usb-ver ports
0      qusb         0   1     2       8
  Port 1: Bus 002 Device 025
  Port 2: Bus 002 Device 024
  Port 3:

But I can’t see them in my DomU. Any suggestions?

Any help would be very much appreciated. Thank you.

grub2 – Can’t boot Ubuntu 18.04 that’s permanently installed on USB flash drive

So I got a new laptop at work and instead of creating a dual boot system, I bought a 256 GB USB drive and permanently installed Ubuntu 18.04 on it. To boot it, I now just hit F12 during boot (Dell machine) and select the right USB partition. That way I can use my laptop for personal use without storing any data on the on-board hard drive or leaving any other kind of trace.

It has been awesome when it worked, but that is the issue. Many times, including tonight, the boot process will stall at “Loading initial ramdisk” and then nothing happens besides laptop and USB drive getting pretty warm.

Strangely enough, the problem seems to occur rather randomly as I sometimes could boot Ubuntu without an issue the next morning even if it didn’t work the night before… I have looked at ways to repair the GRUB on the USB drive using a Ubuntu LiveCD from a second USB drive, but the instructions are not detailed/straightforward enough for me to be successful as it involves editing grub-mkconfig and grub.cfg somehow.

Did anyone have the same issue with an Ubuntu installation on an external USB drive? Can you point me to detailed instructions that let me fix this using a LiveCD?

gnome – Upgrade from 18.04 LTS to 20.04 LTS broke my GUI

I upgraded my machine from 18.04 LTS to 20.04 LTS.
But now I have at least tree critical problems with the GUI.

I already tried reinstalling the ubuntu-software and gnome, but nothing changed.

1. Some UI icons disappeared

enter image description here

2. Applications in the overview are not being displayed at all. (not only while in search mode)

I have to start apps from the terminal

enter image description here

3. I have two taskbars

Programs I started via terminal are not being displayed in the taskbar.
Only the taskbar in the background with the white dots has a recycle bin.

enter image description here

sound – Audio Jack in PC [Ubuntu 18.04] not identifying stereo speakers

I have recently installed Ubuntu 18.04 on my desktop. Any device I plug in the audio jacks [both – front & rear] fails to provide any audio output. However, when I use a USB headset the sound output is fine. I don’t know how to confirm if its a software issue where devices plugged in audio jack are not identified/detected or if there is some issue with the hardware.

Adding 2 images for reference –

  1. Sound settings
  2. Alsamixer

Let me know if anything else would be required.

Settings > Sound


bluetooth – POWERBEATS PRO will not pair – Ubuntu 18.04

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic

Nothing mentioned prior will work. I simply want my Powerbeats Pro headphones to work with my laptop…

Any other ideas than that which was already mentioned? ‘cuz nothing suggested is working.

Is this an issue with Ubuntu/Linux in general or am I not doing something right?

(I don’t want to go about installing a bunch of packages if I don’t have to because I’m back on a fresh install after screwing up my sys doing that already). If I can’t use these with Ubuntu then that’s fine. I just would like to.