Latest Ubuntu related questions

Score: 0
Abhiram Shibu avatar
CPUAffinity in /etc/systemd/system.conf getting messed up when docker/snap is installed
ar flag

For some benchmarking purpose I need to set CPUAffinity for the entire system to limit all process to some cores lets say first 10 cores. This way I can do taskset to override the CPUAffinity and benchmark on a core which is not in the CPUAffinity list.

The reason for doing it is to make sure that during benchmarking of a software, we do not have any disturbance from other users or OS itself.

CPUAff ...

Score: 0
Ignacio Thomson avatar
Black screen on booting up
fr flag

I'm using Ubuntu 22.04 LTS, and whenever I boot on kernel v. 5.19.0.35, I'm greeted with a black screen, and if I press Ctrl + Alt + F2 something like a terminal gets enabled (blinking underscore on upper left screen) and Ctrl + Alt + F1 disables it. The thing is, this 'terminal' of sorts does nothing, it gives no instructions and whatever I type in it, it's completely ignored, for example: I type 'exit ...

Score: 1
Greg avatar
Error Installing a Canon MX410 driver on Kubuntu 22.04
gl flag

I cant get connected to my Canon MX410 printer. I downloaded a driver but not sure if its the correct one - cnijfilter-mx410series-3.50-1-deb

This is the error:


==================================================

Canon Inkjet Printer Driver Ver.3.50-1 for Linux
Copyright CANON INC. 2001-2011
All Rights Reserved.

==================================================
Command executed = sudo dpkg -iG ./pa ...
Score: 0
leopoldog avatar
remote-viewer swapping monitors at each restart
ke flag

I've setup a machine with Ubuntu 22.04 that should run an old Windows XP (because we need that old and obsolete version of windows, so don't tell me that I have to upgrade to something new, it's not an option).

The Windows XP is setup in a qemu VM that runs automatically at system start and an autologin user is configured to automatically start a remote-viewer in kiosk mode using spice with two Q ...

Score: 0
bkcberry avatar
Accidentally uninstalled snap, can't reinstall because i have no network
kr flag

I'm running 20.04, I uninstalled an old python version and it apparently also uninstalled snapd. After rebooting I have no network connection, because i guess netplan is installed/run by snap, so now i'm unable to reinstall snapd. Is there a fix or do i just need to start from scratch?

Score: 0
tim11g avatar
How to get absolute system time in tcpdump output from interface in monitor mode?
gn flag

I'm using Ubuntu 22.10 with a wireless interface (Netgear AXE3000, driver mt7921u) in monitor mode, capturing packets with tcpdump (since airodump-ng does not capture the radiotap header).

I start the capture within a script with this command: sudo tcpdump -i $1 -n -w pcap/tcpdump_$5_$4_ch$2.pcap

The pcap file shows relative timestamps starting with 0.000. I would like to display absolute system tim ...

Score: 2
vmvart avatar
Ubuntu Multipass Cloud-init SSH Issue: Retaining 'ubuntu' User's SSH Key While Injecting My Own
sn flag

I am trying to create a cloud-init configuration file to inject my own SSH keys into the "ubuntu" user for a Multipass instance. I have managed to successfully inject my SSH key when I create a new user for myself and set the SSH key for that user. However, the SSH key for the "ubuntu" user disappears in the process. How should I structure the YAML file so that the "ubuntu" user remains unchanged and I  ...

Score: 0
Ceyhun avatar
How can I hide the absolutely enormous top bar in editors/apps such as eclipse and visual studio code?
ge flag

The enormous top bar I'm talking about

This bar appears whenever I use an app such as eclipse, visual studio code etc etc, and I don't want it to be there because it confiscates a bunch of the area I'm supposed to see. I tried hiding it through the app but there is no such option. I am pretty sure this is ubuntu-related (and it might just be displaying the title).

If there is an option to make it  ...

Score: 0
tamene14 avatar
Don't have access to Ubuntu any more
um flag

I have both Ubuntu and Windows operating systems on my computer. A few days ago I was on Windows operating system when a message asked me give permission for a Windows system update. I thought it was from Microsoft and allowed it to make changes to my pc and the following day when I tried to access Ubuntu there was no options for me to choose Ubuntu. When I boot my computer only a black screen appears a ...

Score: 0
Galaxy avatar
Bluetooth repeatedly switching on and off, no audio, broken behavior
tv flag

I have some really odd behavior with bluetooth. There are a few seemingly related issues that are all resolved by rebooting Ubuntu- haven't found any other solution, and I've tried a fresh OS install.

  • repeatedly and rapidly connecting/disconnecting my wireless mouse while mouse is unresponsive
  • audio devices refuse to connect (e.g. connect then instantly disconnect)
  • Device connected and audio is visuali ...
Score: 0
return007 avatar
Strange screen glitch when moving cursor
kr flag

I am suddenly observing this weird "glitch" screen (picture attached). It flashes when the cursor is moved to the bottom of the screen. Moving cursor back to upper half of screen OR not going towards bottom half, it disappears. screen glitch

System information:

  1. Laptop name - Lenovo Yoga 7i 2022
  2. OS: Ubuntu 22.04.2
  3. CPU - Intel i7 1260p
  4. Graphics - Mesa Intel ADL GT2
  5. Windowing - Wayland
  6. GNOME version - 42.5
  7. Display r ...
Score: 0
Ignacio Thomson avatar
How can I reinstall a Kernel version?
fr flag

I’m currently using Ubuntu 22.04 LTS, and my Kernel version 5.19.0.35 is no longer responsive after trying to install the Nvidia driver 525 recommended by my terminal with the command ‘ubuntu-drivers devices’.

By not responsive I mean, whenever I try to boot it, I’m only left with a black screen with an unresponsive blinking underscore in the upper left corner, and pressing Ctrl + Alt + F ...

Score: 0
manish ma avatar
Connection refused on open TCP port
gg flag

Server is listening on TCP port 10000 on two reachable addresses-

root@localhost:~# netstat -tulpan | grep 10000
tcp        0      0 172.30.83.74:10000      0.0.0.0:*               LISTEN      29009/python    
tcp        0      0 172.30.83.73:10000      0.0.0.0:*               LISTEN      29008/python  

One connection is reachable while the other isn't.

There is no firewall.

What could be the diff ...

Score: 0
FeXa avatar
Intel Graphics Installer failed
fo flag
CPU: Intel i5-3437U (4) @ 2.900GHz 
GPU: Intel 3rd Gen Core processor Graphics Controller 

I get this error when I run the following command.

$ intel-linux-graphics-installer 
diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking if Intel graphics card available...
diagnostics-view.c/new_diagnostic: Adding diagnostic for Retrieving information from 01.org...
diagnostics-view.c/new_diagnostic ...
Score: 0
Maestro avatar
How to install QEMU on Ubuntu Server?
pw flag

All the info I can find do something like this:

sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients

But when executing it shows it will install a LOT of packages that are for systems with a GUI (fonts/wayland/etc) and not for headless servers.

I want to keep my Ubuntu server as clean as possible, and not install almost the complete desktop environment just to run QEMU.

So what is the b ...

Score: 0
elipsa avatar
Forticlient SSL VPN freezes Ubuntu 22.04
nr flag

I have a problem with Forticlient software on Ubuntu 22.04. Every time I manage to connect my VPN, entire system freezes - no keyboard actions work and the screen just freezes. However, the system seems to be running, because there appear another entries in various logs. I have also tried it out in non-GUI mode and everything worked as it should. That makes me think that once VPN tunnel is established,  ...

Score: 0
0xC0DEGURU avatar
How to configure Ubuntu to start windows application pinned to the dock and to associate files to that app?
cn flag

I have installed the latest wine and winetricks following the instructions on the official winehq wiki: wine install instructions and winetricks install instructions

Then I successfully installed Ableton Live 10 following these instructions again on winehq site. I started the application by launching the explorer.exe like this:

wine64 explorer.exe

and then locating and double clicking the Ableto ...

Score: 0
user21493190 avatar
Terminal opens neovim instead of vim
mm flag

I use Ubuntu with the zsh shell, and when I try to open vim with the vi or vim command it opens neovim instead. I tried using the original bash shell, but it still didn't work. I tried sudo update-alternatives --config vi but it didn't work either.

Score: 0
User1986 avatar
Unable to draw rectangles to select files on desktop
al flag

22.04.2 lts

When I try to rightclick my desktop this menu comes up: enter image description here

Instead something like this should come up: "New Folder" "Paste" "Select all" "Arrange Icons" "Arrange by" "Show Desktop in files" "Open in terminal" "Desktop icon settings" "Display settings"

Also: I cant draw those rectangles to select files anymore, only in the file manager but not in the desktop.

Score: 2
Nguyễn Hoàng Tuấn avatar
Ubuntu Error: Transaction timeout, failed terminating the transaction, SMbus is busy can't use it
by flag

After run cmd reboot I cannot login to Ubuntu and the system always shows this message.

Transaction timeout
Failed terminating the transaction
SMbus is busy can't use it.

It always shows black screen with the logo.

Score: 1
Rahul avatar
Ubuntu 22.04 Random Crashes
it flag

I need help understanding why my server keeps crashing randomly. I have looked many posts but with my limited knowledge I am unable to figure out the root cause of these crashes.

I am running Ubuntu 22.04 headless with around 60 ish docker containers (Media/Apps/Websites/ etc). I have copied below few commands and outputs from a similar posts. if anything else is needed please let me know. Thank  ...

Score: 0
Raiksler avatar
Ubuntu doesn't see my integrated GPU
xk flag

I build my new pc based on CPU Ryzen 5 5600g. That CPU has integrated GPU - Radeon Vega 7. I also use Ubuntu 22.04 as my main os.

The problem is simple: Ubuntu doesn't see/use that integrated GPU, i see it on benchmarks and on the system information screen. Instead of an integrated video card, some unfamiliar device "llvmpipe (LLVM 9.0.1, 256 bits" is displayed in the status panel.

I tried reinstall ...

Score: 3
Yogesh Yadav avatar
How to create multiple files (with different names) in a specific directory all at once in a Linux terminal
mg flag

My current directory structure

├── index.html
├── src
│   └── App.js
└── README.md

Now, I wanted to create files App.js, Body.js and Footer.js in a new directory named components. So, my final structure will be:

├── index.html
├── src
│   ├── App.js
│   └── components
│       ├── Header.js
│       ├── Body.js
│       └── Footer ...
Score: 0
QuAzI avatar
netplan network accessibility check
mk flag

Is there any way to check connectivity in netplan to check real connection state (is Internet connection alive or not)? As an example, I have a connection through LAN router (default gateway) and fallback through LTE. Of course, link between Ubuntu server and LAN router always available, but, sometimes, LAN router can lose WAN. So, Ubuntu server have to use LTE while routers WAN down. Something like con ...

Score: 0
woelfchen42 avatar
Get all differences from original installation
ca flag

I want to know if there is a valid way to get all manual done modifications to all files of an Ubuntu installation (in my case xubuntu 20.04).

The installation is completely updated and the diffs also should be between my installation and the newest available updates from the Ubuntu repos for this version.

The aim is, because I cannot upgrade to 22.04., to get a list of all configurations I have to  ...

Score: 2
View split on top/bottom in Ubuntu 22.04
cn flag

In Ubuntu 22.04 one can press super+left/right to snap windows to the left/right side of the screen. I want to do the same but with up and down which right now maximaze/umaximaze windows. Is this possible in Ubuntu 22.04?

I found the ShellTile extension for this but it is not compatible with Ubuntu 22.04.

Score: 0
iCode avatar
Blank Screen On Boot on Dual Booting Two Ubuntu Desktop
bd flag

I have a Ubuntu Desktop 16.04 on a partition which I am not allowed upgrading (for reasons out of my control) so I decided to install fresh Ubuntu Desktop 22.04 (5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC) on a separate partition of the same disk (which had previously been used as the swap partition for the initial Ubuntu). The original Ubuntu installation did NOT have a efi partion so I a ...

Score: 0
Iwan1993 avatar
External Monitor black screen if not in Mirror Mode
cn flag

I have a Dell XPS 9750 from 2016 and installed Ubuntu 22.04 LTS on it. I have an external Monitor directly connected to the Laptop (Dell U2518). The external monitor is recognized in settings with correct naming and resolution. But the screen is black (no signal) in the default "Join Displays" mode. When i switch to the "Mirror" mode the external and Laptop Monitor work as expected and show an image. If ...

Score: 1
user2661372 avatar
Ubuntu doesn't go to sleep
ua flag

I am trying to address this issue for a while, but been unable to resolve it. When I put the laptop (ThinkPad P15s Gen1) to sleep mode manually, it will not go to sleep mode, it will try to go to sleep, but wake up in a few seconds (lock screen). I have no idea how to resolve it, other than maybe reformat, which I would prefer not to do. I used to have 20.04, but ended up upgrading to 24.04 hoping it wo ...

Score: 2
Ignacio Thomson avatar
Problem with latest Nvidia 525 driver
fr flag

I've installed the Nvidia driver version 525, recommended by my terminal with the command 'ubuntu-drivers devices' and with the app 'Software & Updates', but after reboot, I'm left with nothing but a black screen. I've tried to access the login screen with Ctrl + Alt + F6, and it works but not after telling me that my GPU isn't properly recognized.

Tried it on Ubuntu 22.04 with Linux kernel 5 ...

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.