Latest Ubuntu related questions

Score: 0
Wallify avatar
I have shutdown problems on Ubuntu 22.10
io flag

My HP laptop isn't shutting down correctly under Ubuntu 22.10.

The OS shuts down, and the screen also turns off, but the fan and the led indicator on network key remain on.

I need to press and hold the power button every time to completely turn everything off. How can I fix that? I have a freshly installed Ubuntu on a 1TB hard drive.

Score: 0
Ben Bitdiddle avatar
Unable to do normal boot: Have to manually boot from SATA boot from BIOS
ms flag

I was trying to reinstall ubuntu 18.04 and ended up installing it both on my 1 TB and 2TB harddisk. My system is not booting up now unless I go to BIOS and select SATA boot drive. There is no longer any efi boot option which earlier was present.

How do I fix this? Also how do I make sure that there is only one ubuntu installation and the other one is deleted? I am not very good at jargon of ubunt ...

Score: 0
Dragon avatar
How to set ssh keys in cloud-init?
za flag

I am using cloud-init to set up a Raspberry Pi with Ubuntu Server 22.04.1. I would like to set the device's SSH keys so I can connect without being vulnerable to a man-in-the-middle attack.

My current user-data is:

#cloud-config
users:
- name: 'foo'
  groups: users,adm,dialout,audio,netdev,video,plugdev,cdrom,games,input,gpio,spi,i2c,render,sudo
  shell: /bin/bash
  lock_passwd: true
  ssh_authorized_ ...
Score: 2
Sanskar Bhusal avatar
Ubuntu freezing during copying file to phone
tw flag

Whenever I try to copy files between my phone and Ubuntu 22.04 Desktop LTS,system freezes after a while (during middle of the copying process). What might be the reason ? Is this a bug ? I can assure there's no issues with my phone since my primary OS windows 11) has rock stable connection with my phone( doesn't freeze at all) Ubuntu seems to have problem with MTP. I have been facing this issue sine lon ...

Score: 0
cat40 avatar
apt and apt-get tries and fails to update grub, while I amattempting to install somthing unrelated
jp flag

I somehow wound up in some kind of weird state while attempting to install some packages in Ubuntu 20.04LTS. It said that the package was already installed and then attempts to install or update GRUB. At first it popped up a purple screen with a warning that /dev/sda1 was not an EFI partition (correct) and that continuing would likely cause a failure to boot. I said no and it went into a loop asking ove ...

Score: 0
Andy avatar
CPU softlock ubuntu 22.04.1 Ryzen 5800x3d
gp flag

I have been in a fortunate position to allow me to buy a 6800xt gpu and a 5800x3d cpu. I installed these and have carried out a fresh install of Ubuntu however I am running into some softlock issues and some hardware errors.

I was hoping that someone from this forum might have some insight into this issue.

Before installing this hardware the machine was running fine.

Asides from this I have the followi ...

Score: 0
Curiefeld avatar
Switching from HDD to SSD failed. Could I migrate programs to the SSD and keep the HDD as the boot drive?
mv flag

I'm attempting to repurpose an old HP pavilion laptop as a host for virtual machines like a proxy or pihole.

Unfortunately the screen won't work. I managed to convert it to Linux and set up remote access before the screen died. When I tried upgrading to an SSD clone of the hard drive I could not remotely access it. I've tried using a separate screen via hdmi but it won't work.

Luckily after removing ...

Score: 0
Samthebest999 avatar
How To Switch Sound Card In Ubuntu
by flag

I am using Ubuntu Kinetic (22.10) and I think I some how messed up my sound settings. In the image below, my sound is stuck on "Dummy Output":

Sound stuck on dummy output

Then when I checked using alsamixer the output was this: alsamixer output

I then used F6 to change my sound card and it was working: alsamixer after

But this only shows in alsamixer. It doesn't show in my linux settings and I can't hear anything in any applications. I have tried the built-in vi ...

Score: 1
Using Nautilus in Kubuntu
us flag

How can I use Nautilus in Kubuntu? When I try to summon it, it has a problem with gtk-bookmarks. I want to try it because Dolphin does not seem to recognize USB media.

(org.gnome.Nautilus:46043): WARNING : 10:47:18.250: Unable to get contents of the bookmarks file: Error opening file /home/paul/.gtk-bookmarks: No such file or directory

Score: 0
Viewing digital camera files in Dolphin
us flag

I'm trying to view the files on my Canon camera over a USB connection. The camera shows up in lsusb. but not in Dolphin's list of devices. When I first plug it in I get a window offering to connect it via File Manager, but it never shows up in a Dolphin window.

Update 1 Using the app gphotofs I was able to import the JPG files into a folder. So I've reduced the problem to this: given a folder of JPGs, d ...

Score: 0
Shansen avatar
Grub ubuntu which is on a different ssd
vc flag

I have two ssd installed in laptop, PNY for windows and Adata for ubuntu. when I installed Ubuntu I made sure to install the grub loader on the adata ssd but when done, the grub loader instead got installed on the pny along with windows.

enter image description here

when i select ubuntu (P1 : Adata su 650) i got this

enter image description here

but when I select ubuntu (P0: PNY cs900) I can successfully login to ubuntu.

how to make ubuntu grub in Adata  ...

Score: 0
erauso avatar
Apache2 won't load php files
cc flag

This has been getting on my nerves all day because I feel like it is such a simple fix, but can't figure it out. I installed Moodle through Ubuntu 20.04 and I was able to fully install it from /moodle. I left it at that for the night and came back to it today. I now cannot access any php files through that same link. The page just times out. Could it be from rebooting my machine? Apache is running but s ...

Score: 3
Trees4theForest avatar
Is there any downside to running Ubuntu 22.04 in "Performance Mode" all the time?
us flag

Ubuntu 22.04 introduces a handy way to set the power mode: Performance, Balanced, Battery Saver. Some info here: How does Ubuntu 22.04 handle power modes?

While I get that it makes tweaks to, say, save the battery, my questions are:

  • Is there any "downside" to keeping it in performance mode all the time while plugged in?
  • Is this taxing my system?
  • Will my computer (chips, battery, etc) last longer keeping  ...
Score: 0
Quokka avatar
Why does apt allow removal of a package that is a dependency of another package?
in flag

On Ubuntu Server 22 minimal, I install xinit:

sudo apt install xinit

and in the process apt auto-installs several other packages.

Let's take libjavascriptcoregtk-4.0-18 as an example. It gets auto-installed when I run the command above.

But if I purge the dependency:

sudo apt purge libjavascriptcoregtk-4.0-18

apt allows me to do so.

Why?

Is xinit dependent on libjavascriptcoregtk-4.0-18 or not?

Score: 0
Nick Wilson avatar
Machine unresponsive to input after upgrading from 20.04 to 22.04
tk flag

I just upgraded from Ubuntu 20.04 LTS to 22.04 with the Software Updater.

The process completed and now I see the jellyfish desktop, but I can't actually click anything and keyboard shortcuts do nothing as well.

I am very inexperienced with Ubuntu. I've only used it a few times (VBox) for programming assignments for school.

Score: 0
James Whalen avatar
Struggling with DisplayLink all day - now I cannot gain access to X11 at all - how to reset things?
dk flag

Not sure what I did but I get "Failed to start DisplayLink Driver Service". I had tried to remove it (in recovery mode) but it seems Networking does not work in recovery mode (even if I enable it.) When I attempt to ping, I get "Temporary failure in name resolution". Most solutions I find suggest changing the /etc/resolve.conf file - but systemd-resolved is not active on Ubuntu (or it works differently  ...

Score: 0
user3307810 avatar
Ubuntu 22.04 KVM Installation
co flag

I'm following this procedure: https://linuxhint.com/install-kvm-ubuntu-22-04/

When I apply the netplan for the yaml file I get an error:

sudo netplan apply
Failed to reload network settings: No such file or directory

Debug of netplan yields:

netplan --debug generate
DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:20463): DEBUG: 23:06:06.988: starting new processing pass
** ...
Score: 0
dsideriu avatar
644 Permission needed for /etc/cron.allow, workaround?
us flag

There is an odd CRONTAB behavior difference between Ubuntu and RHEL-derived (say, Rocky 8.x) distros. And, because security I need to understand it better. I've tested this issue in Ubuntu 18.04 and 20.04, with identical behavior in both.

If I use a cron.allow file to allow specified users to use CRONTAB, that file must have 644 permissions. (Or at least, world-readable.) If I set the permission on  ...

Score: 0
Rebecca Badger avatar
1st time log in issues username/password
sm flag

Help! I am in school and need the virtual machine mainly for practice. I have installed Virtual Box and Ubuntu. However, when I try to open a virtual machine, Ubuntu wants me to log in. I went ahead and created an Ubuntu user account, but I cannot sign in with it. I have tried several suggestions I have seen in the forum, such as ubuntu as the user and several different passwords.

Chat does not w ...

Score: 0
Tallboy avatar
Problem with mounting NFS share in Ubuntu 20.04
ro flag

I'm trying to mount an NFS share from an old Netgear ReadyNAS duo NAS on a new Ubuntu 20.04 server

NAS IP address is 192.168.1.102

When I try "sudo mount -t nfs 192.168.1.102:c/Films /films" I get the error "mount.nfs: mount system call failed"

Despite a long search for answers, I can't solve it - so reaching out to the community for help!

Score: 1
R1PTIDE avatar
Vulkan shows disabled on google chrome on Ubuntu but showed as enabled on fedora(same laptop)
us flag

Here is the screenshot on Ubuntu 22.04 LTS. Vulkan shows as disabled. enter image description here

Now, the screenshot of Fedora where vulkan shows as enabled: enter image description here

So, how do I enable vulkan on Ubuntu?

Edit 1:

Output of sudo lspci:

00:00.0 Host bridge: Intel Corporation Ice Lake-LP Processor Host Bridge/DRAM Registers (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G1 (Ice Lake) (rev 07)
00:04.0 Sign ...
Score: 0
Waqas Tariq avatar
Server Refused our Key after upgrading to Ubuntu v22
cn flag

I upgraded our webserver to Ubuntu v22 and am now unable to login via Putty after restart, it says "Server Refused our Key," and a prompt "Disconnected: No supported authentication methods available (Server sent: publickey)." It was working fine before this.

I can still login using the same private key using FileZilla / SFTP.

After the restart the server did not start my webserver and the website i ...

Score: 0
KeoFoxy avatar
How I can add to variable values in while loop using read line?
vn flag

I need to do a password input bash script. Bash file must get values from named piped until it receives *.

For example:
Bash gets 1 2 5 6 7 8 ... 5 * (Each digit comes after press on keypad)

Variable in script must be: Result = 125678...5
And then I have to compare it to my Verif. password

For example(I dont know bash syntax):

while read line && input != "*"
do
passWord_input += line


if(p ...
Score: 0
JohnDoeVI avatar
Bluetooth range is bad Ubuntu 22.04.1
ni flag

So when I get around a meter away from my PC, the audio becomes laggy and somewhat 8-bit sounding, and if I get too far from the PC like 4 or 5 meters away, the device gets disconnected. I'm sure the problem is not with my hardware because I didn't have the same issue on Windows. any Help?

Score: 0
rgreen42 avatar
Install Build Essential Fails on Ubuntu 24.04 Fresh install due to libc6-dev dependencies
rs flag
sudo apt-get install --yes build-essential
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out on Incoming.
The following information may help to resolve the situation:

The follo ...
Score: 0
newandlost avatar
ctrl left / ctrl right cursor navigation
au flag

The behaviour that I describe here seems to be system wide, chrome, vs code, gedit...

Consider the simple single line of characters consisting of two words:

cat  dog

Starting with the cursor at the beginning of the line

|cat  dog

pressing ctrl + RightArrow moves the cursor to

cat|  dog

Now upon pressing ctrl + RightArrow again the cursor jumps to

cat  dog|

ignoring the white space. But instea ...

Score: 0
newandlost avatar
Switching ctrl and alt keys, but keep ctrl tab and ctr shift tab for tabbing through windows
au flag

Note: When talking about the physical keys, I will use the prefix p_

I used tweak tools to switch Left Alt with Left ctrl, as I really dislike to press the p_ctrl key with the pinky finger for copy/paste, saving, cursor navigation etc... Also I have previously been working on a mac.

But something that I now dislike is that tabbing through windows is now p_ctrl, which I would like to keep on the p_a ...

Score: 0
michota32 avatar
Windows 10 problem with GRUB
sz flag

I've had a dual boot windows 10-Ubuntu for a couple of months, and yesterday out of nowhere i saw that i can't boot into my Windows. Grub is not detecting it.

Over this months i had similar problems, but running

sudo update-grub

and with help of boot repair, i was able to fix those problems. But now it is different, running boot repair, an error message appears saying:

LegacyWindows detected. P ...

Score: 1
Martin Klein avatar
The volume levels when using different channels for microphones are clearly too low. Kubuntu 22.04
fi flag

The volume levels when using different channels for microphones are clearly too low. The error occurs with the internal microphone, the headset microphone as well as the USB microphone. Approx. 30dB were detected with „Audacity“. My hardware: https://linux-hardware.org/?probe=f4c6260289 Suspect the core Kubuntu 22.04?

Score: 0
DrTSPC avatar
ExpressVPN causes problems with my internet connection
ng flag

After connecting ExpressVPN, the internet connection works for a while. But after some time, perhaps a few minutes, it is lost. The relevant icon/symbol at the top of the ubuntu screen changes from the internet connection symbol to a grayed out version of that symbol with a question mark in front of it.

I use Ubuntu 22.04 on a desktop.

Is there an internet setting on my desktop that I should change ...

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.