Latest Ubuntu related questions

Score: 0
Andrea Moschettini avatar
Ubuntu Jammy gnome all screencast tools I tried produce empty file
it flag

The most comfortable one is clearly using Ctrl+Alt+Shift+R combination, which allows me to correctly take screenshots. But when I try to record, the red light toggles, everything seems fine. A .webm file is generated in the Screencasts folder, with the correct thumbnail as well. But then I try to open it and it is empty. Black screen. I tried various other tools, but honestly I can't remember the names  ...

Score: 0
Serenova avatar
Kubuntu can't write to secondary internatl hard drive
me flag

EDIT: I figured out what was going on. I had used the storage drive as a backup when I was setting up the dual boot (just incase windows crapped itslef) and apparently those windows system files were causing errors and Linux was defaulting to read-only as a safety measure.

By removing those files, I was able to get Linux to write to the drive again and the problem is solved!

I had to boot into Win10 to ...

Score: 0
user1847129 avatar
How to boot from USB install medium despite error: nouveau 0000:01:00.0: DRM: failed to idle channel 0 [DRM]:
sr flag

I have a new laptop from Gigabyte with an NVIDIA RTX card in it, which looks to be the issue.

Edit: The model is called "G5 KE-52DE213SD".

When I boot from a freshly written USB stick with Kubuntu 22.04 in an attempt to install it as a dual boot after just having installed Windows 10 on half of the internal SSD, in the usual Linux start log, it will get stuck at the line [FAILED] Failed to start  ...

Score: 1
user7375077 avatar
Headphones not detected and sound playing from both speakers and headphones
gb flag

I just bought an HP G9 with and Intel I5-1235U processor and installed Ubuntu 22 LTS. It seems that the audio jack cannot be detected but when plugged in, sound actually plays from both the headphones and the speakers. Tried also with Ubuntu 20 LTS but same thing continues. What should I do in order to fix this?

Update: The output of hdajacksensetest is the same either the headphones are connected or no ...

Score: 0
user8246410 avatar
preseed have last /home volume take up all remaining disk space
cr flag

I've got a preseed config that provides a static size of disk space for /, /boot, /var, /usr, /home, and maybe a few other partitions.

Is there a way to have the /home partition use up all the available remaining disk space using preseed? This would allow us to use a single template against many disk configurations.

Thanks.

Score: 0
nobody special avatar
apt upgrade has a ton of packages in the "kept back" state for weeks, so I'm stuck with the upgrade and don't know what to do
sj flag

When I try to do a upgrade using apt I get a message saying these packages have been kept back, but it's been like this for weeks.

kde-cli-tools kde-cli-tools-data kde-config-screenlocker khotkeys khotkeys-data kscreen kubuntu-restricted-addons kwin-common kwin-data kwin-wayland kwin-x11 libcolorcorrect5 libk3b8 libkf5screen-bin libkfontinst5 libkfontinstui5 libkscreenlocker5 libkwineffects14 libkwing ...

Score: 1
Mel avatar
apt update error: ubuntu jammy release does not have a jammy release file
kz flag
Mel

Ever since I installed ubuntu I have been recieving this error about a missing release file and therefore failed update. Please help

cmd screenshot

Score: 0
bpaterson53yahoocouk avatar
Loading an mp3 player
cn flag

I am trying to put my cd collection onto an mp3 player(Phillips GoGear RaGa), I know it's old hat but heh ho. the mp3 player wont accept "wav" or "ogg", any help.

Score: 2
FalcoGer avatar
Pipe to compressed file but also print content to terminal
mx flag

How do I maintain a readable output from my program while also putting that same output into a compressed file, gzip or otherwise, so I can parse it later?

I run a command that generates a lot of samey lines of clear text that should be easy to compress, but I also want to monitor the output of that command. I know I can use tee to print and then put stdin into a file. But the files are massive (250MB+) ...

Score: 1
C. Crt avatar
Unable to ping device with MTU 9000 (jumbo frame), but default ping error message shows up
ec flag

I need to set a local connection with Jumbo Frames enabled.

I set up my network adapter to have a MTU of 9000.

~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
        inet 10.0.0.3  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::215:5dff:fe8a:1792  prefixlen 64  scopeid 0x20<link>
        ether 00:15:5d:8a:17:92  txqueuelen 1000  (Ethernet)
        R ...
Score: 0
Peter Kaszian avatar
Installing QT5 with online installer on fresh ubuntu system
gt flag

After downloading the open source file (qt-unified-linux-x64-4.5.2-online.run) the start ends with "�HD@Xn@8 (invalid encoding)". I'm on a new installed ubuntu (Jetson nano). This is also the first Software I want to install. What could be the problem?

Score: 0
fxfaizan avatar
Ubuntu responses too slow in asus flow z13 (22.10 and 22.04 LTS)
tw flag

I tried both version 22.10 and 22.04 LTS on Asus Flow z13 (having i9-12900h, 16 gb ram, gpu rtx 3050 Ti, and 1Tb ssd) even from installation, it responses too slow. As i plug usb for installation, after entering installation menu, everything become slow. I tried reinstallation, every driver package for display and other possible driver. But nothing enhance the performance and it is getting worst. Moveme ...

Score: 0
Manuel Jordan avatar
Where is stored the "Encryption Fingerprint" for the "Remote Desktop" configuration?
kz flag

For Ubuntu Desktop 22.04 - to allow a Remote Desktop connection, in the client side can be use Remmina and in the server is mandatory enable the Remote Desktop option, it through Settings -> Sharing.

In the bottom of the Remote Desktop window exists the Authentication section and the Verify Encryption button. If it is press it appears a small window with the Encryption Fingerprint value - it i ...

Score: 0
Noowada avatar
Laptop won't connect to second external monitor in Ubuntu 22.10
cn flag

I own an ASUS ROG STRIX laptop of 2021, operating a dual boot with Windows 11 and Ubuntu 22.10. My laptop has one HDMI port and one USB-C port, both capable of outputting signal to external monitors as tested multiple times with the Windows partition. For the USB-C port, I have confirmed that it is operational both with a HDMI-USB-C cable and with a USB-C-to-HDMI adapter.

While in the first coupl ...

Score: 1
johnwayne_0909 avatar
gpg error: can't connect to the agent: IPC connect call failed
gn flag

I am using Ubuntu 20.04.6 LTS. I am unable to run any gpg commands without using sudo. I can't generate keys, I can't list keys etc. The error message I get is: gpg: starting migration from earlier GnuPG versions gpg: can't connect to the agent: IPC connect call failed gpg: error: GnuPG agent unusable. Please check that a GnuPG agent can be started. gpg: migration aborted

The odd thing is that the ...

Score: 0
Gabriel avatar
Where should `setxkbmap us_programmer` go to make it persistent?
vn flag

Where should my custom setxkbmap us_programmer goto to make it persistent when I log into Ubuntu graphically and also from SSH?

Score: 0
Wim ten Brink avatar
Are there any programming languages for Ubuntu Server with a web interface for their IDE?
pk flag

I have Ubuntu 22.04 installed with WebMin and Cockpit as useful web interfaces. This allows me to SSH into this server either directly through SSH or through the web interface of either web application. Which makes it very useful to manage these systems without too much trouble. Especially since this server is inside a closet with no keyboard, mouse or monitor. This server is used as a web server for p ...

Score: 2
Denis at SO avatar
How to disable GUI for password prompt for encrypted LVM volumes on boot?
cn flag

How to disable GUI for password prompt for encrypted LVM volumes on boot and how to remove all strings on console output? I just need cleared prompt with blinking cursor.

enter image description here

enter image description here

And yes, I want to confuse anyone who tries to turn on my computer.

Score: 0
AnakinGabriel avatar
Ubuntu installation on SSD not booting: possible issue with bootloader or partition?
al flag

I am trying to help a friend fix his Ubuntu installation, he has an SSD and an HD. The HD has Ubuntu on it with the boot partition installed together, in one single partition.

On the SSD there is Windows and another Ubuntu installed in two separate partition, Windows was installed first if that makes a difference.

He wants to format the HD and use only the Ubuntu on the SSD. But when he tries to boo ...

Score: 0
Violet avatar
Not able to boot Ubuntu on Dell i7
in flag

I brought Dell XPS 13, Core i7 Laptop preinstalled with Ubuntu several years ago. Since there were soon some issues with the original Ubuntu OS, I had to reinstall the Ubuntu OS couple of times, which went pretty smooth. So basically I had/have experience booting an USB Drive and installing the Ubuntu/Linux OS.

The issue that I am writing this post is that I'm not able to install Ubuntu OS anymor ...

Score: 0
ZedZip avatar
How to access from Windows 10 -> Ubuntu 22.04 via remote desktop?
hr flag

I'd like to connect from my Windows 10 to Ubuntu 22.04 LTS. I have made as described here https://ubuntuhandbook.org/index.php/2022/04/ubuntu-22-04-remote-desktop-control/ Run, entered user name, password (Xorg) connected I see an empty window, no any icons etc. How to fix it? I.e. How to connect using remote desktop Windows->Ubuntu?

Score: 0
Miguel avatar
Cannot rebuild initramfs images, due to lack of space
tr flag

I am running out of space on the disk '/boot'. When trying to use the software updater, a message appears suggesting to remove old kernels using sudo apt autoremove, and to set COMPRESS=xz in initramfs.conf. Similarly to this question, sudo apt autoremove did not make a difference. Then, I tried with the second alternative. However, after setting COMPRESS=xz, I need to rebuild the initramfs.conf im ...

Score: 0
root avatar
Alder lake 1240p processor slow Wifi speeds- ubuntu 22.04
bf flag

I was getting good Wifi speeds before 1 month, but recently I noticed my wifi speed doesn't go above 54mbps in ubuntu 22.04, whereas it works perfectly in Windows 11 , I use TP link Wifi 6 router AX70 and as well as TP link wifi AC 1200.

My wifi hardware: iwconfig output (few info masked)

      wlp0s20f3  IEEE 802.11  ESSID:"XXXX3"  
         
      Mode:Managed  Frequency:5.745 GHz  Access Point: XX:XX ...
Score: -2
Koji_422 avatar
Bash Permission denied error
dk flag

I get the following error when i enter the command:

printf '#!/bin/bash\nxvfb-run -a --server-args="-screen 0, 1024x768x24" /usr/bin/wkhtmltopdf -q $*' > /usr/bin/newwkhtmltopdf.sh 

bash: /usr/bin/newwkhtmltopdf.sh: Permission denied.

I have tried the apt update and even when to the ubuntu packages platform to download the wkhtmlopdf package. Please can someone help me with this??

Score: 0
Lital Weissfeiler avatar
Is it possible to install Ubuntu 18.04 on Mac M1?
gt flag

I tried several ways to install Ubunto on M1, I need the 18.04 version using VMware and Virtual Box, with no success. Is it possible? if yes - how? there is some specific guide for it?

Score: 0
kriwillysme avatar
Ubuntu 22.04 suspend only lock the screen
ms flag

linux newbie here. Sorry for my bad english before. So i have Acer Aspire Vero AV15-51 laptop running Ubuntu 22.04.2 LTS. Overall, everythings run great (except fingerprint login always failure to match my fingerprint). But my main problem is my laptop cannot suspend properly. When i close the lid or click on suspend option, the screen is going black but the fan still spinning, and wake up when i press  ...

Score: 1
alexpanter avatar
Slow external monitor (input lag)
ar flag

[solved]

I've read some of the other posts here and other places regarding this, but they did not help me yet. I have severe input lag for my external (4k) monitor.

Some facts:

  • Running Ubuntu 22.04.2 LTS
  • Using laptop with external screen in "extend" mode
  • Using X11, since Wayland isn't compatible with my Nvidia GPU
  • I have an AMD CPU
  • Input lag can be SEVERAL SECONDS for the external monitor.
  • External m ...
Score: -2
Jimmy Zeng avatar
How do you install latest packages easily?
bt flag

I installed ubuntu for the primary purpose of programming but turns out, many things (compilers, interpreters, etc...) are not the latest version in the Ubuntu Packages Database ready for installation.

Such as, if I wanted to install Python on my computer, I would do:

sudo apt update
apt search python

and do sudo apt install for the latest version of python listed in the search result. But turns ...

Score: 0
zain avatar
I'm facing some errors when I try to setup a wireless mesh network using ns3.38 on ubuntu 22.04 LTS
ch flag

I'm using Ubuntu version 22.04, and trying to run a script using ns-3 3.38 that set ups a mesh wireless network. However I get errors after running it.

error: 'Default' is not a member of 'ns3: YansiWifiHelper'

error: 'WIFI_PHY_STANDARD_80211N_5GHZ' was not declared in this scope

I will provide the script without the header files. I have two errors, and I will mark the lines.

using namespace n ...
Score: 0
cryptsetup: Device /dev/sda4 is not a valid LUKS device
cn flag

chatGPT could not solve this one :-)

I mistakenly erased my username from /etc/sudoers

I need to rescue the system, which has full disk encryption.

I rebooted on a bootable usb drive (Finnix) and tried:

mkdir sda4tmp
cryptsetup luksOpen /dev/sda4 sda4tmp

and get ...

# Device /dev/sda4 is not a valid LUKS device

How to go forward? Is losetup the only solution? Had some troubles with it :-/

Thanks! PS:  ...

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.