Latest Ubuntu related questions

Score: 0
Problem with SFTP: "Credentials were not accepted by the server"
ng flag

I'm using an instance of Ubuntu 22.04.1 LTS via AWS, having enabled ports 22 and 443 in Ubuntu via ufw, and I'm using a Security Group with those same ports enabled.

Although I'm able to connect via SSH using a .cer key file, when I attempt to connect via SFTP with the same credentials I get the message:

Credentials were not accepted by the server

I'm using Transmit for Mac, and having built environmen ...

Score: 3
hans avatar
Can't unlock users settings 22.04
kg flag

I am trying to unlock the users settings in Ubuntu 22.04. I want to change the user settings to enable auto login. At the top right corner there is an unlock button. Clinking on it does nothing. I tried to run: sudo -H gnmoe-control-center and I was able to change the users settings. However, it did not change the user setting while running is again without sudo . I see this message in the termi ...

Score: -2
gsub not accepting fourth argument in gawk
jp flag

Have been using gsub when using gawk, but is not accepting the 4th argument. How can I fix this so that I get a string without blanks ?

  for ( knam in tseq ) {
    ## Remove any blanks from array element astr[i]
    str = "" ; gsub(/[[:blank:]]+/, "", astr[i], str)
    if ( knam == str ) {
      print "Matched line: " astr[i]
     }
   }
Score: 0
Yogesh Yadav avatar
Ubuntu 22.04LTS - Wifi issue low network speed because of IPv6
mg flag

I upgrade from Ubuntu 20.04 to 22.04LTS. I noticed that my wifi speed slowed down from 40 Mbps to 1 Mbps(max) after one hour. Again, if I reboot then it worked fine. After trying multiple suggestions online, one that worked for me:

Go into Wifi Setting and disable IPv6(Default is automatic).

Is there any other way to fix this IPv6 issue?

Score: 0
halejohn wang avatar
ubuntu20.04 Multi-network port configration,router,netplan
gt flag

my ubuntu20.04 server have four network ports,I want my server to act as a router. If one network port is connected to the gateway, other devices can connect to the server through other network ports.

However, the IP addresses of these devices are assigned by the gateway.

This is the netplan configuration I wrote, but an error was thrown when using the netplan try command.

root@ubuntu-server:/e ...

Score: 0
J. Samak avatar
Ubuntu 22.04 resource (cpu, ram, swap) issues
ai flag

I am on a fresh Ubuntu 22.04 installation on a ThinkPad E15 (16gb ram, 512gb ssd, i710510U@1.8GHz x8, Radeon 550x).

The system is used to run 7 docker containers and multiple node processes (in multiple terminator shells) as well as one Firefox and WebStorm instance for web development. In general everything works fine and under idle I average 15% CPU usage, 10GB ram and 1.8GB/2.1GB swap allocati ...

Score: 0
user1678189 avatar
I can not Install Ubuntu in my Samsung Galaxy Book Go
il flag

I got a Samsung Galaxy Book Go. I'm attempting to install Ubuntu, but the system startup screen installation never loads. It just run the options when I boot it and when I select install doesn't run.

https://cdimage.ubuntu.com/focal/daily-live/current/

Processor Snapdragon (TM) 7c Gen 2 @ 2.55 GHz 2.55 GHz Installed RAM 4.00 GB (3.68 GB usable) System type 64-bit operating system, ARM-based pr ...

Score: 1
Mr Felix U avatar
Stop sound alerts for import screenshot called from bash
ru flag

I'm running a loop to capture my desktop every minute in order to create a time-lapse movie.

The command is simply:

while true; do d=`date +"%Y-%m-%d-%H%M"`; import -window root ${d}.png; sleep 1m; done

The annoying thing is that the default alert "beep" sounds every time it fires. I've changed the settings in the terminal to untick "Terminal bell", but I still get the sound. I don't want to d ...

Score: 0
suhas_rkms avatar
Help me troubleshoot my slow boot time ( more than 2 min )
io flag

I am using Ubuntu 22.04.1 LTS in my Dell Inc. Inspiron 3542 using 4 gigs ram and NVD7. It takes more than 1 to 5 min ever time to simply boot the OS (Not using any dual-boot).

Here are the logs of systemd-analyze

Startup finished in 4.336s (kernel) + 1min 24.904s (userspace) = 1min 29.241s 
graphical.target reached after 1min 24.704s in userspace

and systemd-analyze critical-chain

graphical.target @1min ...
Score: 10
FedKad avatar
`snd_hda_intel 0000:00:1f.3: Too many BDL entries` messages in system log
cn flag

After today's update of linux-*-5.19.0-35-generic:amd64 I see many entries in syslog like these:

Mar  2 12:04:57 xxx kernel: [ 4646.030116] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=2097152, period=65536
Mar  2 12:04:57 xxx kernel: [ 4646.031191] snd_hda_intel 0000:00:1f.3: Too many BDL entries: buffer=1048576, period=32768
Mar  2 12:04:57 xxx kernel: [ 4646.032330] snd_hda_intel 0000:00 ...
Score: 0
yunfei avatar
Ubuntu is not booting with many errors: "process error reports", "system logging service", "D-Bus system message bus"
kr flag

I not sure what I did, but after I reboot my system no longer boots to the desktop GUI.

Now the only thing I can do is to enter Recovery root shell. Is there any way to debug and figure out the reason, or any way to recover the system without losing anything?

enter image description here

Score: 0
Domenec avatar
Is Ubuntu Core 22.04.1 Real Time not avaliable for personal use?
ec flag

I've recently deployed the Ubuntu Core 22 Real time OS into a raspberry pi 4 in order to deploy an application using the real time feature they announced recently. When I run $uname -a I can not see the PREEMPT_RT Kernell installed ( I have regular PREEMPT). I was told Ubuntu core 22 already had the preempt_rt kernell installed. Am I missing something? Can I use an older version of Ubuntu Core in o ...

Score: 0
Nickolay Meschersky avatar
OpenVPN connection issues, traceroute to other client
pg flag

I have a Asus ac86u router with OpenVPN enabled. (192.168.3.1, 10.8.0.1) The network behind the router is 192.168.3.0. The OpenVpn network is 10.8.0.0.

I have several Windows machines (both physical and virtual that connect as needed) e.g. a Windows machine connects to the router, gets the IP 10.8.0.11 (I've set up IP assignment for each username) and after that it is possible to set port forward ...

Score: 0
Nirvana Wubian avatar
convert Ip route command to presistent netplan
li flag

I'm totally exhausted about configuring netplan! could somebody help me to add this two command in my netplan?

I added a table mapped to a name: vpn

echo 1000 vpn >> /etc/iproute2/rt_tables

Now we have a custom table 1000 named "vpn"

ip rule add  from 10.10.10.0/24 lookup vpn

finally we add a default route for our custom table 1000 (= vpn)

ip route add default via 192.168.1.1 dev tap_tap pro ...
Score: 0
Alexandre Laborie avatar
Ubuntu 20.04 Wifi settings bug
gn flag

I have a problem with the graphical setting interface, wifi part. I can do one action with it (connecting to a network, forgetting a network, etc..). Then, once the first action is done, if I try to do a second one, this will freeze the setting. After some time, I get the classic 'Setting is not responding' message.
Anyone had a similar problem? Thanks in advance
AL

Score: 3
Marc avatar
New kernel updates can't boot anymore
sx flag

I use Kubuntu for years on my XPS13 without trouble, but with kernel update 5.15.0-60, it couldn't boot anymore. I updated today to kernel 5.15.0-67 and it still can't boot... I can only boot on previous 5.15.0-58 version.

My computer is a dell XPS13 9380, Kubuntu 22.04. When booting on new kernels, after grub select, I got a black screen.

journalctl -b -1 can only show boots on 5.15.0-58 : any atte ...

Score: 0
Richard Rublev avatar
Why I got error after Python upgrade? /usr/lib/cnf-update-db: not found
ug flag

I tried everything,I still have the error

sudo apt update

shows

sh: 1: /usr/lib/cnf-update-db: not found
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code

I tried back and fort Pyhton2,3. Now

 ...
Score: 1
Linus avatar
External displays freezing
mo flag

I have a Levono ThinkPad P16 Gen 1 with ubuntu 22.04 with two external monitors (both HDMI), every now and then both the monitors freeze and I can't use them until I reboot the laptop

I can still use the built-in monitor of the laptop and except for being frozen visually the OS acts as if the two external screens were still connected. If I disconnect and reconnect either of the displays the lapto ...

Score: 1
Kar19 avatar
Ubuntu 22.04.2 LTS browser tabs crashing
uz flag

I get chrome/brave tabs crashing on my Lenovo IdeaPad 5 15ITL05, 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz × 4. 8.0 GiB. Sometimes with 3 tabs open, sometimes with 10. sometimes when I open pycharm/android studio(<=understandable), sometimes when I open a Youtube video.

I didn't have this happening on the previous version of Ubuntu, and somewhere this started happening after one of the re ...

Score: 0
user1678109 avatar
VS Code Server getting stopped when typing any key in .py file
bs flag

I am currently using Ubuntu 20.04. For coding I am using VS Code Server. I am launching it from the terminal with ./code-server. Below is the URL when the server is launched.

http://127.0.01:8080 #listening @ port 80

As soon as I am starting writing code in .py file, the server is getting stopped. I wasted lots of time in trying to understand it, but I've got no clue so far.

enter image description here

Score: 0
grand aneww avatar
Cursor randomly clicks after suspend
es flag

I'm running Ubuntu 22.04 Jammy Jellyfish LTS on my Surface Laptop 3 with the surface linux kernel.

Recently, I realized that after suspending every single time my laptop would get extremely spastic and the cursor would just randomly click a point in the top corner over and over making it impossible to login or execute cursor commands.

I tried disable touchpad with xinput, but that didn't work, and I ...

Score: 1
Eric Crowell avatar
can't access any programs or files despite being connect over RDP
ck flag

I have Kubuntu 22.10 installed on another computer on my home network. It has KDE plasma 5.25.5 and is the only OS on that machine. I am now trying to set it up so that I can run it headless and access it via RDP with mRemoteNG from my main Windows computer. It is currently connected directly to my second monitor with a separate k/b and mouse, but once I get RDP running I intend to remove those. I have  ...

Score: 1
Brayden Graham avatar
Ubuntu doesn't boot past splash screen
ro flag

Ubuntu doesn't boot past splash screen.

Error output with splash and quit removed form the linux line of grub boot settings:

6.7331291 ACPI BIOS Error (bug): Could not resolve sumbol [\_TZ.ETMD1, AE_NOT_FOUND (20228331 /psargs-330)
6.7332121 ACPI Error: Aborting method \_SB. IETM._OSC due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
snd_hda_Intel 0000:01:00.1: Too many BDL entries: buffer=2097 ...
Score: 0
Steve Myers avatar
Livepatch Will Not Enable for Ubuntu 18.04 with "Could not retreive client information" error
cd flag

I have installed and set up Ubuntu Pro on my primary server and my backup server. However, I cannot get livepatch to enable on the backup server. I get the following error:

# sudo pro enable livepatch
One moment, checking your subscription first
Stderr: Could not retrieve client information.: GET request to "https://livepatch.canonical.com/v1/client/<machine-id>/info" failed

Stdout:
Unable t ...
Score: 0
No rule to make target '/usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h (after installing g++-8 on ubuntu 20.04)
za flag

On my ubuntu 20.4 machine, to try building a Makefile based program, I tried 'make' but found it needs g++-8. So I added 'universe' repository following this and installed g++8 by

sudo apt install gcc-8 g++-8

Now when I run 'make', I see this message.

make: *** No rule to make target '/usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h', needed by 'obj/main.o'. Stop

Why is it looking for f ...

Score: 0
Minh Long Vu avatar
iBus works in Firefox, but not in gedit, libre office or terminal
pg flag

I'm using Ubuntu 22.04 LTS, and I installed iBus-bamboo for Vietnamese writing. I can switch to Vietnamese input method and type Vietnamese characters in firefox, but in gedit, terminal, libre office, or any system input in general, I'm unable to type in Vietnamese.

Helps are appreciated!

Edit: Applications in which ibus works: Firefox (default from ubuntu installation), discord (installed with snap ...

Score: 0
xtraorange avatar
Is there any way to support USB while using Ubuntu Server with KVM kernal?
pe flag

I'm attempting to pass through a host USB device to my Ubuntu Server VM. The host is a Proxmox server (at home), and the VM uses an Ubuntu Server 22.04 image with cloud-init that I use to generate new VMs. I have been unable, up to this point, to get the VM to recognize any USBs passed through to it, and I finally think I know why: The kernel associated with it is 5.15.0-1028-kvm, and I just read that ...

Score: 1
Warloxian avatar
Trying to install a video card but I have no video so I dont understand how to use additional drivers
cn flag

I installed a GTX 970, but I have no video so I can't see. I guess I could SSH into my machine, but I do not know how to use the "Additional Drivers" while logged in on ssh?

Score: 0
grandfatherclause avatar
Issue with scrolling through the dock icons
us flag

In my ubuntu 20.04 dock, which is set horizontally at the bottom of my screen, I have more icons than can fit on one screen width. The icons are already set to the minimum size. I did not find a setting for stretching the dock upward to have two rows. For this reason, when I need a program who's icon is off screen, I have to mouse over the last icon to scroll through them to reach it. The scrolling mech ...

Score: 3
Thystra avatar
Encrypted swap - changing hard drive
mg flag

I followed this guide some time ago to set up my system (ubuntu 22.10) on an encrypted ZFS file system, and all worked fine. Part of the guide is to encrypt the swap partition.

Then, I upgraded the primary (swap, boot) drive to a larger one. I had cloned the disk over with clonezilla, which was also fine.

On reboot, I got an error as shown below:

cryptsetup error message

It is pointing to the now removed hard drive swa ...

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.