Latest Ubuntu related questions

Score: 0
Xubuntu Live how to login on lock-screen?
cn flag

With Xubuntu 22.04 Live if you do nothing for an extended period of time, it open the lock-screen, but the lock-screen does not accept xubuntu:(blank) , nor ubuntu:(blank) nor root:(blank), and according to What is the password of a live user? there isn't any default password for Xubuntu live, hence the question

How do I login on the Xubuntu Live Lock Screen?

Score: 0
Mahzin avatar
UMC404HD - Problems with inputs
tn flag

I have one UMC404HD By Behringer and it is running fine with other Linux distros, but with Ubuntu it has problem to list inputs, but the outputs run ok, it shows that the interface is supported, but for a reason the inputs are not visible, I tried one command to force reload about alsa and the inputs appeared, but again disappeared, any light to this problem?

Edit: I solved updating to 22.10.

Score: 0
Ahmed Yazdan avatar
Intel igpu drivers in ubuntu 22.04 (i5 12600k, uhd 770)
ss flag

I've a i5 12600k (uhd 770) with 8gb ram and no gpu. But, i can't find any source or tutorial on how to install drivers for this igpu. And without the drivers, I'm unable to run "Davinci Resolve" and games lag a lot.

Hope you guys will help me. Thanks.

Score: 0
Aaron avatar
Internet drastically slower on Ubuntu than on Windows
ls flag

I am very new into the Ubuntu community, I made the switch two days ago and I'm still getting used to everything. However one of the first things I noticed is that since I've been using Ubuntu, my Internet (Wifi) is significally slower than it was on Windows until wednesday. obviously I searched the problem before here and I saw several ideas, like this one which I all tried, but nothing seemed to work. I ...

Score: 1
s.k avatar
Knowing the fan speeds (RPM) corresponding to levels 0-7 in the thinkfan configuration file
cn flag
s.k

I'm trying to configure thinkfan on Ubuntu 22.04.2.
But I'm wondering; to which speeds actually correspond the "levels" (first of the three columns of numbers) in the thinkfan config file?

E.g.:

$ grep -A10 levels: /etc/thinkfan.conf 

levels:
  - [0, 0, 45]
  - [1, 43, 48]
  - [2, 46, 51]
  - [3, 49, 54]
  - [4, 51, 60]
  - [5, 58, 65]
  - [6, 63, 72]
  - [7, 70, 82]
  - ["level full-speed", 77, 3276 ...
Score: 3
Marc avatar
Linux script with logfile that changes names
ro flag

How can I rename a log or error file to prevent overwriting? I have a bash script that produces an output log file. When re-running the script I want the old log files to be preserved by changing the name of the every logfile depending on the name of the last file created. For example:

1st run: script.sh > log.file produces log.file1 2nd run: script.sh > log.file produces log.file2 3rd run: ...

Score: 0
Stuart avatar
Cannot mount Micro-SD card onto Kubuntu 22.04 LTS
lb flag

First, the preamble.

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-67-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-3120M CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Manufacturer: TOSHIBA
Product Name: SATELLITE L870-18V

I am having trouble moun ...

Score: 0
Zenmaru avatar
Notebook with virtual monitor vnc to 2 real monitor
tr flag

Ubuntu 22.10 with Xorg enable.
I have created a virtual monitor with same size (1920x1080) and Ubuntu settings can see it without a problem.
I'd like to vnc the real monitor and the virtual one to another computer with two real monitor.
I have already try remmina and realVNC but show only the real monitor of the notebook.
Q: is it possible to do?

Score: 0
Fire avatar
Ubuntu 22.04 sound line out always detects unplugged
ph flag

Recently the OS crashed after updating. Then I tried to reinstall Ubuntu. It turns out it can't detect the audio output via the DP port.

Pulse Audio:

Pulse Audio

The speaker of my monitor works fine. The tricky point is that the speaker works perfectly when I use live Ubuntu from my UFEI USB stick. I have tried both live Ubuntu 22.04 and 22.10. It works on both live Ubuntu versions. I have tried the solutions of sim ...

Score: 0
Vikram avatar
Restore netplan
cn flag

I have removed netplan from Ubuntu 22.04 and now the network is not working, I cannot install the netplan again as internet is not working. How can I restore the network?

Score: 2
Richard B avatar
How can I hide executed commands run from a Makefile script and only show the output?
ec flag

I have a Makefile script with a task containing an rsync statement, when I run the script it outputs the actual rsync command and the response from the rsync command. I want to hide the command and only show the response OR if possible style the rsync command. How can this be done?

See the code below, I've managed to style some of it as you can see. (FYI: I've left out a bunch of tasks etc, and y ...

Score: 0
Wojtek X avatar
Cloud template files for multiple systems/targets?
pl flag

I've got an Ubuntu VM instance on Google Cloud Platform and am setting it up to my needs. What troubles me is the /etc/cloud/templates directory. In there, there are templates not only for my own VM instance, but also for other OSs.

Please see the listing

What's the purpose of adding templates for other OSs?

Score: 0
lo-ran avatar
xrdp audio Thinclient Wyse
bm flag

I've installed xrdp on a 22.04.2 LTS, using xrdp-installer-1.4.6.sh.

So far, so good. (except perhaps that it does not install the latest 0.9.21 but 0.9.17). From a Windows client sound is working.

Now trying to connect from a Thin-Client (Dell Wyse - ThinOS 8.6), the device does not recognize the audio codec, I think. I t says "cannot open audio device file". How can I tweak xrdp / pulse audio to t ...

Score: 0
Anil Kumar avatar
Uprading Ubuntu 18.04.6 LTS to 20.04
nu flag

when i trying to execute command " sudo do-release-upgrade " getting below erorr. Checking for a new Ubuntu release Please install all available updates for your release before upgrading.

I have tried below commands ..

  • sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade

Please provide me the solution

Score: 1
s.k avatar
Fan not working on a Thinkpad with Ubuntu 22.04.2; sensors -> fan1: 0 RPM
cn flag
s.k

I have a small problem on a Lenovo P15 laptop. I noticed the plastic of the case has kind of 'melted' on its back.

I was then surprised no typical fan sound was audible!

Curious, I installed sensors and checked for it:

$ sensors --version
sensors version 3.6.0 with libsensors version 3.6.0

$ sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +67.0°C  

nouveau-pci-0100
Adapter: PCI adapt ...
Score: 0
Md Saiedur Rahman Saied avatar
permission denied on ubuntu ( ubuntu and windows 10 dual boot system on a M.2 NVME ssd and another harddrive used for storage)
jp flag

I have a 250GB m.2 nvme ssd and a 1TB hdd. I boot ubuntu and windows on my ssd by creating 2 partition and I use my hdd for storage only. I recently install gcc on my ubuntu. but can't run c++ file on ubuntu which is located on my hdd.

it says permission denied. but on windows I can access and run the same file. what should I need to change to run the c/c++ file on ubuntu?

Thanks is advance.

Score: 0
Дима Смирнов avatar
Ubuntu Google chrome, Source tab not working
aw flag

I have Ubuntu version 20.04.6 LTS (Focal Fossa) . I removed the old packages

sudo apt autoremove

Then I updated Ubuntu with the command

sudo apt-get update

Then installed docker

docker compose version
sudo apt remove docker-desktop
rm -r $HOME/.docker/desktop
sudo rm /usr/local/bin/com.docker.cli
sudo apt purge docker-desktop
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg -- ...
Score: 2
Mr Felix U avatar
Firefox unable to download or upload files
ru flag

My firefox is not saving downloads. The download location is simply ~/Downloads and chrome for instance happily saves in there. Oddly, if I "download" a PDF from google drive, the firefox sprouts a new tab and shows me the downloaded PDF. But anything else doesn't seem to work. This even extends to "print to file" - it offers the "save as pdf" option but then does not go any further when pressing  ...

Score: 2
Chris avatar
AMD Radeon R7 340 OEM Monitor issues
cu flag

DisplaySettingsthis is my info

chris@chris-workstation:~$ inxi -Fxz
System:
  Kernel: 5.19.0-35-generic arch: x86_64 bits: 64 compiler: N/A Desktop: Xfce
    v: 4.17.0 Distro: Ubuntu 22.10 (Kinetic Kudu)
Machine:
  Type: Desktop System: LENOVO product: 11BH0094GE v: V530-15ICR
    serial: <superuser required>
  Mobo: LENOVO model: 3176 v: SDK0J40697 WIN 3305276342590
    serial: <superuser required>  ...
Score: 0
elcaos avatar
Ubuntu shows App preview of uninstalled App
in flag

When I open the Gnome quick launch menu it shows me apps that were installed via the software store but are no longer installed. I already tried to remove every snapshot in the snap store but still I see the preview. When I click on it the software store opens and says either "Unable to find /Snap/Snap Store/..." or "Sorry, there are no details for this application". When I go to "Settings -> Applica ...

Score: 3
Can not find python3.10 after apt-get installation
ph flag

I have installed python3.10 - and verified by attempting to re-install it. There are some lib*3.10 files - but no executables:

apt-get install -f -y python3.10
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libqgispython3.10.4' for regex 'python3.10'
Note, selecting 'libpython3.10-stdlib' for regex 'python3.10'
libqgispython3.10.4 is already t ...
Score: 2
Itzik.B avatar
getting black screen while trying to record dockerized lxde using ffmpeg
vn flag

I have created a docker image that has LXDE and TightVNCServer.

# Pull base image.
FROM ubuntu

# Install LXDE and VNC server.
RUN apt-get update
RUN apt-get install -y xvfb
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y lxde-core lxterminal tightvncserver
RUN rm -rf /var/lib/apt/lists/*
RUN touch /root/.Xresources
RUN touch /root/.Xauthority
COPY xstartup /root/.vnc/xstartup
RUN chmod +x /r ...
Score: 0
250KingSize avatar
Port forwarding without router access
ru flag

I want to have a connection to a PC thats physically beside me but in a different network

I can´t mess with the routers due to them being locked behind a password and the passwords being lost with a password manager file that was corrupted ( Yep i do backups now )

Connection is from Fedora ---> Ubuntu

Do i have to get new routers?

( Messing around and learning networking as i go so the... Primitive se ...

Score: 1
Smit Desai avatar
In ubuntu server apt-get update showing proxy server error
hu flag

I am trying to update packages on Ubuntu server 22.10 which is running on a Raspberry Pi 4B, that is being used as a remote server. There is no error in the DNS I tried ping google.com and it is working properly.

--- google.com ping statistics --- 9 packets transmitted, 9 received, 0% packet loss, time 8013ms rtt min/avg/max/mdev = 6.560/6.795/6.941/0.126

I'm not sure about my UFW firewall port. And d ...

Score: 0
byggy avatar
Yubikey Two-factor Authentication Encryption via LUKS - Spare Yubikeys how to create an additional key
ir flag

My main question is how to create an additional key (instructions Yubikey Two-factor Authentication Full-disk Encryption via LUKS ) to use if I lost the key. Should I create an additional new code on a new yubikey and add it to another slot or can it be done differently?

The question is how to set up the second yubikey device for this tutorial? should i do the same thing again but choose another  ...

Score: 0
Tintin avatar
Increasing screen resolution in X11 and solving it with xrandr
cn flag

I am using X11 on Ubuntu 22.04

I am trying to configure my big flatscreen as a monitor, connected by a HDMI cable. The picture is very inaccurate. Unfortunately I only get a resolution of 1920x1080. I did the following to increase the resolution:

abc@abc:~$ xrandr --listactivemonitors
Monitors: 2
   0: +*DP-9 1920/527x1080/296+1920+0  DP-9
   1: +HDMI-3 1920/1218x1080/685+0+0  HDMI-3
abc@bc~$ cvt 3840 ...
Score: 0
Bastion avatar
Firefox can't resize window in KDE (KUbuntu 18.04)
eg flag

There's a known bug in Firefox in which the window cannot be resized, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1461280. This is supposedly closed however I am experiencing it on KUbuntu 18.04 LTS with up to date Firefox 111.0+build2-0ubuntu0.18.04.1. (Has the bug regressed?)

There is a known solution:

Steps to fix:

  1. Open Firefox
  2. Menu -> More Tools -> Customize toolbar...
  3. Check "Titl ...
Score: 0
ubuntuispainful avatar
I've disabled "Activate the window menu," shortcut but it STILL opens up the window menu when you press Super + Right-Click
ls flag

When I'm viewing an application on Ubuntu 22.04, I keep getting a popup.

To reproduce the problem: open any application, then hold down the super key and press right click on your mouse (super + right).

I've disabled the setting in the shortcuts section. I've deleted all values for it in the dconf editor. Yet it still opens the window menu when you press super + right-click.

This brings up a menu with  ...

Score: 15
doptimusprime avatar
Check memory usage of process which exits immediately
co flag

I have built an application which takes less than 1 sec to execute. I want to check the memory usage of this application. What are the tools which can be used in this scenario?

Score: 1
jamshark70 avatar
KDE Plasma screen going dark even though screen dimming is disabled
ee flag

My screen keeps dimming (or going blank) after several minutes of inactivity. Normally I don't mind, but the other night, I was giving a presentation and connected to a projector. If, for example, I took a question and was talking for a few minutes without minding the computer, both the laptop screen and the projector would go dark.

Energy saving settings:

  • On AC Power
    • Dim screen disabled
    • Screen ener ...

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.