Latest Ubuntu related questions

Score: -2
user900476 avatar
so why do people still use dpkg when there is apt?
ps flag

Im sorry Im a newbie in Ubuntu.

While dpkg can only install, remove, or query individual packages, apt offers additional functionality, such as automatically handling dependencies, retrieving and installing packages from remote locations, and upgrading all installed packages to their latest versions. - https://www.geekbits.io/what-is-the-difference-between-apt-and-dpkg/#:~:text=While%20dpkg%20can%20onl ...

Score: 0
Bill avatar
Getting Ubuntu 23.04 to run XRDP on Hyper-V (Windows 11)
sl flag

I'd like to be able to run my 23.04 hyper-v image on full-screen.
I've tried a few options: I've installed xrdp, xfce4 and xorgxrdp I've used various setup scripts that have made changes to ~/.xsession and grub to no avail (like this one: https://c-nergy.be/blog/?p=18725 ) I've tried just upping the default screen resolution with some tools like xrandr and hit failures like; "Failed to get gamma size ...

Score: 0
ngong avatar
Need help changing the default filename format when saving emails in Thunderbird
tn flag

I am experiencing an issue with Thunderbird and would appreciate some guidance on how to change the default filename format when saving emails.

Whenever I press Ctrl+S in Thunderbird to save an email, the application automatically suggests a default filename for storage. However, the default filename contains special characters that are not compatible with my filesystem, causing Thunderbird to si ...

Score: 0
user227495 avatar
Snapshot of Ubuntu 22.04 that I can restore in case of failure
us flag

I guess Ubuntu has no Reset option. Luckily, everything is fine on my Ubuntu 22.04. Wondering whether it is possible to create a snapshot of my Ubuntu which I can restore back to in case something goes wrong. Is it possible to keep it on external storage?

My Ubuntu partition is 160 GB. Thanks.

Score: 0
Albert M avatar
Possibly of recovering data from virtualbox machine?
fr flag

Tldr: vdi file corrupted, nothing i tried is helping

I noticed recently that the save files for one of my virtualbox machines disappeared. I had it on an hard drive that’s plugged into an outlet, and it’s been the victim of several breaker trips, so I’m assuming that the outages caused the data to get corrupted and removed somehow. So i tried recovering the relevant files with disk drill, o ...

Score: 0
LMM avatar
PC Memtest not ending with escape
kp flag
LMM

I was on help earlier today because of an error I was getting trying to update Ubuntu. WHen I got off help, my tech initiated my updates. It started a PCMem test when done, that is not stopping. If I hit esc it restarts. If I shut down my computer, when it reboots it starts the memtest again. How can I end the test and reboot my computer?

Score: 0
How do you prevent openvpn clients from changing the system clock?
cn flag

I'm using state based routing using iptables and a single user on a shared machine sometimes uses a VPN to get resources not available in our physical location. However, this is very annoying because, even though only one user is using the VPN, it still changes the system clock for the whole machine which makes it so APT doesn't work as well as other oddities.

Reading package lists... Done          ...
Score: 1
ObviousThrowaway avatar
Errors during boot, computer will not finish booting
ie flag

I recently got a new Windows 10 HP laptop which my colleague installed Ubuntu on. It's been working fine for a few days, but it recently started getting stuck in the middle of booting and it freezes after showing these messages:

[0.935488] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling instead
/dev/nvme0n1p5: clean, 231587/13623296 files, 51804463/54492928 blocks
[3.745940] spi-nor s ...
Score: 0
gamerboy avatar
Games fail to launch return code: 13568 - App not starting
US flag
Initial process has exited (return code: 13568)
Monitored process exited.
Exit with return code 13568

I've tried multiple clean prefixes.

Score: 0
Forrest Aldrich avatar
Autoinstall storage: not working, Ubuntu does its own thing 20.04
bi flag

I'm working with Ubuntu 20.40, where I'm creating an ISO with the user-data/meta-data on the image, then booting a VMware VM off it. I watch the output, it seems to create the logical volumes and mount points; it installs software, the user I configured, updates etc., but every time I end up with a filesystem I didn't ask for. I've put this through YAML validators, validated it with cloud-init, compa ...

Score: 0
fractaloctopus avatar
Issues cloning an external install of Ubuntu
tr flag

I have a bit of a weird situation regarding cloning a drive.

I work at a university in the visual resource center. For archiving we wanted to have a local installation of a program called Access to Memory https://www.accesstomemory.org/en/ As I'm not much of a linux user (I've tried a few distros over the years, but never really stuck with it mainly due to gaming and needing to use Microsoft Office), my f ...

Score: 0
David Ljung Madison Stellar avatar
Real vncviewer from command-line won't use saved passwords
in flag

I have Real vncviewer setup and it has some regular connections I use that have saved passwords (I can connect automatically by starting up the vncviewer GUI and opening the saved connection).

But if I try to connect to the vnc with the commandline, either by:

% vncviewer <hostname>
% vncviewer .vnc/ViewerStore/<path-of-saved-vnc>.vnc

Then it still asks for the user/password.

I can spe ...

Score: 0
bwallx avatar
Can't save or download data to USB memory stick
ws flag

I normally use Windows on my desktop but like to experiment with Linux. I've tried several distros and different desktops. I'm currently using Ubuntu with Cinnamon but my problem applies to all other distros/desktops. I boot from a SSD sata drive after disconnecting my windows boot drive.

Namely, it is a problem with using a USB memory stick/thumbnail. I use Linux to securely download csv files a ...

Score: 4
gfejer avatar
I am trying to change my shell with chsh but I am getting an error
cn flag

I can't change my bash shell to fish with chsh, because it asks for a password, which isn't my root password, and after I type something in I get this: chsh: PAM: Authentication failure

This is my /etc/pam.d/chsh configuration file:

#
# The PAM configuration file for the Shadow `chsh' service
#

# This will not allow a user to change their shell unless
# their current one is listed in /etc/shells. This ke ...
Score: 0
Bhaskar avatar
ROG STRIX G17 4060 Driver
fm flag

Hi i have purchased ROG STRIX G17 with 4060 nvidia gpu, processor - AMD® Ryzen 9 7845hx with radeon graphics × 24. Installed Ubuntu 20.04 but many drivers are working even nvidia gpu isnt working. No audio No Wifi No bluetooth. My current kernel version is- 5.15.0-75-generic I have heared that switching from 20.04 to 22.04 can work but i can't switch as i have to ros noetic and it supports ubun ...

Score: 0
Maarten Deen avatar
Time spent in cpu frequency on core i5
th flag

On my old server with AMD Athlon X2 5050e processor, I have /sys/devices/system/cpu/cpu*/cpufreq/stats/time_in_state that tells me how much time the processor spent in each frequency state. Now I have a machine with an Intel i5-4690 that does not have such a stats directory. I would like to see how much time the processor spends at what frequency. Is that possible?

Score: 0
Choccy_vr avatar
change permission for all contents in folder
lb flag

I am following this YouTube tutorial https://www.youtube.com/watch?v=WN4K8o1aILA&t=2223s about using Linux from scratch to make a Linux distribution everything works except around the 37:04 mark I am doing the chown command and when I do it his way of Sudo chown -R user:distbuild OsName I found that only the user can make and remove files but if you do it the other way so distbuild:user then distb ...

Score: -1
magpie avatar
How to remove an incomplete install for a fresh install, if all actions I can think of--remove, purge--fail with an error
mn flag

An attempt to install 'mysql' on 'Ubuntu 20.04' failed and left my system in an undefined state. I would like to go back to square one for a fresh start, but both 'remove' and 'purge' fail with both 'apt' and 'dpkg'. 'install' fails: 'E: Package 'mysql' has no installation candidate'. This looks like a deadlock, all exits barred:

fr@hatchbox-3:$ which mysql
/usr/bin/mysql
 
fr@hatchbox-3:$ /usr/bin ...
Score: 1
Mentrix avatar
Error while installing AMD GPU Driver | amdgpu-lib32 dependencies not met | trying to set up ROCm
az flag

I am using Linux Kernel 6.2.0-23-generic, Ubuntu 23.04, and an AMD Radeon RX 7900 XT (not XTX!).

I have 3 monitors plugged into my PC, 2 of them via a Display Port to HDMI converter and one directly plugged into the HDMI port on my GPU. The two using the DP-HDMI converter don't turn on anymore. I was originally trying to set up ROCm for TensorFlow and while following the installation process acco ...

Score: 0
sarcasticsattu avatar
How to enable GUI on wsl?
tw flag

I installed wsl with Ubuntu 20.04 on windows 11. Now, it is saying that display cannot be opened after running xeyes & command. I followed this link on wsl posted by ubuntu.

Score: 0
Square Cat avatar
Internal processes of the apt stage "Preparing to unpack"
qa flag

What happens during the "Preparing to unpack" apt phase? Why is this message so important to show?

Score: 0
sfia avatar
Missing 'Displays' option on settings menu
cx flag

Ive been trying to connect a second monitor to my laptop and I can't seem to get it working. Following the ubuntu instructions, it seems there should be a display option in my settings but I only have screen display which in no way helps with extra monitors. I have tried reinstalling unity control system and the gnome control centre, as well as changing my nvdia and installing the ubuntu desktop package ...

Score: 2
Script to switch between networks in ubuntu using nmcli
cz flag

I'm trying to switch between already populated networks using a bash file using nmcli but I'm get non sense data back.

But get nonsense

1) 0
#? 0

Code below.

#!/bin/bash

# Pre-populated UUID data for network connections
networks=(
    ["tr_5"]="127f3e9e-34dd-444e-aee4-7c2b35c7c307"
    ["VC_HotSpot_6"]="c498aa6a-24d4-4b51-92c7-9b8d84181fc1"
    ["Network_3"]="34567890-3456-3456-3456-345678901234"
)

#  ...
Score: 2
P Simdars avatar
Can ffmpeg be used to concatenate files?
cn flag

A while back I asked how to convert mp4 files to mp3 and someone pointed me to ffmpeg. That is a great command and it does a great job.

Now I'd like to know about concatenating files together. Can ffmpeg be used for that? It didn't look like it when I tried to figure it out. Can it, or is there another command for that?

Score: 0
carmiac avatar
Can’t connect to insecure Wi-Fi
cx flag

I’m on a working vacation in a remote cabin with no cell service, but there is Wi-Fi. Every device my family has with them can connect to the cabins Wi-Fi, except my work Ubuntu 22.04 laptop, which is the only Linux laptop I have with me and the one I need for work. I’m currently typing this from my daughters iPad.

I’ve attempted the normal troubleshooting, including reboooting, turning Wi ...

Score: 0
Social Memory Lab avatar
Computer doesn't wake from sleep Ubuntu 20.04
li flag

I have two Dell computers, both running Ubuntu 20.04, that are both not waking from sleep when I try using the keyboard or the mouse. It seems like this might have started happening with both of them after certain updates installed, but I'm not certain. I've run diagnostics on both machines to confirm that this is not a Dell hardware issue, and deep sleep mode is deactivated.

Score: 0
MeHigh alexandru avatar
Why does my ubuntu system keep loging me out after i try to open an app
im flag

If i try to open firefox or spotify or any other app that is bigger ,the screen goes black and it log me out . I tried apt update and upgrade , ceating a new profile. Yesterday everything was fine , i haven t updated it since yesterday and today when i tried to open fiferox it logged me out

Score: 0
Emi avatar
Can't find the network during installation
cv flag
Emi

I'm trying to finish setting up Ubuntu 20.04 server on my HP ZBook laptop, but I can't set up the network correctly.

I can't find my wired LAN. I read the Ubuntu official guide and it says that installation can be done without the network, but even after the installation, I can't find the LAN.

enter image description here

enter image description here

enter image description here

Score: 0
Yonatan Elizarov avatar
copy paste from Putty on Ubuntu 18.04
qa flag

I have a hard time copy and paste from Putty. I believe I've tried every option I read in this forum. Please assist me

Score: 0
Anton Kalistratov avatar
how to pass to cli util gdbus emit signal with types uint8 int16?
er flag

How to pass to cli util gdbus emit signal with types uint8 int16?

For example

sudo gdbus emit --system --object-path /com/application --signal com.application.example "[{'ThisisString', [{'FirstString', 'NextString', [{1, 2, 3}]}]}]"

On that result I've got 1,2,3 as int32

How to specify rule for values??? Thank's 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.