Latest Ubuntu related questions

Score: 0
SB-A avatar
How to set up a 1920x1080 Custom Screen Resolution on a 14" screen laptop with Mesa Intel® HD Graphics 5500 (BDW GT2)
et flag

I am using a Lenovo 14" screen laptop with Mesa Intel® HD Graphics 5500 (BDW GT2) inbuilt, and running on Ubuntu 22.04.1 LTS 64-bit.

maximum screen resolution i see is 1366x768 (16:9), Is my computer compatible for a resolution of 1920x1080 ? If yes, how can i set a custom resolution? I need a bit of screen space to open multiple apps... i tried several techniques listed on the internet, nothin ...

Score: 0
3088 K avatar
grub version and kernel version also are autonomously upgraded when ubuntu version is upgraded?
au flag

Upgrading the ubuntu version has many challenges. I want to know whether kernel and grub versions are autonomously upgraded when upgrading the ubuntu version, ignoring those upgrade difficulties.

ubuntu uprade Examples :

16.04 -> 18.04

18.04 -> 20.04

16.04 -> 18.04 -> 20.04

Score: 0
Bhavesh Neekhra avatar
How do I view the history of at commands executed? Can I view the outputs of those commands as well?
de flag

The at commands accepts commands to be executed at a later time. I want to know if there is a way to know the history of what commands were executed by at. Also, would it be possible to get the outputs of those commands?

Score: 0
Mohsen Sepandar avatar
How to dual boot pop os and ubuntu?
dz flag

I had ubuntu linux on my system and wanted to install Pop os alongside ubuntu. Then I installed pop os and set the same boot partition that I had set for ubuntu in order to dual boot them. But now my system doesn't go to the grub menu to select my desired OS and automatically boot my new pop os. I ran these commands to update grub but it didn't work:

os-prober
update-grub
 

What should I do now? Thenk ...

Score: 2
Sting avatar
Can't upload files from google chrome
cn flag

I am trying to upload files from google chrome on Ubuntu 22.04, the upload button is not clickable when trying to upload anything.

Score: 2
RSafe avatar
Huawei MateBook D 16 with Ubuntu 22.04 wakes up from suspend improperly
tk flag

I bought a Huawei MateBook D 16 laptop. It is shipped with Windows 11 from the vendor and worked as expected. After installing Ubuntu 22.04 and all the latest updates I'm experiencing an issue. It doesn't wake up properly when I'm closing and opening the lid. I log in to my workspace and can do nothing. If Chrome browser was open, it doesn't respond and disappear on my actions. Ubuntu menu doesn't show  ...

Score: 1
Masoud Borbor avatar
syslog very large, full of "Object St.DrawingArea has been already disposed error
pl flag

I found my root partition quickly (lets say daily, even hourly) full. took a look at the syslog and it was 18GB in size. took a look inside and it was full of two errors, one related to a specific Gnome extension (boom! disabled that, and wrote a comment on its github page) and the second:

Object St.DrawingArea (0x55f7cc178c40), has been already disposed — impossible to access it. This might be cau ...

Score: 0
Victor avatar
libz.so.1: wrong ELF class: ELFCLASS32 - Need to install the 64 bit package for zlib
mm flag

I am getting this error when compiling:

libz.so.1: wrong ELF class: ELFCLASS32

From what I read online this happens when a directory which the script is calling is 32 bit and the script is looking for 64 bit library file.

So, I need to install a 64 bit package zlib.

The Ubuntu version is below:

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=18.04

DISTRIB_CODENAME=bionic

DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LT ...
Score: 0
Marcus E avatar
how to override configuration for .net apps
tg flag

I am trying to manage configurations for some solutions(.sln) especially their appsettings.json files which contain hardcoded IP's. Reason for this is not to get worried if any IP's change. One solution to go about this is to use DNS to which the IP addresses in appsettings.json file are mapped. My issue: I am looking for other ways to override the configurations.

Score: 0
Xenon avatar
Bind server does not start after adding logging in config file
sx flag

I want to enable query logging permanently and I added these lines to end of my /etc/bind/named.conf.options file

logging {
        channel querylog {
                file "/var/log/querylog";
                severity debug 3;
        };
};

and my file before adding logging section was as below and OK:

options {
        directory "/var/cache/bind";

        // If there is a firewall between you and name ...
Score: 0
kamal  avatar
Delete, down keys not working
kz flag

Delete key and down arrow key are not working. Down arrow key disables/enables touchpad and delete key seems to do nothing. This seems to be happening since the last software update. I had tried restarting the computer but it does'nt fix it. I'm using Ubuntu 22.04, on Lenovo Ideapad 3 laptop,AMD 3020e 1.2Ghz. How to fix this? Pls help..

Score: 2
jester011 avatar
Switching from pulseaudio to pipewire deletes my GUI
si flag

I was using the following link as a reference to switch over from pulseaudio to pipewire. https://gist.github.com/the-spyke/2de98b22ff4f978ebf0650c90e82027e?permalink_comment_id=3976215

The reason I was looking to switch over is that I've been experiencing all kinds of problems with my bluetooth headsets and I read that pipewire resolved a lot of the issues with bluetooth.

sudo apt install \
  libsp ...
Score: 0
lilsolar avatar
pygame won't compile on ubuntu device but complies on windows (ubuntu 22.04)
qa flag

Currently running Ubuntu 22.04.1 LTS x86_64. When running code that utilizes pygame on mu editor & other code editors, I get this error.

pygame 2.1.2 (SDL 2.0.16, Python 3.8.12)
Hello from the pygame community. https://www.pygame.org/contribute.html
[xcb] Extra reply data still left in queue
[xcb] This is most likely caused by a broken X extension library
[xcb] Aborting, sorry about that.
pytho ...
Score: 0
200_success avatar
How to identify packages that are installed solely due to Suggests
kw flag

I'm trying to identify packages that are installed solely due to a Suggests-type dependency. As a start, I've tried using an aptitude search to identify all automatically installed packages that are suggested by some other package:

aptitude search '?for a: ?suggests(?a:automatic)'

But that includes packages that are installed due to Depends- and Recommends-type dependencies, which I want to exclude fro ...

Score: 11
Ya Y avatar
Is there an alternative of WSL for Ubuntu?
ug flag

Windows now has a subsystem for Linux, where you can try different distros as an application. With no virtual machine needed. Is there something like that on Linux?

Score: 2
Ηλεκτρολόγος Μηχανικός avatar
Uninstall STM32CubeIDE

I downloaded and installed an older version of STM32CubeIde from this site a while ago. It is a dot DEB file version 1.5. How do I completely remove this software? Ubuntu 20.04 is the OS used. Ubuntu Software doesn't show the installed software. Actually, my Ubuntu Software doesn't show any installed software. Thank you very much for your help.

enter image description here

Score: 0
Noobinization avatar
Unable setup VLAN mirror on vf port with NIC Intel X710
cn flag

I want to create another vf port to mirror traffic of 2 vlans.

The steps I followed:

echo 3 > /sys/class/net/eno1/device/sriov_numvfs
ip link set eno1 vf 0 mac 00:11:22:33:44:66 vlan 2
ip link set eno1 vf 1 mac 00:11:22:33:44:66 vlan 3
ip link set eno1 vf 0 mac 00:11:22:33:44:26

ls /sys/class/net/eno1/device/virtfn2/net/
# eno1v2

echo add 2,3 > /sys/class/net/eno1/device/sriov/2/vlan_mirror
 ...
Score: 2
GooseDeveloper avatar
Always use default fonts in Chromium
cn flag

In Firefox, there is an option to Allow sites to choose their own fonts, which, when disabled, always uses the default fonts. Does this preference have an equivilant in Chromium?

PS: I'm using ungoogled-chromium

EDIT: To clarify, I'd like to disable custom fonts, so every page uses the default monospace/serif/sans-serif fonts

Score: 0
Cserés Szabolcs avatar
bind9 service do not starts
ck flag

I have configured bind9. Only the named.conf.options file. I wanted to sudo sytemctl start named.service. It was not working. This is the output I get. I have already tried to search for the solution in many places. Any idea?

named.service - BIND Domain Name Server
     Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
     Active: activating (start) since Wed 2022 ...
Score: 0
Main avatar
Ubuntu on mac: No display after crash
am flag

I've been using the 2019 mac pro running Ubuntu for about 6 month with no problems what so ever (I know this sounds unbelievable but i really did). Crashed a maybe 3 times in total, but this 4th time it didn't just boot up like normal afterwards... It still boots and is usable on tty2 etc. but i can't start the display manager any more (enter image description here) :(
Help would greatly be apprec ...

Score: 0
M.Ozawa avatar
Why used memory is high with XFS filesystem
bf flag

In my ubuntu 20.04 VM, XFS is used instead of ZFS, and swap is disabled In below case, used memory is high, but I can not get clue from the result of df -hl -t"tmpfs" and ls -ahl /dev/shm/ command according to High memory usage that cannot be traced to a service or application.

root@host# free -m
              total        used        free      shared  buff/cache   available
Mem:          80445       55 ...
Score: 0
AnxiousDino avatar
Allow multiple users to be logged-in on the same account using XDMCP and display-managers in Ubuntu 22.04
fo flag

I have read somewhere that Lightdm doesn’t support multiple users to be logged in at the same time, and that can I confirm, because when I’m trying to login on an already logged on machine, it fails.

So I’m just looking for references to create multiple remote logins from different ip’s on one device.

Simple case = How can I allow multiple people to use the same machine at the same time?

Score: 1
UBUNTU-NOOB  avatar
Trying to route proxy connection through squid and then anonsurf
bw flag

I am trying to route my proxy connection from squid through anonsurf on Ubuntu 18.04 LTS . It does not work when I enable anonsurf anymore. (I have squid and anonsurf both running on my Ubuntu 18.04 server)

I followed these tutorials -

https://www.digitalocean.com/community/tutorials/how-to-set-up-squid-proxy-on-ubuntu-20-04

Some issues with Anonsurf and Tor on 18.04 LTS

The proxy server does not let ...

Score: 0
Steven Starkes avatar
How to set up Livepatch on Ubuntu One?
ht flag

I'm an old unix fellow that cannot get "Ubuntu One" to work from my Linux laptop. I'm hoping to get past that in order to use "LivePatch".

Score: 0
Serghei Leonenco avatar
How to fix GRUB2 on Kubuntu22.04 - Ubuntu 22.04
cn flag

I'm trying to fix my computer. Boot-repair does not help me.

fdisk -l

does not show my SSD, only Windows SSD; But i can access it with live usb. My Grub folder on Kubuntu SSD for some reason is empty.

Please help me repair my grab. Here is the dump from boot-reapir: https://paste.ubuntu.com/p/7ZdFFG8XbC/

============================== Boot Info Summary ===============================

 => No boot  ...
Score: 1
Findus avatar
Ubuntu Rider Process finished with exit code 139
kw flag

I wanted to execute a simple Hello World command in c# in my jetbrains rider environment, to test if it works, and I got this error: Process finished with exit code 139. What can I do to solve this for my case? I have not seen similar cases, only for python and other issues.

rider hello world finished with exit code 139

Score: 3
FedKad avatar
How to list software already installed through apt, but no longer in the apt reposity sources list
cn flag

Assume that, by using apt I installed Microsoft Edge to the system after adding a source for it and then after the installation I (accidentally) removed the "apt / sources.list" file that I had added. For example:

# echo 'deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main' \
    > /etc/apt/sources.list.d/microsoft-edge.list
# apt install microsoft-edge-stable
# rm /etc/apt/sources. ...
Score: 1
BunchOfAtoms avatar
"Temporary failure in name resolution" after upgrading 22.04 to 22.10
so flag

After upgrading my KVM VPSes to 22.10 they can no longer resolve addresses. Same issue on all the servers hosted on the same provider (I used their image to install 22.04). I had other 22.04 instances (hosted on another provider) that I upgraded at the same time to version 22.10 and they don't show this problem.

$ sudo ping google.com
ping: google.com: Temporary failure in name resolution
$ resolvectl 
 ...
Score: 0
feder avatar
Fail to login with Ubuntu One to Ubuntu Core 22
de flag

I fail to connect from a WSL2 default Ubuntu installation to a RPi Ubuntu Core 22 20220610.2. Download Link (and also from any other ubuntu version). It keeps asking me for a password. What password should that be?

john@LAPTOP-LUVS8UFH:~$ ssh john987456@192.168.1.134
The authenticity of host '192.168.1.134 (192.168.1.134)' can't be established.
ED25519 key fingerprint is SHA256:mMZ72EXUnB3s6fD747EG7 ...
Score: 0
00placek avatar
Cannot correctly remove Lazarus, error exit status 2
pw flag

I've tried to install Lazarus, but to no avail, so i tried to remove it.

 installed lazarus-src-2.2 package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping (<-- translated PL to EN)
Errors were encountered while processing:
 lazarus-src-2.2
Processing has been stopped due to a occurance of too many errors (<-- translated PL to EN)
E: Sub-process /usr/b ...

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.