Latest Ubuntu related questions

Score: 0
silverbullet069 avatar
Ubuntu VirtualBox window "multiply" after being dragged
ws flag

I'm looking for a way to increase performance in Ubuntu VirtualBox. After googling about 20 pages, some say enable "3D Acceleration" along with VMSVGA.

This is my monitor after enabled it. I tried to drag a terminal window by mouse:

enter image description here

I'm using VirtualBox Version 7.0.6 r155176 (Qt5.15.2) and Ubuntu 22.04.

P/s: I noticed that if I move the VirtualBox window (i repeat, the VirtualBox window) to my ma ...

Score: 0
user1689584 avatar
Ubuntu-XRDP has broken text
je flag

I initiated an XRDP session with WSL2. The GUI lookst like this

All of the text is broken. Does anyone know why it's like this, and how I can fix it?

Score: 0
KA7 avatar
Network settings
il flag
KA7

I have a problem. When I type ifconfig I only get lo, no trace for ens33.

How can I manage this please ? Thanks.

ps: I put the network adapter into Bridge mode

Score: 0
KneadToKnow avatar
Peculiar remote desktop problem after 22.04 LTS upgrade
us flag

Finally got around to upgrading a second computer on my home network to Ubuntu 22.04 LTS, and for the most part the upgrade went well (I had the apparently not-uncommon usrmerge problem, which I worked around by uninstalling usrmerge then reinstalling it), but after I was done ironing out the obvious wrinkles, I discovered a couple of very unusual problems related to remote desktop/remote control. ...

Score: 0
Michael M avatar
Ubuntu 22.04 hotspot and Pi-hole, Issue with dnsmasq
sn flag

I have an issue with the hotspot on my little server:

System Overview

The hotspot is configured and I think it's ready to work, only the DHCP is missing. dnsmasq is not starting:

    dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
     Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2023-04-18 15:32:15 CEST; 2 ...
Score: 0
Igor-Potapov avatar
Remove record from route table
cn flag

I use Ubuntu 22.04. I connect to VPN using L2TP IPSEC. I connect successfully but without the internet. I run the command route -n to see route table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     50     0        0 ppp0
0.0.0.0         192.168.43.1    0.0.0.0         UG    600    0        0 wlp0s2 ...
Score: 0
velmurugan A avatar
Couldn't open intellij as sudo user It shows error: XDG_RUNTIME_DIR not set in the environment
co flag

When I try to open intellij as sudo user,

Command : sudo intellij-idea-community

Result: CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true error: XDG_RUNTIME_DIR not set in the environment.

When I run echo $XDG_RUNTIME_DIR , it returns data like /run/user/1001 . Why it shows not set in the env during intellij open via sudo user ? Kindly help me ...

Score: 0
John Allsup avatar
Command not found handler
ch flag

Apologies if this has been asked before, but it's basically impossible to search for.

When I type e.g. wibble at the bash prompt, it prints

Command 'wibble' not found, did you mean:
  command 'wobble' from deb emboss (6.6.0+dfsg-11ubuntu1)
Try: sudo apt install <deb name>

Now what I'd like to know is where is this handler and can I replace it with my own script. For example if I were to paste a  ...

Score: 2
hefteng avatar
dpkg error from /etc/default/grub when upgrading
be flag

I have a 22.04.2 version of Jammy Jellyfish installed on my machine. When I attempt to do an update and upgrade, I am getting the following error. Do any of you, by any chance, know what might have caused this and suggest how to fix it? Many Thanks

Processing triggers for linux-image-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating / ...
Score: 0
Gergely M avatar
auto-rename format
cn flag

I'm wondering if the was a way to change the format used for auto-renaming files in case the file name exists already.

The current format is:

file.txt
file (1).txt
file (2).txt
...
file (999).txt

I find this very ugly, the brackets make regex uglier, and the added whitespace breaks my file naming style.

I would like to change this to a much handier (for me) format something like:

file.txt
file_1.txt
fi ...
Score: 1
Joe Slow Poke Rodriguez Aceved avatar
Apache2 won't run: error message-system/not/booted/(PID1)= error messaged shortened

I tried running apt-get install apache2, and I'm up to date. I ran the different variations of sudo sytemctl enable --apache2.service and I get the message:

System has not been booted with system as init system (PID1).
Can't operate. Failed to connect to bus: Host is down

Any help with this issue?

I tried the wsl --terminate, and it did not work either.

Score: 0
Stefanos Kanellopoulos avatar
USB-C to HDMI adaptor does not work for my second external monitor on Ubuntu 20.04 (Razer Blade Laptop)
bj flag

I spent the whole day trying to make my second external monitor work for my laptop (Razer Blade 14 - Full HD 144Hz - GeForce RTX 3060 - Black - Link). My primary monitor is connected via HDMI (and worked out of the box from the beginning) and I've been trying to connect the second monitor via a Type-C to HDMI cable (link for the cable). The thing is that this configuration works for the same laptop when ...

Score: -1
Natan avatar
virtualbox: How do I fix NS_ERROR_FAILURE (0X80004005)
ru flag

I am trying to start a windows oracle virtual box, but while the VM powers up, I get this error:

VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).
Result Code:
NS_ERROR_FAILURE (0X80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

I tried this, but it didn't change anything: virtualbox NS_ERROR_FAILURE (0x80004005) There was no ...

Score: 1
Virumyu avatar
How to replace notification sounds in Simplescreenrecorder
ma flag

I have been recording with simplescreenrecorder for a long time and rarely had any issues, but every once in a while, h264_nvenc spits out an error and stops recording. It’s not a huge deal, I just click record again and continue where I left off, but it is a problem when I don’t hear the notification sound. Problem is, the notification sound is quite gentle. I want to replace it with something ...

Score: 0
u2dragon avatar
libkrb5-dev install on databricks sometimes works, other times not
cy flag

I’m facing issues when I try to install libkrb5-dev on databricks. Sometimes I can do the installation other times I get 404 Not Found [IP: 185.125.190.39 80] error.

apt-get update, clean etc. won’t help. For me it looks like the error occurs randomly so I believe the problem is either connected to networking or to the ubuntu repository. (link to the focal-updates that are connected to the pro ...

Score: 0
How can I report a bug about `nautilus` conveniently
br flag

How can I report a bug about nautilus conveniently (without creating an account or signing in). If you want to know about bugs you want to make it convenient right?

Here is a description of the bug...

link to an askubunut.com question

Score: 0
Ubuntu User avatar
Passwordless login in Ubuntu 23.04
cd flag

I created my public key and successfully transformed it to my remote computer, but it still asks password while trying to connect it with SSH. It worked fine on the previous version of Ubuntu 21.04 or later but not on 23.04 or 22.10.

Thank you.

Score: 0
momoko avatar
Desktop Entry doesn't do anything
lu flag

I'm trying to create a desktop entry for an app. Here's what I've tried:

  1. I created a .desktop file with the code:
    [Desktop Entry]
    Name=clash for windows
    Icon=/home/nadeko/Documents/Clash/Clash.png
    Exec=/home/nadeko/Documents/Clash/cfw
    Type=Application

I got both the location for Icon and Exec by right clicking and "copy" on the original file

This .desktop file is placed in " ...

Score: 1
Dark Patate avatar
How to have text path by defalut for open windows?
cn flag

I found the path with button really unconvenient, I would prefer something that can change dynamically, like in Windows. It seems it is not possible, so I changed it to fully text path with the command:

gsettings set org.gnome.nautilus.preferences always-use-location-entry true

However, this does not apply to the Open Folder or Open File windows. How to make the change apply here too?

Score: 0
Ssd avatar
Error running MiKTex in Ubuntu 22
sg flag
Ssd

I have a newly installed Ubuntu 22.04 in my system. I installed the 'texlive-full' for MiKTeX. I even installed TeXMaker and added the path in there /home/usr/bin. But I still get this error message when I run any .tex file.

Screenshot

How do I resolve this issue?

Score: 1
xXMASTER_UBUNTU_HACKERXx avatar
Mic is not working when connected to SB Audigy 1550 RX sound card
er flag

My mic is not working on Ubuntu 22.04 when connected to a SB Audigy 1550 RX sound card. I've checked alsamixer but I have no clue what these volume bars mean. I have tried turning up the "Amic" but that didnt do anything.

Alsamixer screenshot

I've selected the sound card in settings to applications like discord but still nothing happens.

One thing that does work is plugging my mic to the motherboard panel in the bac ...

Score: 3
UbuntuUser avatar
How can I force Ubuntu 22.04 SERVER to use ONLY the DNS servers listed in /etc/systemd/resolved.conf (NOT my router's DNS) AND use DNS-over-TLS?
fk flag

I have added these lines to /etc/systemd/resolved.conf in a Ubuntu 22.04 SERVER install with NO DESKTOP - I emphasize that because I can't use the normal desktop method of setting network options in Ubuntu:

DNS=9.9.9.9 149.112.112.112 1.1.1.1 1.0.0.1
DNSOverTLS=yes

This works fine EXCEPT that all connections are supposed to be going through a VPN tunnel which is identified as tun0. So with the above  ...

Score: 1
Kofiko avatar
ubuntu--vg-ubuntu--lv and vgdisplay give different sizes for different commands
mr flag

Even though the disk size is 221.57 GiB and there is no unallocated disk space and /dev/mapper/ubuntu--vg-ubuntu--lv gives only 98G where did the rest go?

output of: fdisk -l /dev/sda

Disk /dev/sda: 223.58 GiB, 240065183744 bytes, 468877312 sectors
Disk model: SanDisk SSD PLUS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 51 ...
Score: -1
bgood avatar
Performance mode isn't available with a Threadripper 3970x?
et flag

I'm using Ubuntu 22.04. Why isn't performance mode displayed? I have a Threadripper 3970x. Is this hardware not compatible?

setting

Score: -1
Greg KD1XI avatar
The WSJT-X package for Ubuntu 22.10 is out date and does not work. How to get the Ubuntu 22.04 package which works
cf flag

I have tried the Raspberry PI image for Ubuntu 20.10. It works well. But, I use my Raspberry PI 400 to control my WSPR mode radio equipment, which needs the wsjtx software. I tried to install the repository package for wjstx. The repository package used is wjstx-2.6.0-rc1. This is the release candidate for version 2.6.0 and stopped working after November 2022. The installation works, but, software  ...

Score: 0
K. Prentice avatar
gvc_mixer_card_get_index: assertion errors filling up the syslog
us flag

I'm on a bare-bones, minimum install of Ubuntu 22.04.02 LTS, 64-bit, on a pretty limited machine. With this minimum install, the syslog is filling up with error messages:

gnome-shell[4500]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
gnome-shell[4500]: message repeated 277 times [ gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed]
gsd-media-keys[4627]: ...
Score: 5
Thalles avatar
How to add double quotes around string and number pattern?
in flag

Hi I need to add double quotes in a pattern in 300k lines. I'm trying to use sed and I read multiple inquiries here and other sources, but I can't seem to understand its syntax.

I have:

chr1    StringTie       exon    191964  192299  1000    -       .       gene_id MSTRG.201; transcript_id MSTRG.201.53; exon_number 2;
chrY    StringTie       exon    26420508        26420531        1000    +       .    ...
Score: 0
llesh avatar
How to setup static IP with wireless interface and netplan on ubuntu 22.04?
au flag

I am trying to setup a static ip for a ubuntu server 22.04 instance on a laptop. I though I am going to do that by modifying netplan configuration.

IP of router is 192.168.80.32 netplan config file is 00-installer-config

network:
  version: 2
  renderer: networkd
  wifis:
    wlp3s0:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.80.222/24]
      nameservers:
        addresses: [192.168.80. ...
Score: 1
user357693 avatar
Archives directory /var/cache/apt/archives/partial is missing
mg flag

I am trying to install a python version on linux. But I am getting the following error:

Archives directory /var/cache/apt/archives/partial is missing

I have tried to create the file by :

mkdir -p /var/cache/apt/archives/partial

But i am getting the following:

mkdir: cannot create directory ‘/var/cache/apt’: File exists

Edit:

ls -l /var/cache/apt
lrwxrwxrwx 1 root root 32 Apr 17 20:00 /var/cache/apt ...
Score: 0
Will Liao avatar
Access nodeport service on microk8s on multipass vm on a ubuntu machine from other machines on the same LAN
ru flag

I set up 3 multipass vms on a local ubuntu machine on my home LAN, created a microk8s cluster with those vms.

If I run a web app on ubuntu (no vm, no k8s) then I can access the web app from my Windows laptop.

I want to access the web app (nodeport service) running on microk8s on those vms but it seems not a simple job.

Can I get a step by step instruction for the configuration?

Thanks in advance.

 ...

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.