Latest Ubuntu related questions

Score: 2
hamagust avatar
Which is the correct way to use two swapfiles in different devices?
cn flag

I am running a python code on jupyter lab which deals with a large list of dataframes and I need to concatenate, compute averages, etc. It is memory consuming, and I take advantage of swapfiles, as memory size is not sufficient.

The problem I am observing is it crashes when memory usage reaches the end of the first swap file.

It appears I am missing something here... I found references, using two sw ...

Score: 0
noah healy avatar
After replacing the charging port on a pavilion laptop I'm getting system freezes and orphaned inodes showing up during reboot
fm flag

The time to failure is highly variable with the longest operating run being ~13 hours fsck never reports any problems and shutting down before a freeze happens produces a clean restart with no orphaned inodes in the startup sequence. one recovery check of the file system (esc f2 during boot) showed 1 damaged file but I can't get that to replicate. smartctl output to follow:

smartctl 7.2 2020-12-30  ...
Score: 0
Dyn amo avatar
How can you simulate a temporary network outage of a VM lasting a few minutes without systematically losing it?
wf flag

How can you simulate a temporary network outage of a VM lasting a few minutes without systematically losing it?

I've tried this command on my VM for testing purposes, but each time it's run, my VM can't be reached and needs to be rebooted.

sudo ip link set eth0 down && sleep 600 && sudo ip link set eth0 up

If anyone has any ideas, thank you in advance.

Score: 0
user2 avatar
ros2: command not found
se flag

I'm trying to run ros2 iron irwini on Ubuntu 22.04.1 by using the ros2 documentation guide for ubuntu. I source the setup file like this: . ~/ros2_iron/install/local_setup.bash and then run a test program ros2 run demo_nodes_cpp talker. I keep getting ros2: command not found as a result. I have tried reinstalling ros2, and change local_setup.bash to local_setup.sh and local_setup.zsh but to no avail. Does ...

Score: 0
triatic avatar
Specifying systemd-networkd options via netplan
aw flag

I have a need to use a systemd-networkd configuration option on my system:

[DHCPV6]
RapidCommit=no

Is it possible to add this option via netplan somehow? Or do I have to disable netplan completely to add more complex systemd-networkd options?

Score: 4
Ángel avatar
Crontab never works on ubuntu server
vu flag

I'm really new to ubuntu server, and i've been having a lot of issues with crontab across this week and i can't really figure out what's wrong with it, i tried everything i saw here to no avail.

So, i have a script that in theory should shut off the server after a few minutes of net inactivity. The script executes without any problem, and works perfectly if done so manually. The issue i've been f ...

Score: 4
kutuzof avatar
Graphical Glitch, strip of about 5 pixels from the middle of the screen are being drawn on the far right edge
cn flag

I'm on Ubuntu 22.04.2 and these are my graphics settings:

sudo lshw -c video *-display
description: VGA compatible controller product: Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:0c:00.0 logical name: /dev/fb0 version: c1 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb c ...

Score: 0
WJPING avatar
Ubuntu 20.04.2 LTS lost internet connectoin out of sudden
cn flag

My PC is connected to a router. The router has been working all the time and had internet connection. Several days ago I noticed that I suddenly cannot connect to my PC through the router admin page anymore. I don't understand whether it was my pc's configurations fault or NetworkManager fault or whatsoever. Many thanks to any hints!

syslog of that day:

Jun 24 04:06:32 myPC001 NetworkManager[724]:  ...
Score: 0
Ubuntuguy90 avatar
QDBus Cannot connect to the D-Bus session bus
ma flag

I have working applications communicating over dbus, tried to setup docker some time ago and probably messed up something because my apps can no longer connect...

Right now when I try to run my app which uses qdbus I have

Cannot connect to the D-Bus session bus.
Please check your system settings and try again.

or when I even try to check currently running session bus'es with qdbus I'm getting

qdbus
 ...
Score: 1
mark sabido avatar
apt-get not working correctly because of python3 on lunar
id flag

To summarise: apt-get crashes if it detects an error (eg. can't find a repo that is in the sources list).

The problem is caused because the python sqlite3 shared object has an undefined symbol (sqlite3_deserialize). This can be reproduced from python3 -c 'import sqlite3'.

Unfortunately, as aptitude is dependent on python3, any failure may cause the python CommandNotFound functionality to try to import ...

Score: 1
kryger avatar
Pixelated HDMI output in kernel >5.19.0-38-generic
tr flag

After one of the recent updates on top of a standard 22.04.1 installation, booting into kernel newer than 5.19.0-38-generic (e.g. 5.19.0-46-generic as of today, I think I tried .0-42 before as well) antialiasing is broken for the entire UI. It happens on an external HDMI screen, a screenshot doesn't exhibit this problem (as if it was antialiased). I looked through the release notes but found nothing obvi ...

Score: 0
WVW avatar
Dual Monitors with USB 3 to HDMI Adapter
jm flag
WVW

I have an HP Compaq Elite 8300 AIO PC on which I am running Ubuntu 22.04.

Before installing Ubuntu the PC ran Win 10 on which I installed the startech windows device driver from https://www.startech.com/en-nz/display-video-adapters/usb32hdes This worked whereby the AIO PC monitor and the external monitor showed the desktop.

I then installed U22.04. Afterwards I followed the steps from this link:

Score: 0
Using bash check which Google-Chrome release channel I have installed
it flag

Using google-chrome --version, it shows me the version but in my case I don't care, I just want some bash command to show me inside the output only the string: google-chrome-stable , or google-chrome-beta, or google-chrome-dev, or google-chrome-canary; giving priority to the most stable release channel if there are multiple channels installed on the computer.

How do I get this?

Score: 0
ZedZip avatar
How to share Ubuntu directory for Windows application?
hr flag

I have Ubuntu 20.04 and Windows 10 in the same LAN. What to do to share Ubuntu directory for Windows application? I.e. Windows app can read and write files to Ubuntu directory

Score: 1
Neeraj  avatar
System time changes by 5½ hours after being suspended for a while
sj flag

Every time I open my System(Ubuntu 22.04) from suspend, the system time is wrong, exactly by 5½ hours and this time is 11 hours ahead of GMT. For example, if the correct time is 3:30 PM, it shows 9:00 PM after opening from suspend. Is there any way to resolve this?

PS: The problem is not related to dual-boot, as I am not restarting the system. Just waking it up from suspend.

Score: 0
user221315 avatar
Recreate swap and resize root partition
jp flag

I'm using Ubuntu 22.04.2 LTS. Below is my current partition table configuration. Initially, I allocated 37GB for the root partition and left the remaining space for the home partition. However, I have realized that the root partition requires more space nowadays.

enter image description here

One mistake I made was not creating an extended partition, which complicates the resizing process. My plan now is to shrink the home partition  ...

Score: 0
Karma Yogi avatar
Openssl package for MIPS 32 cross compilation on Ubuntu 20.04
kr flag

Am cross compiling my code in X86 machine and OS is Ubuntu 20.04.

Earlier when i was cross compiling for ARM, it was working fine and my code was like below:

echo "### Seting ARM architecture in 'dpkg' & Installing all dependent packages ###"
dpkg --add-architecture armhf
apt-get update
apt-get upgrade
apt-get install -y openssl:armhf curl:armhf libssl-dev:armhf

Now am cross compiling for MIPS 32 arc ...

Score: 0
Kuskie avatar
I cannot Reinstall linux without being infected
ug flag

I have tried for a couple times now to reinstall any version of linux to a PC on my network.

I got hacked about 6 months ago by someone on a game, and I haven't been able to comfortably reinstall linux since.

Maybe i'm paranoid, but should my tmp file be full when I go to boot up the system? also, last time I tried to run it in a VM, it kept partitioning the hard drive into other partitions.

Score: 0
ferrb21 avatar
Error running Visual Studio Code
hu flag

I'm trying to run VScode 1.79.2 in Ubuntu 22.04.2 but it doesn't work. Using code --verbose it shows the error message: libGL error: MESA-LOADER: failed to open radeonsi: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

After tr ...

Score: 0
Marek avatar
after update to Ubuntu 23.04 my Xerox WorkCenter 3025 wifi printer stopped printing over wifi
ne flag

I have working solution for several Years, but after upgrading to Ubuntu 23.04 my printers stopped works :( This is really stupid update, fix it!

Score: 0
makryno avatar
Artifacts on external display
mc flag

I am facing an issue of artifacts on my secondary monitor, which happen most, but not all of the time. About 1/20 reboots, everything works as expected.

The problems are similar as the ones described here: Strange artifacts along window borders after waking computer from sleep mode

  • I am on Ubuntu 23.04
  • The system is a Lenovo IdeaPad C340-14
  • I am using an NVIDIA GeForce MX230
  • The secondary monitor is a ...
Score: 0
Rob avatar
No sound after upgrading Ubuntu to 22.04
cg flag
Rob

I've upgraded a ThinkPad T480 to Ubuntu 22.04 from the previous LTS. There is no longer any sound. it either shows "Dummy Output" or incorrectly claims the speakers are disabled because the headphones are plugged in.

Sometimes rebooting or even suspend/revive fixes this. But I can't reboot my laptop several times in the hopes of fixing it.

I have checked several forums for various solutions. Nothi ...

Score: 0
Marcos Verdugo avatar
Ubuntu server does not detect my disks in raid
vg flag

When installing configure my ubuntu server, in the partition configuration part, it does not detect my disks in raid, it only detects the bootable USB.

Before I got to that point I had to put these commands in the console.

losetup -d /dev/loop0

umount /cdrom -l

I get stuck in the installation log process

I have a HP pavilon server DL380 g5, and the array controller is a P400

Score: 0
Mickey avatar
USB device is not authorized for usage when connecting the device
at flag

I have Ubuntu 20.04 running on a Dell-XPS-15. When I restart my computer, my USB devices are detected and everything is fine. Then if I unplug the device and plug it in again - it is not recognized anymore until next restart. When I connect the device with dmesg -w I get the following:

[ 2597.029465] usb 1-3: new high-speed USB device number 13 using xhci_hcd
[ 2597.184660] usb 1-3: New USB device  ...
Score: 0
RAN avatar
"admin://" in front of directory in HDD
it flag
RAN

After updating from 18.04 to 22.04, I realize when I drag a directory in an HDD to terminal, there is always a prefix "admin://" in front of the real directory. I was able to modify the accessibility of the directory by sudo chmod 777, but could not get rid of the annoying "admin://"

Score: 0
Creed Jo avatar
How do I remove Opera Residue GPG errors
it flag

Update I just figured out put whatever documents you have into a folder or folders with name you will not forget put on a 5 dollar USB from Dollarama. Get another two USBs or old used ones of about 8 Gb flash the.iso for Ubuntu 22.04.2 and Ubuntu-Mate 22.04.2 then change your bios with the F1 key to allow USB to first boot, then disable security boot settings. Then with the Ubuntu-mate flashed boot USBs ...

Score: 0
APC1Wi avatar
Cross Compiled V4L2 of embedded Linux
mq flag

Hello all I am new to Embedded Linux. I am having embedded hardware running Linux 5. I want to enable a webcam on it but i dont have internet access or a compiler installed. So i cross compiled V4L2 with the right compiler and copied the files to the usr/lib folder. I cant use terminal commads such as 'v4l2-utils' though. Is there anything else i need to do to you use such commands or is this just not p ...

Score: 3
Vipul Gupta avatar
How to add additional items to menu options of app icon in Ubuntu 20.04
al flag

I have noticed that some of the application like Thunderbird mail in the image below have added their custom option like "compose a new message". I wanted to do the same thing for my application. How is it being done?

enter image description here

Score: 3
Paul Jurczak avatar
How to redefine font substitution?
pe flag

I would like to have HelveticaLTStd-Bold substituted with LiberationSans-Bold font. It is already installed in many places:

enter image description here

but DejaVu Sans is chosen instead:

paul@desktop:~$ fc-match "HelveticaLTStd-Bold"
DejaVuSans.ttf: "DejaVu Sans" "Book"

I followed the advice from PDF font falls back to DejaVu Sans, need a monospace replacement, but it didn't work. What is the solution?


I use Ubuntu 22.04.2 LT ...

Score: 0
hiigaran avatar
.rdp file works on Windows, but not Ubuntu
cn flag

I have been given a .rdp file to connect remotely to a Windows work server. This file works when I use it on a Windows computer. However on Ubuntu, I get no such luck when importing the .rdp file into Remmina. Both the Windows and Ubuntu devices I'm trying to connect from are on the same work network.

If I attempt to connect through Ubuntu, Remmina gives me the following error:

Could not access the RD ...

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.