Latest Ubuntu related questions

Score: 0
nblack7hass avatar
How to Restore completely deleted Virtualbox Linux.VDI on Linux ? Already restored it but to DD image, don't have a backup
fi flag

so I accidentally deleted the Linux.VDI from my Virtualbox it's a Linux/Ubuntu64 VDI,

I had a success by restoring the file but only to a Linux.dd , I have tried different things to get it back working on my VBox but without any success

Yes I did convert too the dd back to vdi file and tried to add it to Virtualbox but it always shows Error, the Error is usaully i can't add the VDI to Vbox instance  ...

Score: 1
Tms91 avatar
unable to connect to server: connection failed: connection refused is the server running on that host accepting tcp/ip connections?
in flag

I have postgres 13.10 and PGAdmin4 7.1 installed on Ubuntu 22.04

In PGAdmin4 UI, I want to "add new server" with these configurations

name
postgres-local

username
postgres

pw
postgres

hostanme / address
127.0.0.1

port
5432

server group
Servers

so I have run in my terminal

sudo -i -u postgres

psql


ALTER USER postgres WITH PASSWORD 'postgres';

Then I login into PGAdmin4, try to add new server ins ...

Score: 1
Ben Andersen avatar
Is it possible to make a mobile internet connection using a SIM-card in my HP Zbook laptop?
cn flag

I've inserted a twin card with an internet subscription. But I just get "No WWAN-adapter found" when I go into Mobile network settings.

I'm on Ubuntu 22.04.2.

$ mmcli -L
No modems were found
$ sudo lspci
[sudo] lösenord för ben: 
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Contro ...
Score: 0
MABeatty1978 avatar
Raspberry Pi 3 A+ not detecting USB microphone running Ubuntu Server 23.04
gl flag

I hope the title speaks for itself. I've got Ubuntu server version 23.04 on a Raspberry Pi 3 A+. I plug a USB microphone into it and it isn't detected. I'm running arecord -l and it's showing that there are no soundcards found. I understand the A+ doesn't have a sound card, but I was under the impression that it doesn't matter with a USB mic.

Score: 0
G_Hosa_Phat avatar
Using sendmail to send notifications (Fail2Ban) through Postfix relay
nc flag

I'm still pretty much a complete neophyte when it comes to Ubuntu/Linux in general, but I'm familiar with how sending mail via SMTP works in general. So now I currently have two Ubuntu servers running on the same subnet (10.XXX.XXX.XXX/26):

SERVER1

Ubuntu 20.04.6 LTS
10.XXX.XXX.0

SERVER2

Ubuntu 22.04.2 LTS
10.XXX.XXX.1

The Postfix mail server (installed using iRedMail) is installed on SERVER1 and is ...

Score: 0
Alessio avatar
Weird volume sliders on startup
na flag

I'm on Ubuntu 20.04, I have a Razer Barracuda X headset working fine. The usb receiver is always connected, when I start my computer this weird thing displays:

https://i.stack.imgur.com/Q8SNJ.jpg

if I run systemctl --user restart pulseaudio the GUI gets normal. Headset still works fine, but this weird visual bug just tilts me. How can I solve?

EDIT: seems to be solved by following: How to uninstall pip ...

Score: 0
Perpetvvm avatar
PPA conflict, removing a PPA in Xubuntu Jammy causes it to try installing the program again
dj flag

I'm using Xubuntu Jammy and I keep running into problems with "there's not a Jammy release" or something similar. If I understand correctly, it's a problem with a PPA. I don't understand PPAs very well, and I'm having trouble removing an old one and adding a new one so that my various apps install correctly.

When I attempted to remove a problematic PPA using sudo add-apt-repository --remove ppa:P ...

Score: 0
Narges Heidarinejad avatar
Formatting Partitions in ubuntu
es flag

Hi I create 2 primary partitions with fdisk and I know that I have to format them in next step, how can I format them together instead of running mkfs -t ext4 twice?

Score: 0
Jonathan Paul Martin avatar
Fstab entry changes device name
ne flag

Pulling my hair out with this one (although I have learned a lot about maintenance mode!)

I install Lubuntu onto my notebook hard drive, and the partition gets the label /dev/mmcblk0p1.

I add an internal SD card. It gets the label /dev/mmcblk1p1, and is mounted at /home/<userid>/<uuid>.

I can unmount it, and mount it at /mnt. Everything is good.

If I add a line to /etc/fstab to mount the  ...

Score: 0
user1636349 avatar
How do I get write-access to Samba share from guest account without setting permissions to `g+w`?
cn flag

I am using Samba (4.15.13-Ubuntu) running on Ubuntu 20.04 to make my home directory shareable so I can access it from my Windows laptop. I have the same username on Windows, but it only seems to connect if guest access is enabled.

I have the following smb.conf (comments stripped):

[global]
   guest account = myuser
   workgroup = WORKGROUP
   server string = %h server
   dns proxy = no
   hosts den ...
Score: 0
William Atwood avatar
network interfaces not recognized
in flag

I installed Ubuntu 20.04 from DVD to an HP computer. I configured a .yaml file in /etc/netplan to assign static addresses to the two interfaces. On one interface, the green light is on, and the peer machine reports that the interface is up, and carrier is present. The other interface currently has nothing connected to it. However, "ip addr show" reports that both interfaces are down. How can I debug  ...

Score: 0
branchwithlink avatar
How do I install custom (real-time) Linux kernel headers?
am flag

Some background

I've successfully patched a Linux kernel with the PREEMPT_RT patch, configured it, built it, and booted from it. The steps I took:

Patched kernel 5.4.230 with PREEMPT_RT

# Get kernel source
wget https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.230.tar.xz

# Get PREEMPT_RT patch
wget https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-5.4.230-rt80.patch.xz

# Patch the  ...
Score: 0
Pavlos Epsilon avatar
I encrypt HDD during installing Ubuntu , install fails and now I can't install Ubuntu again
tl flag

I press to encrypt Ubuntu hdd during install , somehow install failed . No every time I try to install again installation failed possible because of encryption of the HDD. I tried to decrypt with usb medium with try Ubuntu with no result.

Score: 0
okabe avatar
Citrix : bad rendering on ubuntu 2204
bq flag

I use the Citrix Workplace App version 23.3.0.32 on Ubuntu 2204 LTS with X11 (Wayland isn’t supported) installed from the DEB package. When I open an ica file with it it gives me a screen not properly rendered see here

I have tried to run /opt/Citrix/ICAClient/util/workspacecheck.sh and have installed every package until the script was satisfied that everything necessary is installed.

I then went to

Score: 1
Chris Heath avatar
Character/font rendering in chromium-browser
cn flag

buggy font, correct font, more buggy font

I've been building some single purpose kiosks using Ubuntu server on RaspberyPis (models 3 and 4). It's a minimal build that uses matchbox-window-manager and chromium in kiosk mode.

Prior to 22.04 we had no issues (see 'correct font' link). Building new Pi images from a base 22.04 install I'm encountering these font issues.

My process is pretty simple.  ...

Score: 5
Epical avatar
Moving any window out of Firefox crashes the system
cv flag

Using the latest Firefox (112.0.2 (64-bit (snap) with the latest Ubuntu (23.04). Moving any window out of Firefox (for example a browser tab or any downloads) crashes the desktop. Any idea what causes this?

Score: 0
MSM avatar
Sound Not Working on Ubuntu 22.04 but working in Windows
fr flag
MSM

Here are the outputs to some commands:

aplay -l: aplay: device_list:274: no soundcards found...

lspci -v: 00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)
    DeviceName: Onboard - Other
    Subsystem: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller
    Flags: bus master, fast devsel, latency 0
    Capabilities: <access denied>
  ...
Score: 0
Joaquin Parada avatar
bash: /opt/intel/oneapi/setvars.sh: No such file or directory
gn flag

I recently uninstalled oneAPI and this error appears every time I open the termianl. The same thing happens when i run $ bash on terminal

Score: 0
Docker Desktop: How to make it exit completely?
nl flag

Question: How do I make Docker Desktop and all of its associated processes exit on command?

Context:

I'm running Kubuntu 22.04 and using Docker Desktop for some local development. When I close Docker Desktop I would like it and all of its associated processes to exit. However, some of its associated processes continue to run in the background consuming upwards of 8GB of RAM. (qemu-system-x86_64 consumes 8 ...

Score: 0
Jay Chauhan avatar
How can i whitelist one specific device using udev rule and block everything else?
in flag

I want to whitelist a USB Touch screen and block everything else. I have written hundreds of UDEV rules but none of them seem to work. I can block every single connected USB device but can't find a way to whitelist one single USB i.e the monitor. I have tried to match every single attribute of the USB E.G vendorId, productId, manufacturer, serial no etc. I don't know what i am doing wrong. Below you ca ...

Score: -3
How to install CUDA 11 on Ubuntu 18.04 installed on the Jetson nano
in flag

I'm trying to install CUDA 11 on top of ubuntu 18.04 for arm64 on the Jetson nano. This is what happened :

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/sbsa/cuda-ubuntu1804.pin

sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600

wget http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.2-4 ...
Score: -4
Ovidiu05 avatar
Awful game stuttering on Ubuntu 22.04 LTS and other distros based on this version
sg flag

I've had this issue on multiple games now where the game feels and looks like it's running at 20fps whenever it drops even a bit below 60. Turning off Vsync makes it worse, with the game looking laggy at even above 60fps. I have tested on fresh installs of Ubuntu 22.04, Kubuntu 22.04, KDE Neon, Linux Mint 21.3 (this one being my main distro) and they all have this issue. Ubuntu 22.10 and 23.04 however,  ...

Score: 0
Vadim avatar
"/tmp/geany_run_script_SO5U41.sh: 7: python: not found" - F5 key doesn't execute script in geany
fo flag

I'm using Geany for the first time. I'm trying to run the sample script I've written (please see screenshot 1) by pressing F5 - normally, this should open the terminal and execute the code.

(According to the documentation, F5 'executes the current file in a terminal emulation'.)

However, I get the error:

/tmp/geany_run_script_SO5U4.sh: 7: python: not found

------------------
(program exited with code: ...
Score: 1
poudlardo avatar
Error while using create-react-app
cn flag

During an attempt to install create-react-app on my os (unbuntu 22.04), I got this output from the terminal.

t*****@poudlardo:~$ sudo npm -g install create-react-app
ERROR: npm v9.6.4 is known not to run on Node.js v12.22.9.  This version of npm supports the following node versions: `^14.17.0 || ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/usr/local/lib ...
Score: 0
Tms91 avatar
"Unable to connect to server: connection failed: FATAL: password authentication failed" on brandly installed postgres and PGAdmin4
in flag

I want to create a new server and a new postgres database from the PGAdmin4 UI just-installed on Ubuntu 22.04

I already did this before but I don't remember how did I do id.

The server I created last time had these credentials:

name
postgres-local

username
postgres

pw
postgres

hostanme / address
127.0.0.1

port
5432

server group
Servers

I want to keep these credentials because I have this data ...

Score: -1
zeshanahmed nabin avatar
Unable to launch any app installed using `dpkg -i`
us flag

I am unable to launch any app installed using dpkg -i. I'm using Firefox to download the .deb file. When I install it using:

sudo dpkg -i app_name.deb

I can't run it normally. I need to use:

app_name --no-sandbox

to run the app. I can't open it using GUI or by running app_name in terminal, as normal.

How to fix this?

Here are some details about my system:

PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu ...
Score: 0
pahohu avatar
Modifying the icon of a notification
bg flag

I love my Newaita icons and am a bit unhappy that e.g. the Thunderbird logo is the conventional one in the notifications of new e-mails. Would there be a way to also change the icons in the notifications?

Score: 0
Fred avatar
Questions about swap configuration
ch flag

I'm trying to enable hibernation on Ubuntu 22.04 (following this tutorial) but I'm confused about what my system tells me about the current swap configuration so I'm hesitant to just change it without knowing what I do.

Before we start, some data about my system:

  • ThinkPad T14 Gen 1 AMD
  • Ubuntu 22.04.2 LTS
  • Kernel 5.19.0-41-generic
  • 48 GB of RAM
  • 1 TB of storage
  • full disk encryption (I enabled it in t ...
Score: 0
Can't activate any connection with nmcli: "device is strictly unmanaged"
bd flag

When trying to activate a network connection using nmcli c up Wired\ connection\ 1 I get the message Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).

I don't know what unmanaged nor strictly unmanaged implies. nmcli dev show lists only the lo loopback device. That doesn't really sound right, but what do I kno ...

Score: 0
Andrew Bannerman avatar
Remote access from windows machine to ubuntu by ssh need to see gui
mp flag

I run a local Ubuntu machine. I am on an external network and windows boxes. Typical ssh ports are blocked by the network. Is there a way to ssh via web (some other) to the my home ubuntu box and along with doing that when I login remotely from network windows - can I start apps and see the gui. Looking for some suggestions.

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.