Latest Ubuntu related questions

Score: 2
How do I enable journal_async_commit?
us flag

I'm trying to enable journal_async_commit in fstab file. Here is what the relevant entry looks like:

# /dev/nvme0n1p2
UUID=c4340389-c77d-473e-8867-39b677a49f96   /           ext4        rw,lazytime,data=journal,journal_checksum,journal_async_commit,commit=60    0 1

However, when I run mount command, it doesn't show in the mount options:

mount | grep -i nvme                                                ...
Score: 3
Pinguto avatar
Nautilus disables mouse and keyboard when copying files
pk flag

Since I updated ubuntu to the latest version with "Nautilus 43.0", when copying or moving files, if I keep the popup indicating the progress of the operation open, the keyboard and mouse keys stop working until until I close the nautilus popup.

enter image description here

For example, the screenshot of this question with the popup, I had to take it from another question because while copying some files the "StampRsist" key to take  ...

Score: 0
Manuel Jordan avatar
How to uninstall VirtualBox 7.0.x that was cancelled to install VirtualBox 6.1.x?
kz flag

At Ubuntu Desktop 22.04 was executed:

sudo dpkg -i virtualbox-7.0_7.0.4-154605~Ubuntu~jammy_amd64.deb 

but through the unpacking process was cancelled through ctrl + c. It because is need it the 6.1.40 version instead. Few seconds later was executed

sudo dpkg -i virtualbox-6.1_6.1.40-154048~Ubuntu~jammy_amd64.deb 

and shows

(Reading database ... 200469 files and directories currently installed.)
Prepar ...
Score: 3
Jemtaly avatar
Cannot start gnome-session after enabling Systemd on latest WSL2
gh flag

I'm using Ubuntu 22.04.01 on WSL2 on Windows 11 22H2 with Systemd support. However, though I've followed all the instructions mentioned in this answer, I still can't start gnome-session properly. It only shows an "Oh no! something went wrong!" sign like this.

enter image description here

I checked the logs and saw the following messages, not sure if it is relevant:

misc dxg: dxgk: dxgkio_query_adapter_info: Ioctl failed: -22
mis ...
Score: 0
Port knock from rotating IP addresses
aq flag

I have knockd setup on a public device running Ubuntu 20. It works as expected.

I have a situation where a network I am trying to port knock from is rotating the outgoing IP address. Only Stage 1 appears in the logs, but every attempt has 1 of 4 IP addresses within X.Y.0.0/16. Is there a way around this, maybe configure knockd to use more than one IP in specific situations?

Score: 0
Glaceon Chan avatar
Use Custom DNS for devices connected to hotspot
cx flag

So, I run a WiFi hotspot on my Ubuntu Machine (22.04 LTS). I want to make it so that devices that connect to it will use a custom DNS server. The reason for this is so I don't have to manually configure devices to use the DNS. The hotspot is mainly used for Nintendo DS games to play online after the WFC shutdown, so it should use the following settings to be compatible with the Nintendo DS.

  1. Securi ...

Score: 0
Ivan avatar
Ubuntu hangs on splash screen
pw flag

I wanted to update drivers nvidia (for 610M) I had driver version 390.154, I downloaded driver version 390.157. The driver could not be installed in the terminal, so I switched to console mode (without a shell interface) using sudo systemctl enable multi-user.target

sudo systemctl set-default multi-user.target

after i run the file with this command

sudo ./NVIDIA-Linux-x86_64-390.157.run

after I i ...

Score: 0
Bartolomeu Costantini avatar
How to remove katoolin from Ubuntu 20.04?
dk flag

About the script that installs kali Linux tools in any Linux distro, https://github.com/LionSec/katoolin, I am looking to remove it before updating my system, as the repository recommends.

Before updating your system, please remove all Kali-Linux repositories to avoid any kind of problem .

How can I do it in Ubuntu 20.04? I just found in older versions as 14.

Score: 0
Grant Curell avatar
OpenVPN to SMB mount on Ubuntu extremely slow (10+ seconds to run ls)
ke flag

I'm trying Linux out as my desktop. I routinely use OpenVPN and from Windows this is no problem. The connection over the VPN sits around 1MB/s which is more than enough for the typical document editing I do. I usually mount a share and then open that in Visual Studio Code.

I'm doing the same thing on Ubuntu but the share is extremely slow. Running an ls hangs for seconds before returning, changing direc ...

Score: 0
Raj Dave avatar
USB Ethernet adapter refusing to work on Ubuntu Server
nr flag

OS: Ubuntu Server 20.04.5 LTS
Hardware: A laptop with i7-6500U & 16GB DDR4 1600

So I have this USB ethernet adapter, "VMAX VIA100 USB3.0 to RJ45". It works on every device other than this device. I have no idea what to try anymore

Info:

• Doing the lsusb command -

Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

(The adapter is clearly detected)

 ...

Score: 1
Dollso avatar
X11 display server protocol configured
za flag

I have installed a clean version of  Ubuntu 22.04 LTS, updated everything then installed VMware Horizon 8 Client for Linux 64-bit.

When I launch the client I get the following error:

the display server protocol you are using is not supported. recommend to log in with x11 display server protocol configured.

Can anyone point me to instructions on how to configure X11 display server protocol?

Score: 0
Boblet67 avatar
"the public key is not available ..." error upon running sudo apt upgrade after installing Wine
hm flag

When I run sudo apt upgrade, I get a load of errors than I can't fix:

Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]     
Hit:3 https://repo.steampowered.com/steam stable InRelease                     
Get:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]       
Err:4 https://dl.winehq.org/wine-builds/ ...
Score: 0
Jim avatar
Why does Ubuntu on Virtual Box not recognize my existing os system?
nf flag
Jim

When I go to download Ubuntu in Virtual Box the system says "This computer currently has no detected operating system. What would you like to do?" This is on the 5th step of the install. The options are then to erase the entire disk or literally something else. How do I fix this?

Score: 2
Tim50001 avatar
Bash Equivalency Struggles
ai flag

Where am I going wrong in this Bash?

declare current_state=`pacmd list-sources | sed -n 19p`
declare my_target='used by: 0'
echo $current_state = $my_target
if [ '$current_state' = '$my_target' ] ; then
    echo true
    pacmd set-default-sink "alsa_output.pci-0000_0c_00.4.analog-stereo"
    echo true
else
    echo false
    pacmd set-default-sink "alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra2"
  ...
Score: 1
macky avatar
Ubuntu on WSL started defaulting to root user
et flag

Yesterday, all was well. This afternoon I restarted my computer after some file downloads from my class bogged down my laptop. Upon restarting and opening Ubuntu, it defaulted to root@<mysystem>:~#. I can su <username> but it then defaults that user to the /root directory. Even under that user, commands like explorer.exe and code . to open VSCode do not work.

I am running Ubuntu on WSL 1 ...

Score: 0
Ryley38 avatar
What driver should I use on ubuntu 22.04 for RTX 3060?
nr flag

I have set my PC on dual boot: windows 11 and ubuntu 22.04. I obsverved that my PC got really hot when using ubuntu. I suspected the selected pilote for my RTX3060 to be the reason of that despite the fact it is the recommanded one. However, when I change the pilote, the heat decrease. So how I am supposed to know what driver I should use? And does the fact I change from ubuntu to windows 11 may cause d ...

Score: 1
Trevor K Smith avatar
PSI Full IO / PSI some IO meaning in htop
ng flag

htop screenshot

In the above screenshot, i examine a large white bar in the CPU Avg chart. Additional, i see PSI full IO/PSI some IO quite large. I assume the white bar is IO wait of some sort.

What exactly does PSI full IO mean? How should i interpret it? How can i find what processes are causing PSI full IO? Is 50% of full IO too large?

Any and all information helpful.

The only related info i could find is htt ...

Score: 0
Alejandro avatar
Set priority for bluetooth interface
mz flag

I just migrated from Windows to Ubuntu as my main OS. I own a bluetooth dongle which I use for connecting my wireless headphones to my computer. The thing is, my PC does NOT have integrated bluetooth, which is no problem since I use the dongle, on Windows I just had to plug it in and pair whatever device I wanted; when using Ubuntu for any reason it shows hci1 and is scanning for nearby devices as if ...

Score: 0
kurttpinrodcom avatar
Display Arrangement Lost After Suspend/Restart
mc flag

Just upgraded to 22.04.1 LTS from 20.04. Running on a Dell Latitude E7450 with 16 Gig of ram and a 2 Tb SSD (if those specs make a difference!). When I suspend or reboot, the system seems to forget the screen arrangement (under Settings > Displays - My particular arrangement is screen 2, then 3 then 1 with 2 being the primary). 20.04 would occasionally forget one of the monitors (usually 2) and not d ...

Score: 2
Mystical Devotion avatar
Windows doesn't boot anymore "missing operating system"
ne flag

Hi I used Unetbootin because I had no USB stick left and wanted to install ubuntu so I chose the hard disk option on unetbootin. It only gave me the option to do it on the windows drive so I did.

  1. restarted my pc
  2. got into windows boot manager with 2 options (unetbootin gave me error code 0x000007b) at this stage choosing windows still got me into windows.
  3. Didn't care since I never wanted to dual boot i ...
Score: 0
Naz avatar
HP G8 RYZEN 3 5300 Laptop with Ubuntu 22.04 Reboot after wakes up from suspend
je flag
Naz

I got Hp G8 255 laptop with Ryzen 3 5300 installed ubuntu 22.04. when we waking up from suspend it works without any issue but sometime it reboot it happens all the time. sometimes it reboot as soon it wakes up sometimes it takes 20min-2hours when i wakes up from suspend I know any moment this gonna be reboot. it working and suddenly get reboots. this happens after suspend session. after reboot it runs  ...

Score: 1
Einstein avatar
Problems installing Ubuntu on imac
is flag

I want to run Ubuntu on an old imac 7.1. I used my Windows-PC with balena-Etcher to flash a hdd and I put it in the imac. I get this error message:

"the efi file system creation in partition failed"

As I boot from a hard drive, I cannot change the usb port, as suggested in other posts. Waht should I do now?

Score: 0
S. N. avatar
Launching certain command/script when connecting to Linux desktop via RDP
cn flag

I need certain Bash command and Bash script to be executed automatically when the X-server is starting (the OS is Lubuntu 20.04). The problem stems from the fact I never sit at this computer, but log-in to it via XRDP in stead. This Archlinux article recommends to include the commands/scripts to be executed when initiating X-server via XRDP into one of the following files (in order of preference): ...

Score: 0
Dmitrii Marșalov avatar
How to allocate more disk space for Ubuntu on a double-boot
by flag

I had Windows 10 and then installed Ubuntu on the same drive. Now i realise that the space i allocated for Ubuntu is not enough and now i want to add more space for it. Everything what i've found doesn't work for me. What can i do?

GParted screenshot:

enter image description here

Score: 0
nik tomas avatar
Unstable wifi-connection on Ubuntu 22.10
tj flag

My connection to Wi-Fi is very unstable, it keeps dropping every 5 minutes or so. I have a freshly installed Ubuntu 22.10, I have no idea why it does not work out of the box.

lspci/dmesg output seems fine:

girvel@girvel-pc ~ % lspci -vv -s 04:00.0
04:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
        Subsystem: Intel Corporation Dual Band Wireless-AC ...
Score: 0
user255136 avatar
"Ubuntu Software" remove Firefox bug?
in flag

I use Ubuntu 22.10. If I open Ubuntu Software (the icon with a orange suitcase with a white A) I can search for software. If I find something when I search: I either see a green button with the word "Install" if it's uninstalled, or a red bin if it's installed. If I search for Firefox I got a list of results. One of the results are the Firefox browser and it's marked as installed. If I click on "Firefox ...

Score: 0
Jerin avatar
I am not able to open my installed applications like vscode, rocketchat in Ubuntu 22.04.1 LTS
ai flag

Some of my installed software is not opening, I reinstalled the software but still not opening. I can only run the chrome browser. It happened when I was trying to fix the docker.

I used these commands to fix but it did not work

sudo apt update && sudo apt -y upgrade
sudo apt update


Score: 0
Andrea avatar
PCManFM - Thumbnailer working for .kra files but not .ora
tz flag

I have the following thumbnailer to create thumbnails for .ora files under /usr/share/thumbnailers/ora.thumbnailer

[Thumbnailer Entry]
TryExec=unzip
Exec=sh -c "unzip -p %i Thumbnails/thumbnail.png > %o"
MimeType=image/openraster

I tested the script and it works fine to extrapolate the thumbnail in the shell.

When I open a folder with an .ora file in PCManFM, however, the thumbnail is not cre ...

Score: -1
ᅙᄉᅙ avatar
Is there a single metapackage corresponding to an Ubuntu flavour?
gb flag

Like the title says, I am looking for a single metapackage that depends on everything else needed for a functioning installation of an Ubuntu flavour like Ubuntu GNOME, Kubuntu, or Ubuntu Server.

This is so that I can mark it as manually installed, mark everything else automatically installed, and get rid of unneded packages (using apt autopurge) that have accumulated over the years.

Update: Rewor ...

Score: 0
Thomas Schätzing avatar
magic file capable of detecting file types
gq flag

how to make a magic file called ft_magic that will be formatted appropriately to detect files of 42 file type, built with a "42" string at the 42nd byte.

i tried to make a ft_magic file using file -C -m ft_magic then file -m ft_magic

then i get this :

Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e ] [-F ] [-f ] [-m ] [-P <parameter=value>] ... fi ...

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.