Latest Ubuntu related questions

Score: 0
Saeed Neamati avatar
Can I know a key is copied to the server before it asks me for a password?
cn flag

To login without password, I use ssh-copy-id I ~/.ssh/key_name root@server_ip.

If I don't copy my public key, then each time I use ssh root@server_ip I would be asked for my password.

Now I want to create an automated script for checking the installation of Ubuntu instances of our colleagues.

I want to know whether they have configured their Ubuntu correctly or not.

One item I should check is to see ...

Score: 0
Drive failing to boot at mount, but mounts later (new issue in 22.04, didn't happen in 18.04)
om flag

My one drive is failing to mount at boot time after I upgraded to 22.04. In 18.04 it never had an issue. If I mount after boot completes it mounts without a problem (mount -a).

From dmesg the most I could find is this:

[    6.929181] sd 4:0:0:0: [sda] tag#31 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[    6.929184] sd 4:0:0:0: [sda] tag#31 Sense Key : Medium Error [current] 
[   ...
Score: 2
newtothis avatar
How can I copy text by simply highlighting it (jammy)?
br flag

One of the great features of Linux for me was always that I can copy text to the clipboard by simply highlighting it. This worked well for me under Debian and then Ubuntu for a long time.

Under Ubuntu focal it mostly would work well, but no longer for libreoffice and firefox. (It was unreliable and often would copy only part of the text highlighted and sometimes nothing.)

Moving to jammy it seems to ...

Score: 0
3088 K avatar
ubuntu 20.04 is not installed for LG gram 16, 16Z90P-GA76K
au flag

First, I installed the window 10, and ubuntu 22.04. And I try to install the ubuntu 20.04 as third native os.

  1. I download ISO file(Ubuntu 20.04.5 LTS desktop) and make the usb booting disk (I try to UEFI and Legacy/BIOS method, all) using lufus program in window 10.

  2. In the boot menu in phoenix bios, I raise the usb drive to the top. And reboot.

  3. The computer boots the usb booting disk. The black ...

Score: 1
Mazer avatar
Ubuntu 22.04 - Laptop screen is not display but external monitor does
za flag

Ever since I enabled mirroring with my monitor. My laptop doesn't display on its own unless it's connected to my external monitor. In the settings, I don't see "Display" option. But I only see "Screen Display". Here's the screenshot of the settings

Any tips on how I can "un-mirror". I'd like to use laptop when it's disconnected. Apology for the noob question.

Score: 2
cw84 avatar
Help mounting existing hardware raid in new Ubuntu 22.04 server install
mz flag

As the title suggests.. I have installed Ubuntu 22.04 Server on an SSD on my server and dropped in an ARC-1880 card with an existing Raid6 set that contains roughly 8TB of data on a 14TB volume.

I am not sure what steps to take to properly mount this raid set and begin hosting it on my home network.

> sudo lsblk -e7 -o +FSTYPE
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS FSTYPE
sda      8:0    0    ...
Score: 1
KianFakheriAghdam avatar
installing icons on gwsl
fk flag

I'm running Ubuntu wsl2, Windows subsystem for Linux. GWSL is an awesome tool to run GUI apps on it. Going to GWSL Distro Tools > GTK Themes, allows you to use custom themes.

The problem is that how can I change the icons. For example in Nautilus the theme doesn't look good with the default icons & I have already installed an icon in both /usr/share/icons & ~/.icons.

I have tried using

Score: 0
danik56 avatar
How to clone system drive
cn flag

I have Ubuntu 20.04 installed on 860 EVO M.2 500GB SSD drive. Single boot os. On last system re-boot there was a message at the bottom of the post screen:

"WARNING! Your HDD/SDD might crash at any moment."

The system still started up and is running fine since.

In addition to the SSD drive, there is another 2TB HDD installed holding backups and non OS data, so my first question is what SSD or HD is the  ...

Score: 0
Ryan Nacker avatar
Unable to make any changes to NetPlan without dropping connection
pw flag

This recently just started happening. I run a hosting company, and adding /32s to our interface is something common so users can have dedicated IPs for their game servers. We've always done this with NetPlan with no issues.

We're running Ubuntu 22.04.1 LTS.

As of a few days ago, I can no longer add them to NetPlan, as adding them and then doing a Netplan try results in losing full connection to the  ...

Score: 0
bits avatar
ffmpeg convert list of NV12 files to video
ca flag

I have folder of YUV files in NV12 format and I want to make them into a video. I cannot glob them as they are not numbered in a good way with leading zeros. Practically I cannot change it. But I have a list of the files in the correct order for the video.

ffmpeg -y -pix_fmt nv12 -s 1920x1080 -r 30 -f concat -safe 0 -i yuvlist.txt -c:v libx264 -pix_fmt yuv420p output.mp4

yuvlist.txt

file 'yuvfile ...
Score: 0
kyle brown avatar
Dual Boot, Upgraded to windows 11 and firmware and now i can not boot into ubuntu GUI
sb flag

So here is the situation. I have a dell xps 15 9510. Dual boot and spend most of my time in ubuntu. So much time in fact its been months since i booted into windows. I boot into windows yesterday and i have a slew of updates. Namely, windows 11 update, nvidia update, and a firmware update. I click accept w/e. Windows 11 loads after an hour of doing its thing. Today i wanted to boot back into linux. Now  ...

Score: 0
Riyad Khan avatar
Higher cpu temperature when i use latest chrome
la flag

when I use google chrome 2 months earlier one my laptop's CPU temperature is around 35-40 degree celsius but when I use the latest one cpu temp goes upto 50 degree on same usage. My room temp around 22 deg celsius.

Score: 0
Ian White avatar
Monitor switcher keeps popping up when connected to external monitor
pk flag

Whenever I connect to an external monitor the monitor switcher (normally activated by super + P) window appears and cycles through, highlighting each option (Mirror/Join/External/Built-in) one at a time. If I select an option or click away it disappears for a second and then reappears and cycles through the options. It never goes away unless I disconnect my monitor. How can I disable this?

I trie ...

Score: 6
Paul Jurczak avatar
How to access writable partition on Ubuntu booted from USB flash drive?
pe flag

I created a bootable USB flash drive with ubuntu-mate-22.04.1-desktop-amd64.iso using Startup Disk Creator. It created writable partition from the remaining space left. I copied a few programs to this partition. When I boot from this flash drive, Discs shows it as writable Partition 4 mounted at /var/crash, but that directory is empty when I open it with Nautilus. How can I find these files?

Score: 0
Chessnut avatar
Black screen after installing cuda toolkit (22.04 x86_64)
ca flag

I've tried installing cuda toolkit 11.8 from a fresh install of ubuntu 22.04 x86_64 from the three different methods. Each of these results in a black screen on boot which is almost certainly caused by a driver issue. I've tried reverting to a previous kernel, blacklisting nouveau and nvidiafb, and restarting, but I'm still confronted with a black screen. I'm running an RTX 3090 if that is of interest.

Score: 0
Eugenio avatar
Is ThinkBook 14s Yoga Gen 2 compatible with Ubuntu?
mt flag

I see on the Ubuntu Page that Ubuntu 20.04 is compatible with the model "Lenovo ThinkBook 14 Gen 2 ITL/15 Gen 2 ITL", but does this include the "ThinkBook 14s Yoga Gen 2" model?

Score: 0
hullio avatar
Mouse Buttons worked on Ubuntu 16.04 and 18.04, but not 20.04
in flag

Interesting problem where I seem not to be able to find a solution. I have a 19" rack monitor with integrated mouse and keyboard, Tripp-Lite Part number B021-000-19-HD. On Ubuntu 20.04 the mouse pad works as I can move the mouse, the scroll function works as well, but no right or left click. The libinput driver is detected for it as shown below and sudo libinput debug-events as shown below detects th ...

Score: 0
jrsv avatar
UbuntuStudio 22.04 initramfs error in USB FAT32 live session
fr flag

I am trying to install UbuntuStudio 22.04 in my machine. The problem is that the image file that needs to be copied into the USB stick is 4.2 GBs. This appears to be causing the initramfs problem as the USB stick is set to FAT32 format. I have found a 6 month old post with a similar problem here I can't get Ubuntu Studio 22.04 to open from a live USB pen drive. It suggests using EXT4 or NTFS for th ...

Score: 0
forootan avatar
linux block writing data over socket
tg flag

I am trying to make socket over internet from my pc to VPS. I'm new to linux but have some experience in socket programming. I use nc -l 2000 in server and nc public_ip 2000 in client. It connect to server and send data to server and server prints data, but if server sends data to client, data never receive to client. if server sends data first(before client), then both sides can send data to each ...

Score: 0
Recently Updated Ubuntu user avatar
Why am I seeing these messages when I try to update with 22.04 (Jammy jellyfish?)
cn flag

This is what is happening after I updated to 22.04 LTS

me@me-desktop:~$ sudo apt update
[sudo] password for me: 
Get:1 http://ftp.iinet.net.au/pub/ubuntu jammy InRelease [270 kB]
Hit:2 https://deb.nodesource.com/node_16.x jammy InRelease                                                           
Hit:3 http://ftp.iinet.net.au/pub/ubuntu jammy-updates InRelease                                         ...
Score: 1
DAS avatar
WIFI connectivity after 22.04 upgrade
aq flag
DAS

Updated my machine to 22.04 a few weeks ago. My WiFi is no longer working. Shows me no connections available, except a wired connection. I am pretty new to UBUNTU, so I am not sure what to run to diagnose. Help would be much appreciated!

Score: 0
Yohann avatar
Why does my battery life drops when I use a dual boot with windows?
hm flag

I have a very weird problem that makes absolutely no sense.

When I installed Ubuntu in dual boot for the first time on my GF's PC (Asus ROG GL... Laptop), it worked great, and battery life was excellent (4 hours on a full charge). For a few days it was all running smoothly, but as soon as she booted it into windows, and then back into Linux, the battery life sucked, less than half of what it was  ...

Score: 0
Automatically switch wired connection with and without 802.1x auth (in office and home setting)
au flag

I have a USB-Ethernet Adapter for my laptop, which I use at home ("normal" network) and at work, where the network is 802.1x protected. Both connections work fine when I set them up.

However, when coming home, I need to disable the 802.1x toggle (Ubuntu 20.04 Wired Connection Settings UI) for the internet to work. But when I enable it again, all the configuration is lost and I have to type my use ...

Score: 3
Dima L. avatar
Skype generates lots of apparmor messages on Ubuntu 22.04
cn flag

I have newly installed Ubuntu 22.04.1 with skype installed from standard software repository (version 8.90.0.407) and every 30 seconds it's filling /var/log/syslog with lots of apparmor messages that look like this:

Nov 22 21:39:28 dima kernel: [19901.633595] audit: type=1400 audit(1669142368.829:4586): apparmor="DENIED" operation="open" profile="snap.skype.skype" name="/sys/devices/virtual/net/lo/speed"  ...
Score: 0
Jules Betfien avatar
Problem with RUN command in Dockerfile on Ubuntu 22.04.1 LTS
gf flag

I am new with docker. I have the following Dockerfile and docker-compose.yml file

FROM python:3.9-alpine3.13

ENV PYTHONUNBUFFERED 1

COPY ./requirements.txt /tmp/requirements.txt
COPY ./app /app
WORKDIR /app
EXPOSE 8000

RUN python -m venv /py && \
    /py/bin/pip install --upgrade pip && \
    mkdir -p /vol/web/media && \
    mkdir -p /vol/web/static && \
    chown ...
Score: 2
jay.sf avatar
How to get dark mode for Scribus?
ma flag

Running Scribus 1.5.8 on Ubuntu 22.04.1 LTS/x86_64-pc-linux-gnu (64-bit). Scribus is installed using apt.

As you can see below, for some reason I have no dark mode/theme option. This is my laptop; weirdly enough, on my desktop at home I'm using same Scribus/Ubuntu versions but I do have dark mode there.

I don't remember doing anything special than just activating it on the desktop. Main difference be ...

Score: 0
taco-legs avatar
After attempting to set up code . on my wsl environment, commands have stopped working
cx flag

I inserted export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" in ~/.zshrc and after saving and quitting, my commands stopped working. I can't access the rc file to modify it in any way as far as I know. nvim/vi do not work either.

Score: 0
Lirik avatar
File system becomes (read-only?) on an NVMe SSD seemingly at random
vc flag

I am currently running a somewhat fresh Kubuntu 22.04 install on a relatively new M.2 NVMe drive.

However, I have a problem where my computer drive (I think) turns read only, causing the system to sort of crash. When I first installed the system, this would happen very frequently until I applied the pcie_aspm=off fix to the /etc/default/grub file: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm ...

Score: 1
Tooster avatar
No built in audio in pipewire after HDMI unplugged
cn flag

System information:

After I unplug the HDMI cable off the notebook, the audio doesn't switch back to built-in. I specifically moved from PulseAudio to PipeWire in hope, that this would be fixed (because something simmilar was happening with PA), but it did not help, although with PipeW ...

Score: 0
userinho avatar
Ipsec VPN connection with local id
lk flag

In forticlient (using Windows) there is an Ipsec option and you can fill in local id, but linux doesn`t have Ipsec option in forticlient. Is there an alternative to use ipsec via linux and so I could fill in the local id. The closest thing that I found is network-manager-l2tp, it has Ipsec, but I can't find where to fill in the local id. Forticlient (windows)

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.