Latest Ubuntu related questions

Score: 0
precise avatar
Open applications don't survive hibernation (sleep). Is there a fix?
br flag

I'm using Ubuntu 22.04 LTS (on Dell Inspiron 3505) with swap file of 16GB which I recently created after deleting the default 2GB swap file as per the instructions in Swap FAQ.

Q1. My open applications are still closed when I start after a hibernation. Is this normal? And/or, is there a fix?

Q2. Also, after the hibernation pressing the power button alone is not enough to wake up the laptop, I'm required ...

Score: 2
Aidan Tang avatar
Is there a version of Ubuntu which boots to command line without needing to install onto the hard drive?
vn flag

I am a tech support technician and I am using the shred function in ubuntu to securely wipe company laptops. I am currently using the desktop version and clicking "try" in order to run this command and then move onto the next laptop without needing to install. I want to use a version of Ubuntu that just boots to command line to make this more efficient. I have tried ubuntu server but I cannot find any " ...

Score: 0
Alan Franzoni avatar
How to wait on /var/lib/apt/lists/lock availability on unattended execution?
cn flag

Please note: there're similar questions around, but this specific scenario is unanswered. Don't close this as a duplicate of 335794 or 1340943.

This is always reproducible, and this is about apt lists lock not about dpkg lock.

I'm running a series of automated tasks that perform some install through APT. The tasks are sequential (zero parallelism) but may invoke apt multiple times. At a certain point, whe ...

Score: 0
Dean Shandler avatar
20.04 with RT Kernel crashes with error \00\00
gb flag

I'm running Ubuntu 20.04 with RT kernel version 5.15.79-rt54.

When running several CPU intensive tasks the PC freezes after around 13 minutes. and I need to manually reset it.

The error I see right before the crash in /var/log/syslog is:

\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\ ...
Score: 0
Slimat avatar
Swap partition on VPS
lu flag

Sorry that this is a very similar thread to some others, but as this is a production server I need to make sure what I am doing is right first time and I am still an Ubuntu novice.

I have an Ubuntu 20.04 LTS VPS which is 250Gb SSD + 2Gb RAM. I checked with htop and it shows that the RAM is ticking over at over 96% used. So I was going to add a 4Gb Swapfile - but when I check the current provision it sho ...

Score: 0
Mori Kitagawa avatar
Cannot change my second monitor resolution to 1366x768
US flag

I'm a new Linux user I just installed ubuntu on my laptop after it got installed, I connect my second monitor via VGA and that monitor cant reach 1366x768, it says on the setting that it only can reach 1024x768 I tried to install the graphic driver but it didn't fix the problem , my laptop spec Thinkpad x230 CPU: Intel® Core™ i5-3320M CPU @ 2.60GHz RAM:8gb

Ubuntu 22.04.1 LTS

Score: -3
jafarlihi avatar
Does audio work in Zenbook 14x UX5401ZAS?
co flag

Here it is in the hardware database: https://linux-hardware.org/?view=computers&vendor=ASUSTek+Computer&model=Zenbook+UX5401ZAS_UX5401ZAS

Audio chip is reported as Realtek ALC294.

Audio issues have been reported with Zenbooks and this audio chip. I wanted to know, what's the state of affairs currently? Does it still not work? Can anyone with this model or chip comment please?

Score: 0
Nicholas Saunders avatar
How to match results with grep from a list of words in a file?
mx flag

for this example:

grep 'word1\|word2\|word3' /path/to/file

can these be placed in a file?

something like:

grep '<file_with_a_list_of_words>' /path/to/file

for a large list of words to match.

Score: 1
Feystray avatar
Fingerprint sensor for ubuntu
hr flag

I had recently switched to ubuntu from windows. After switching , my validity fingerprint sensor stop working.
how to use it. I tried many stuffs on internet such as fingerprint gui tools but can't use it. But, my sensor is already dectected using lsusb command
Bus 001 Device 004: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingerprint Reader

Score: 0
assylias avatar
Service restarted at every apt upgrade
in flag

Everytime I run apt upgrade and there is an actual upgrade, a service that I have created gets restarted. Typically, I get this message

┌────┤ Daemons using outdated libraries ├─────┐
│                                             │
│                                             │
│ Which services should be restarted?         │
│                                        ...
Score: 0
scstwupvoaftqpaguv avatar
random crash running 20.04.5 LTS
jo flag

My ubuntu installation randomly crashes and I'm very perplexed as to why.

The crashes only seem to happen when I run the gnome shell from boot. When I boot into "text" mode via grub, I have yet to reproduce it (but honestly I ran the gnome shell for a day with no issue).

The restart/crash pattern seems so random, sometimes nothing is happening for hours on end, then seemingly just restarts every 5  ...

Score: 3
reducing activity avatar
Ubuntu 20.04 - how can I stop waiting for NetworkManager.service during startup?
cn flag

I prefer network to setup itself when I start computer, but I prefer to boot earlier and have network connect while I type my password and so on.

Sadly, according to systemd-analyze critical-chain I am waiting for NetworkManager.service startup during boot.

Is there a way to change that so that it still does its network things and it is not delaying boot?

graphical.target @8.083s
└─multi-user.t ...
Score: 0
MUSAID P.P avatar
black screen on boot with blinking cursor after Ubuntu 22.04 kernal 5.15.0.58-generic update
lu flag

Just before the restart, I have installed camorama application and its dependences such as cairo, gnome-common, libv41-dev, gdk-pixbuf-2.0, gtk+-3.0.

I tried some available solutions with regards of lightdm and gdm3 by getting into the tty2. I also found some error with regard of Xauthority saying unable to open display.

I tried running boot-repair from tty2 and it has shown as below : *xhost: unabl ...

Score: 0
reinforcers avatar
docker mysql 5.7 on ubuntu 22.04
mr flag

I'm used to using Ubuntu 20.04 and docker mysql created like this:

sudo docker run --name mysql-57-container -p 127.0.0.1:3310:3306 -e MYSQL_ROOT_PASSWORD=. -d --volume=/usr/share/docker/mysql57/conf.d:/etc/mysql/conf.d --volume=/usr/share/docker/mysql57/data:/var/lib/mysql mysql:5.7

after that I can access it using mysql -u root -p --host=127.0.0.1 --port=3310 even though I had mysql 8.0 installed ...

Score: 0
Martin Oscar Caballero avatar
Is it possible to open About Ubuntu window in Xubuntu?
es flag

I've been using Ubuntu for ages (Karmic or Lucid, I don't remember) and if my memory serves me well, the Details or Overview section was present in the system settings in GNOME 2 and Unity. But when I switched to Xubuntu years ago, that section was nowhere to be found in the settings.

Is it possible to install it? Or is it installed but not visible? Can I run it from the CLI? I've tried typing details

Score: 0
reinforcers avatar
anydesk cannot open ubuntu 22.04
mr flag

I got new installed 22.04 PC, after completing anydesk installation it work fine but when I click quit then open it again it won't open at all at least until I restart my PC, is there any reason why?

Score: 0
松原美紅 avatar
I want to hide the shutdown menu on the GUI
bz flag

I want to hide the shutdown menu on the GUI. I want to run it with settings such as Config instead of apps.

Execution environment: Ubuntu22.04, desktop PC

Score: 1
How to configure netplan so enp9s0 goes to internet and enp5s0 goes to lan?
in flag

I must build a replacement server using Ubuntu 20.04.5 LTS, and I'm trying to migrate from NetworkManager to netplan. My new server can connect to the internet, but complains that it has no route to my 192.168.0.0 lan network. All pings to lan hosts result in Destination Host Unreachable

I have an old Centos7 server that uses NetworkManager that works the way I want. On that older host, galactica

Score: 1
Ron avatar
File policy-rc.d in WSL1 not found
bm flag
Ron

I am trying to resolve the udev issue in my WSL, and I am following the "Apt-get upgrade errors" troubleshooting steps in the WSL docs.

To fix issues related to udev, follow the following steps:

  1. Write the following to /usr/sbin/policy-rc.d and save your changes.

    #!/bin/sh
    exit 101
    
  2. Add execute permissions to /usr/sbin/policy-rc.d:

    chmod +x /usr/sbin/policy-rc.d
    
  3. Run the following commands:

    dpk ...
Score: -1
kkyucon avatar
Ubuntu Server 22.04 automatically installs open-vm-tools
ae flag

When I apt update and apt dist-upgrade the process installs open-vm-tools package.

Why is open-vm-tools being installed on a bare-metal server?
Could it be a dependency that I am not aware of?
Is this package assumed by developers to be useful in most cases?

Here is the output from apt update:

Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://ca.archive.ubuntu.com/ubuntu jammy-update ...
Score: 0
ForDummies avatar
Why is one of my machines refusing to accept ssh into the root account?
pm flag

I have a cluster of 7 machines. All run Linux; 5 of them running Xubuntu 20.04.5, including all three I'll mention here. All have a root account and one user account. I am the only actual user; this is a hobby.

They are set up largely identically, to keep my life simple. Nevertheless, one of the machines refuses to accept incoming SSH connection to the root account, although connections to the ...

Score: 0
Ethan Poag avatar
USB headset dongle not showing up as output
cv flag

I just plugged the USB wireless dongle for my JBL headset into my Ubuntu computer and I cant get audio to play through it. It shows up when I run lsusb and I also tried cat /proc/asound/cards. It also shows up as an input device in the settings menu, but not as an output. Any help would be greatly appreciated. Thank you.

lsusb returns:

Bus 001 Device 014: ID 0ecp:2069 Harman International Inc JBL Quan ...
Score: 0
SomeoneThatCodes avatar
E: The repository 'https://ppa.launchpadcontent.net/xorg-edgers/ppa/ubuntu jammy Release' does not have a Release file. Ubuntu 22.04
au flag

I have had this error since last month and I haven't found a way to solve it until now. Whenever I run the sudo apt update command it shows E: The repository 'https://ppa.launchpadcontent.net/xorg-edgers/ppa/ubuntu jammy Release' does not have a Release file. error message and I don't find any solution for it, for the moment my computer works perfectly. Still, I think it is way better to solve the ...

Score: 0
brent groves avatar
Only 1 of 3 OpenEBS ndm and csi pods are being created on install
hm flag

Setup

  • The nodes are 3 Ubuntu 22.04 server VM installed on VMware ESXi, 6.7.0 PowerEdge R710 server.
  • microk8s channel 1.26/stable
  • OpenEBS community add-on

The issue:

I think the reason openebs-jiva is not working is only 1 ndm,cstor-csi, and jiva-csi pod expected 3 of each.

(base)  brent@reports41  ~  kubectl get all -n openebs                                  
NAME                                  ...
Score: 0
TheZsolessz avatar
Ubuntu don't see second display and randomly logs out
th flag

I'm using a Lenovo P50 notebook with Ubuntu 22.04.1 LTS and I have a few problems with it.

Since the last update(which included a kernel update I think) my OS randomly logs out while I'm using it. I have encountered this problem in the summer and I tried to solve it. Somehow it worked, because it didn't show up for 1-2 months. I don't remember exactly what I solved it with at the time. Now I just ...

Score: 0
slazien avatar
How to clone a bios_grub partition?
no flag

I want to create a clone of my SSD. My partition table looks like this:

Partition table screenshot

However when using Clonezilla (which uses Partclone) in the dd mode, it fails to clone the first 1MB bios_grub partition (BIOS boot). When trying to make a clone in the "disk-to-image" mode, it also fails.

How to go about this? Alternatively, since I'm booting exclusively in UEFI mode, is it safe to simply delete this partition?

 ...
Score: 0
Tegas Gagas Impian Prahita N avatar
saods9 package require base64
zw flag

i have been running ds9 on Ubuntu, but got some massage error.

Error in startup script: can't find package base64 while executing "package require base64" (file "/usr/share/saods9/library/ds9.tcl" line 216)

Can you help me to fix it? Thank you.

Score: 0
KitCat avatar
I deleted a 300GB "syslog.1" file in "/var/log/", because it had filled my disk drive. However, the disk space remains used
cn flag

I was prompted that I was running low on disk space, so I checked my disk useage and found a "syslog.1" file that was over 300GB. When I opened the file it was an endless stream of some tracking error. I naively gave myself sudo privileges and deleted the file, and now I'm dealing with the consequences. The file is no longer visible, but my disk useage remains full.

I gave my machine a restart, b ...

Score: 2
Ubuntnoob avatar
How do get my system to use the latest installed kernel?
ec flag

I recently upgrade from Ubuntu 18.04 to 20.04 and then to 22.04. At least when going from 20.04 to 22.04 I got a prompt asking if I wanted to install the latest kernel, and I said yes (I can't remember what exactly happened when going from 18.04 to 22.04, to be perfectly honest).

The upgrades seemed to complete successfully, and I rebooted after each. However, it looks like the system is still u ...

Score: 3
user227495 avatar
Warn when new WiFi devices on LAN network
us flag

I connect through Ethernet. But almost all other devices use WiFi. Is it possible to get a list of devices connected to my router in Ubuntu 22.04? It would be great if there is some method to get an alert as well when a new device is connected to the WiFi network.

Edit 1: Interestingly arp -a is giving more details, but no device information. A few internal IPs and MAC IDs.

Edit 2: I think more details ...

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.