Latest Ubuntu related questions

Score: 0
confused_nomad avatar
Laptop booting straight into Windows after Ubuntu installation
gb flag

Title, scoured Google, asked the Odin Project Tech Support and Ask Ubuntu and didn't get a response, questions here and here didn't help, totally at my wits end. There's so much info out there I don't even know what's relevant/helpful information, but here's the gist - I followed the instructions here, from "Installing Ubuntu" down.

It was a nightmare to get it to recognize my free partition on my one and ...

Score: 0
seeni sekar avatar
Need to install ubuntu 22.04 live server with specific kernel verison 5.15.0-25
cv flag

We are developing our solution in ubuntu 22.04 live server with 5.15.0-25 kernel. We use chroot environment to create custom ISO.

During install, entered to shell and verified the current kernel version is 5.15.0-25. Installation of Custom ISO is success (followed the regular ubuntu live server installation), but we see the kernel version is updated to 5.15.0-56 as of (2nd Dec 2022).

We use the defa ...

Score: 0
Hayduke avatar
Log In Keyring Password
us flag

I am running 20.04.5 LTS and have it configured to log me in at startup. Each time, I am prompted to input my password to unlock the log in keyring. Occasionally, I have not done so in a timely manner and the password window has closed without entering a password. When that happens, where would I go to enter the password and unlock the keyring? Previoulsy, when this has happened, I have restarted th ...

Score: 9
ThinkHard avatar
snapd-desktop-integration flooding syslog
ru flag

snapd-desktop-integration on my Ubuntu 22.04 desktop system is flooding my syslog here with these messages:

Dec  2 14:19:35 server1 systemd[65032]: snap.snapd-desktop-integration.snapd-desktop-integration.service: Scheduled restart job, restart counter is at 322.
Dec  2 14:19:35 server1 systemd[65032]: Stopped Service for snap application snapd-desktop-integration.snapd-desktop-integration.
Dec  2  ...
Score: 3
Alfred.37 avatar
Which file is used for the configuration of ZFS?
ng flag

In Ubuntu, configuration of settings such as the following can be done via console:

  • Enabling and disabling compression, choice of compression algorithm and compression strength.
  • Enabling and disabling deduplication.

In which configuration file are these settings stored and is it allowed to edit them with an editor?

Score: 0
David King avatar
Remmina. Bypass RD Gateway
ee flag

I use my computer to RDP about 95% of the time for work. On windows a box is needed to be enabled in the RDP client called: "Bypass RD gateway server for local address".

When remoting in, it ask for a 2 factor from DUO. As there isn't an option to Bypass the gateway on remmina, it's asks me twice for 2FA.

Is there an option i'm not seeing in remmina to do this? Or is there are alternative on linux t ...

Score: 0
Dhani Fathi avatar
Laptop shows shell and then freezes after waking up from suspend
gp flag

My laptop froze and showed the shell right before it froze. I had no other option than to just force reboot the laptop to come back to a working state. There was no shell changes or software updates before this happened.

enter image description here

My system specifications are:

Dell Inspiron 14 7447

Intel Core i7-4710HQ

NVIDIA GeForce GTX 850m

Intel HD Graphics 4600 (mesa) Ubuntu 22.10

Score: 1
Jorge O-L avatar
gdb Installation Error -- libc6-dev
mq flag

UPDATE: I have re-installed (3 times) Ubuntu, and performed sudo apt policy libc6 libc6-dev with this output:

libc6:
  Installed: 2.35-0ubuntu3.1
  Candidate: 2.35-0ubuntu3.1
  Version table:
 *** 2.35-0ubuntu3.1 100
        100 /var/lib/dpkg/status
N: Unable to locate package libc6-dev

I then did a sudo apt update and another sudo apt policy libc6 libc6-dev and got this output:

libc6:
  Installed: 2 ...
Score: 0
pelle avatar
ubuntu installation - boot
mg flag

this is my first time installing ubuntu on a pc, uninstalling windows 10 completely.

I followed the guide step by step and installed ubuntu correctly, but upon rebooting it keeps restarting staying in a loop; and from the boot manager (pressing F12) ubuntu does not appear.

I tried inserting the usb stick, and trying to reinstall it tells me that a version of ubuntu is already present.

So I tried from t ...

Score: 0
Ubuntu Server Domain Join via realmd/sssd DC Windows Server 2022 Insider/Preview
US flag

I want to join an Ubuntu Server via realmd/sssd into a MS Windows Active Directory domain. The domain controller is a Windows Server 2022 Insider. All packages are installed and configured as far as I know.

The DC and the domain can be resolved and "realm discover" also gives me a reasonable output. With "realm join" I get this error message

adcli: joining domain ad.domain.com failed: Couldn't set pas ...
Score: 1
Tom avatar
Name cannot be changed on save dialogue
au flag
Tom

Minimum required condition for recreation.

Ubuntu 20.04
kernel 5.15.0-53-generic
Model XPS-13
Chrome 07.0.5304.121 (Official Build) (64-bit)

note that this occurs not just in chrome, but any application that uses the system's save dialogue.

For example, in Google Chrome, I press Contrl-S to save a webpage. When doing so, a save dialogue appears for specifying the name and directory of the file.

a filer

When ...

Score: 0
Porcupine avatar
Pavucontrol: Shows headphones plugged in even when it is not
ar flag

Pavucontrol: Shows headphones plugged in even when it is not and there is no sound whether I plug in headphones or not. No sound from laptop speaker.

This happens only after awaking from sleep. After reboot this is solved (laptop speaker work and behavior is normal) but happens again after sleep.

Score: 2
toyou2023 avatar
How to get the ip address without ifconfig or ip command in Ubuntu?
bh flag

Today I got a new Ubuntu server. I tried to get its IP address with the ifconfig or ip commands.

But I got a command not found error. I searched the errors on Google, and it looks like I need to install package to run these commands.

But I don't have sudo access. Is there any other way to get the IP address without these commands?

Score: 0
bahsnub avatar
Loop to test HTTP Status Code?
ro flag

I have a script to test several internal URL (around 15-20 URL) from an external Server which looks like this(i changed the URL to some random url like youtube etc. for this post):

#!/bin/bash 
code=`curl -i -L -s "https://www.youtube.com/ https://www.google.com/ https://twitter.com/?lang=de| grep 200` 
if [ -z "$code" ]
then
exit 0 
else
exit 1
fi

I want to put all the URL in a Variable(if possible)  ...

Score: 0
Maxxx avatar
Handbrake 1.51 stays in the system even after uninstall
gt flag

I am trying to remove Handbrake completely after finding out I had two versions installed in my system. I succeeded at removing handbrake-jz, but the other one (version 1.51) won't uninstall.

I tried this method in vain. I got positive results in terminal and after rechecking, I got a confirmation saying handbrake was not installed.

However, to my surprise, the icon still appears in the Show Applicat ...

Score: 0
Thomas G. Lau avatar
Serial console output but USB keyboard input ignored?
tn flag

my server doesn't have VGA output, so my only luck will be serial console; However, my serial cable is 2-3 crossed and somehow could only output screen but take no input, I am trying to think if it's possible to use serial console for output and USB keyboard for input at the same time, how could I config this?

I am currently using console=ttyS0,115200 console=tty0 on Grub.

Score: 0
Ankur Gupta avatar
Cant run Jmeter on Ubuntu - No X11 DISPLAY variable was set
tl flag

I get error when i run Jmeter that -

An error occurred: 
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,

But my variable is SET. display variable

2022-12-02 14:38:39,871 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2022-12-02 14:38:39,885 INFO o.a.j.JMeter: Loading user properties from: user.properties
2022-12-02 14 ...
Score: 0
D company avatar
Missing menu bar and other symbols (22
cz flag

Menu bar date and time connection symbol etc Missing before

After

Score: 1
Ahmad moosavi avatar
How To change color and font of several subtitles together?
ck flag

I have a number of srt files with subtitles. I want to change all of them together + change the font, is there a command for this?

Score: 0
MlaKe avatar
Upgrade Ubuntu 20.04 to 22.04 fails; too many broken packages reported
co flag

I was upgrading my initial Ubuntu 18.04 installation to 20.04 without any issues. sudo apt upgrade does not report any outstanding packages. However, trying to upgrade to 22.04 with sudo do-release-upgrade fails:

...
Calculating the changes

Could not determine the upgrade

An unresolvable problem occurred while calculating the upgrade.

This was likely caused by:
* Unofficial software packages not pro ...
Score: 0
santhosh avatar
Which command do I use to login to a container with podman?
mf flag

I created a pod named multi-container. Its a yaml file:

apiVersion: v1
kind: Pod
metadata:
  name: multi-container
spec:
  containers:
  - image: nginx
    name: nginx-container
  - image: redis
    name: redis-container
  - image: consul
    name: consul-container

If I need to login to any of the container, what command do I use?

Score: 0
Turgut avatar
OpenCL can't see drivers on ubuntu
mp flag

I'm trying to setup opencl for C++ development in ubuntu(22.04) but when I run clinfo I'm geting the following output:

root@turgut-N56VZ:/etc/OpenCL/vendors# clinfo
Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 22.0.5
  Plat ...
Score: 0
cooladam avatar
Ubuntu 20.04 Cannot Boot Due to Missing Modules
kn flag

When trying to boot up my laptop I'm presented with an error message saying:

"ALERT! UUID=199df2c0-c427-4e87-9edf-b64a88ccb54e does not exist. Dropping to a shell!".

Most other answers for a similar problem involve changing boot or UEFI settings, but the problem is that I cannot change them due to the fact there is no password setup for the UEFI settings menu (I assume there is a factory setup passw ...

Score: 1
Cyneburg avatar
I installed ubuntu 22.04 with the option of booting to either ver. 20 or 22, but that is not happening
km flag

I made a bootable ubuntu ver 22.04 usb stick. When going through the process of installing it on my dell desktop I chose the option of installing it along side the version I am currently running [20.04].
The process said I would be given the choice of which version I wanted to boot up with. Alas... such is not the case. It boots to my old version 20 with no choices.

Can anyone tell me what is going  ...

Score: 1
CFDaniel avatar
Connecting via ssh to remote and go to same directory as used on client
in flag

I have a very specific question. Is it somehow possible to connect from my client via ssh to a remote machine and stay on the same directory I used on the client?

For example if I am in the folder /path/to/folder/ I want to login to the remote machine and go directly to the same folder. If I logout from the remote, go to another folder, let's say /path/to/folder/test/, and log in again via ssh I want ...

Score: 1
Mic avatar
Freeze if Thunderbolt 3 dock is unplugged while suspended
ne flag
Mic

If I unplug the Thunderbolt 3 dock while Ubuntu is suspended, Ubuntu freezes with a black screen when I next try to resume.

Can this be fixed?

There are some errors and a stack trace in syslog:

pcieport 0000:03:02.0: can't change power state from D3hot to D0 (config space inaccessible)
thunderbolt 0000:04:00.0: can't change power state from D3hot to D0 (config space inaccessible)
Call Trace:
 &lt ...
Score: 0
Wiley Rush avatar
Error 502, phpinfo() directing to 7.4 when 8.1 is installed (File not found)
hm flag

I'm setting up a web server. I have a freshly installed Ubuntu 22.04, nginx (welcome page works), and php-fpm which installed php8.1 and php-fpm8.1.

To test PHP, I created a /var/www/<my domain>/info.php which just includes:

<?php
phpinfo(); ?>

Browsing to this page gives Error 502 - Bad Gateway.

Checking /var/log/nginx/error.log shows this:

connect() to unix: /var/run/php/php7.4-fpm. ...
Score: 1
noel avatar
Bash - Accept EULA in script non-interactively
bq flag

I'm trying to build a singularity container for working with Microsoft Azure Kinect SDK. I need to install k4a-tools in a headless manner, but I can't figure out the right way to accept the EULA non-interactively. Originally I tried just running:

yes yes | apt -y install k4a-tools

but that seems like a messy way to do it. It did work a couple times, but now it just hangs at that part of the script.

 ...
Score: 1
fixit7 avatar
No such file or directory - file is present
kp flag

enter code hereI do not understand why I am getting the "No such file..." error.

fstab is in home/andy/Downloads/

Here is what is relevant in my backup script.

# Backup fstab
cat /etc/fstab > home/andy/Downloads/fstab
tar -cvf fstab.tar home/andy/Downloads/fstab
rsync --progress -r -u fstab.tar $Backup_Directory
rsync --progress -r -u fstab.tar $Local_Backup_Dir

And the output.

Thunar_Settings.ta ...
Score: 0
Joel Cook avatar
nvidia screen reflect-x not properly handled after reboot (this may be KDE's fault)
mt flag

Sorry if some of my terminology is incorrect. This is my first time digging into xorg or KDE in over 10 years (has it really been that long) so what little I did know is rather rusty now.

I am running the latest version of ubuntu studio. {ubuntu 22.04.1 lts (gnu/linux 5.15.0-65 low latency x86-64)} I have duel displays on an nvidia gpu using nvidia driver version 470.141.03

The secondary display is  ...

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.