Latest Ubuntu related questions

Score: 1
PeterMcN avatar
Ubuntu PC Shutting down overnight - Firefox snap?
id flag

The last few nights my PC (running Ubuntu 22.04 LTS) has been shutting down between 11pm and midnight for reasons I do not understand so looked at syslog. This is I think the relevant part:

Nov  6 23:02:00 Martha smartd[726]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 75 to 69
Nov  6 23:06:48 Martha gnome-shell[1300]: Window manager warning: Invalid WM_T ...
Score: 4
Nagev avatar
How to silence or fix snap docker-compose CryptographyDeprecationWarning: Python 3.6 is no longer supported
pt flag

My Ubuntu server runs docker installed with snap. Recently I noticed that running docker-compose brings up a Python related warning, for example:

$ docker-compose version
/snap/docker/2285/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be rem ...
Score: 1
Seems 2FA login authentication is trivial to bypass on Ubuntu. What am I missing?
kr flag

I was considering setting up 2FA on Ubuntu with libpam-google-authenticator as outlined in this article. However, it seems this method can be completely bypassed by entering GRUB rescue mode and removing the .google-authenticator file in the home directory.

# rm /home/username/.google_authenticator

Then comment out the following line in /etc/pam.d/common-auth file

auth required pam_google_authen ...
Score: 0
Jan Zywczak avatar
no sound on ubuntu core on raspberry pi 4b
it flag

I just installed default image from imager - ubuntu core 22 32bit, but the same problem is with ubuntu core 20 32bit - on Raspbery Pi 4b. I cannot get the sound working. It has the default config.txt with dtparam=audio=on and when I get asound cards I see both hdmi and headphones:

cat /proc/asound/cards
 0 [b1             ]: bcm2835_hdmi - bcm2835 HDMI 1
                      bcm2835 HDMI 1
 1 [He ...
Score: 0
mrudula patil avatar
Ubuntu 20.04 on armhf USB drive not mounted automatically
mx flag

I have BBB running ubuntu 20.04, when the USB drive is connected it is not mounting though it is detected. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 286.1M 1 loop sda 8:0 1 14.9G 0 disk └─sda1 8:1 1 14.9G 0 part

Please provide suggestions.

Thanks

Score: 0
comtesse avatar
Is there a way to create desktop shortcut via context menu?
li flag

I feel like Ubuntu lacks this quality of life feature, that Windows has. To create shortcuts just by right clicking on icons of applications. I want to be able to do it from anywhere and especially from Applications menu.

Here's how I imagine it:

Design

Moreover, it would be cool for the context menu to have more features.

Is there any extensions or apps to allow you do that?

Score: 1
3adel avatar
Ubuntu Booting failed to parse WDG method
bw flag

I just installed ubuntu V. 22.04. Everything works fine except when i boot it up i get the following message "failed to parse WDG method" everything boots up correctly afterwards.

So should i be concerned for such a message. note that i use a dell inspiron 5491 2n1 and it used RAID. however i switched to ahci because ubuntu does not support RAID now both windows and ubuntu can dual boot. could an ...

Score: 0
LabHelp avatar
used dd to copy a partition from one hard drive to another and it broke the partition
gs flag

So I have two hard drives. Hard drive A (HDDA) had a version of windows 7 that suffered a Windows Explorer error that caused it to go through a constant reboot cycle and caused us to lose access to the file system and most software. Then we have Hard drive B (HDDB) that had three partitions each with different OS. One with Debian 10, one with Windows 8.1, and one with Ubuntu.

I tried all sorts of ...

Score: 0
Mutai avatar
Pasting images to a directory
cw flag

I'm trying to paste images on a folder created on htdocs folder but permission is denied. How do go about this without using terminal? Regards

Score: 5
MaxNoe avatar
How to make firefox from snap use `~/.XCompose`
nz flag

I use compose key with my own customized compose settings in ~/.XCompose, which works well everywhere with the exception of firefox from the snap.

Is there anyway to "teach" firefox from snap to use ~/.XCompose or a place to copy that file so that firefox from snap uses it?

Score: 1
urek mazino avatar
bash - Kill a processes if it has been running for more than one hour
mp flag

I have this bash script that runs a python program in Ubuntu server every 5 minutes if not already running , I want to make it kill the program if it has been running for more than one hour and rerun it.

#!/bin/bash

if pgrep -f "/home/user/crawler/panel/crawler/scans.py"
then
    echo "script running"
    # Command when the script is runnung
else
    echo "script not running"
    /home/user/crawle ...
Score: 0
Lenovo fingerprint sensor not working
US flag

I can't use my fingerprint sensor in Ubuntu 22.04. My pc is a Notebook LENOVO IdeaPad 3 and it has a fingerprint sensor.

I looked in Settings, and I can't find anything related to fingerprint sensors. I also tried some terminal commands, but I haven't found the solution yet. How can I get my fingerprint sensor working?

Score: 1
Pat avatar
External drive not showing in Dolphin
co flag
Pat

A strange problem..

Running Ubuntu 22.04. Desktop system. I have a number of external USB drives that I connect as needed. Usually, on plugging in the drive and powering them up they appear in Nautilus and Dolphin (File Manager) within a few seconds.

One drive however does not appear in Dolphin. It appears in Nautilus and is usable from there but despite my best efforts of restarting the program a ...

Score: 1
Jack Rock avatar
winehq-stable : Depends: wine-stable (= 7.0.0.0~focal-1) E: Unable to correct problems, you have held broken packages
cn flag

I read this solution before to ask but it don't solve for me

https://forum.winehq.org/viewtopic.php?t=36119

I got this error and seems that is unsolvable

sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or ...
Score: 1
PeterMcN avatar
Transmission GTK errors - syslog contains millions (literally) of errors daily and in app labels and layouts regularly become confused
id flag

I have transmission running on this computer loading at startup. I am running Ubuntu 22.04 LTS and have installed latest updates.

When I access the app to inspect torrent properties the labels on the windows and tabs become confused often showing text from elsewhere instead of the correct information

Example of incorrect labels

When I examine syslog (for other reasons) I find it is full of GTK errors ...

Score: 0
Iglésio Santana Santos avatar
Files turn into 0KB sambashare
ml flag

I'm using samba fileshare on Ubuntu Server 22.10 and I'm editing the files from a windows 11 client. Today when saving the files from VScode or notepad the files lose all the content and the size turn into 0KB. After restarting the service smbd I was able to save again, but I lost all files I had changed. Any ideas what could be the problem?

Score: 0
reducing activity avatar
Lubuntu - microphone no capturing any audio at all (both webcam and internal one)
cn flag

Week ago everything worked fine.

Now neither internal microphone nor webcam can capture sound.

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal

play -l shows

**** List of PLAYBACK Hardware Devices ****
card 0: Dock [WD15 Dock], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevi ...
Score: 3
Green绿色 avatar
Bluetooth headphones cannot connect after update to Ubuntu 22.04
ng flag

After I updated Ubuntu from 20.04 to 22.04, my system cannot connect to my Huawei Freebuds 3 bluetooth headphones anymore. When I click on the headphones in the devices list, it tries to connect for a while, until it stops. I already removed the device and tried to pair again, but with the same result.

I tried to establish an connection on the command-line via bluetoothctl as described in this blog  ...

Score: 0
Utz avatar
Ubuntu Autoinstall ISO netboot (PXE)
mh flag
Utz

I need to install machines from the network using PXE. I already have an ISO (22.04), which I generated to work with my own user-data (autoinstall).

I found some ways over the internet to use PXE with Ubuntu with autoinstall, but not one with an ISO already generated with its own autoinstall / user-data.

I have a PXE machine that already works properly over HTTP and an ISO that is located in NFS; I need ...

Score: 0
Raivo Rebane avatar
I tried to install openjdk-8-jdk, but it fails
ms flag

I used following command sudo apt-get install openjdk-8-jdk But got following

Unpacking openjdk-8-jre-headless:amd64 (8u342-b07-0ubuntu1~20.04) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u342-b07-0ubuntu1~20.04_amd64.deb (--unpack):
 unable to open '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd.dpkg-new': No such file or directory
No apport report written be ...
Score: 0
Srecko Micic avatar
Solution for keeping LTS 22.04 and getting some fixes from Gnome 43
cn flag

I need to keep LTS release cause some of proprietary apps I am using that supports latest Ubuntu LTS only. But I am having issue with default Screen recorder not working cause of this bug that is fixed in Gnome 43. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5585

Plus few more Gnome bugs being fixed that will not be in LTS...

I know that I can not add 43 to LTS. I can not upgrade to 22.1 ...

Score: 0
TangMonk avatar
Network not detected while installing Ubuntu server
cn flag

I am trying to install ubuntu server 20.04 on my PC, But When I step into network connections configuration, It cannot detect any networks, So I try to manually add a network bond like following:

enter image description here

I set IPv4 using DHCP to automatically get IP, but it's always pending

Score: 0
Hemanth sai avatar
I wanted to search for a keyword/string "error" in a file. What is command
tm flag

I wanted to search for a keyword/string "error" in a file

Score: 0
Zeebah Emin avatar
Add disk space to vagrant virtual box
bs flag

I have a macOS and want to increase vagrant disk size by 50gb, how can I do this with terminal and vagrant 2.3.2

Score: 0
Jason B avatar
Nvidia "PRIME Profiles" tab is missing: I cannot switch back from Nvidia to Intel graphics
mc flag

I'm using Ubuntu 18.04 on a Dell Precision 5540.

Initially I was just using the Intel graphics card without issues.

Then I decided to install NVidia drivers (I followed this guide) After installing the drivers, I noticed that the "PRIME Profiles" tab was missing. Picture of Nvidia settings

Command prime-select query only yelds nvidia as result.

This is what I see in the Software & Updates menu ...

Score: 2
Amadeus avatar
Ubuntu install freezes, maybe due to raid0 / hidden partition
fm flag

Disclaimer: Im not much of a techie, and this is my first attempt at installing ubuntu.

That said, im trying to revive an old asus u500v (which has 2x120 gb SSD's in raid0) by installing ubuntu on it, however the install freezes shortly after the final step of the ubuntu 22.04 desktop installer.

My steps: When i ran the installer the first time, i found a hidden partition of 17gb (called RAID0RST (s ...

Score: 0
Guojun avatar
ctrl+alt+f1( or f2...) is a black screen. (Ubuntu20.04, Gnome, gdm3)
no flag

Ubuntu 20.04 LTS startup with gdm3 can normally show the login window.enter image description here But, When I type ctrl+alt+f1( or f2...), the screen goes black.enter image description here I'm a beginner. I've tried every "fix" I've found online, but to no avail. I don't know where the problem is.

Score: 0
Ab_Ad  avatar
Error showing when installing cern root-6.26 in ubuntu 22.10
hk flag
cmake --build . --target install -j4
[  0%] Built target VDT
[  0%] Built target AFTERIMAGE
[  0%] Built target TBB
[  0%] Performing build step for 'LZMA'
[  0%] Built target copymodulemap
[  0%] Built target move_header_roofit_hs3
[  0%] Built target OPENUI5
CMake Error at /home/baba/root/LZMA-prefix/src/LZMA-stamp/LZMA-build-Release.cmake:49 (message):
  Command failed: 2

   '/usr/bin/gmake'

  See al ...
Score: 0
Aski avatar
Cannot see my internal Hard Disk
ax flag

I'm a newbie and moved from Windows 10 to Ubuntu 22.04.1 LTS. I installed Ubuntu to my 120GB SSD and other personal files are on my internal 1 TB HDD. After installing Ubuntu, I can only see the SSD drive and its contents but not my HDD drive.

Please help me to so I can access my HDD.

lsblk command

HDD Not Shown on Files

HDD Shown on Disk utility

Score: 0
LeGEC avatar
How can I list my installed snaps together with their track/risk/branch?
us flag

Context

I would like to list the installed snaps on my machine, together with their channel information (<track>/<risk>/<branch>). My intention is to store that data in a file, so that I can somehow reinstall the same snaps on a new system.

Issue

The built-in command snap list seems to be geared towards printing data to a human being, and to not have options to tweak its output to hav ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.