Latest Ubuntu related questions

Score: 0
Tony O'Hagan avatar
Failing to install Ruby 2.7.7 on Ubuntu 20.04 due to OpenSSL 1.1.1t failing
mx flag
ubuntu$ rbenv install 2.7.7
To follow progress, use 'tail -f /tmp/ruby-build.20230330011330.8040.log' or pass --verbose
No system openssl version was found, ensure openssl headers are installed (https://github.com/rbenv/ruby-build/wiki#suggested-build-environment)
Downloading openssl-1.1.1t.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/8dee9b24bdb1dcbf0c3d1e9b02fb8f6bf22165e807f45adeb7c9677536859d3 ...
Score: 0
ubuntero avatar
Display Alseye M120 Plus temperature on the command line
bs flag

I'm newbie in this forum, although I've been using Linux flavors longer than a decade now.

I have decided to give a fresh looking to my hardware and got an RGB CPU fan which has a little screen to display the temperature, nothing more, it is *Alseye* brand, model M120 Plus, got it from Amazon.

I'm using Ubuntu 20.04.6 LTS

My motherboard is a microATX Gigabyte B460M Aorus Pro (it has built-in temperature  ...

Score: 0
AaronD avatar
How to automatically keep the touchscreen aligned with a specific monitor?
in flag

Ubuntu Studio 22.04 LTS

I have this command in a login script:

xinput map-to-output "Wacom ISDv4 4001 Finger touch" eDP-1-1

It works perfectly...until I change the monitor layout:
enter image description here
When the layout changes, the touch mapping is stretched or shrunk so that it no longer lines up on the screen that it's built into. Run that command again manually, and it's fixed...until the next layout change. Run i ...

Score: 0
bvsta avatar
how to determine deja dup error source
kp flag

I'm trying to restore a backup on Ubuntu 22.04 5.19.0-38-generic.

Did a backup of the home folder onto a HDD which is now supposed to be restored to the home folder after a reinstall.

    INFO 1
. Using temporary directory /tmp/duplicity-kokbuhzf-tempdir

INFO 1
. User error detail: Traceback (innermost last):
.   File "/usr/bin/duplicity", line 92, in <module>
.     with_tempdir(main)
.   File  ...
Score: 1
Chris avatar
Where did `cmdtest` come from?
ro flag

Anyone know how to find out where a package came from? Or if it is a core package for Ubuntu?

I was trying to get yarn install working and following the docs did not work, it failed on $ readlink /usr/bin/yarn because the binary was a python script and not a symlink.

Turned out I had cmdtest installed for some reason. Nuking that with $ sudo apt remove --purge cmdtest allowed me to get yarn working, bu ...

Score: 1
gatorback avatar
How do I migrate Ubuntu 22.04 from a 1TB to 500GB SSD?
in flag

I would like to migrate from a 1TB to 500GB SSD. I believe less than 100GB are used (Home Assistant via Docker was installed). I have seen options such as dd and Clonezilla.

I'm aware that dd does not take care of resizing the partition, but I think Clonezilla will only resize if moving to a larger SSD. So how do I shrink the 1TB SSD so that Clonezilla sees it as smaller than the 500GB SSD?

I am open to ...

Score: 1
Mete avatar
I connect to the router but cannot connect to the internet Ubuntu 20.04
lb flag

I am having an issue with connecting to internet over my home network. I can definitely connect to the router, I can send ping to the router address, I can even see that my laptop is connected to the router from the interface of the router. I can't get to the router interface via my laptop tho. I get 404 not found error when I try this with my laptop but I can do this with my mobile phone.

I am c ...

Score: 1
user3284954 avatar
Help with installing the Chrome web browser (22.04.2 LTS)
ee flag

I have just installed Ubuntu 22.04.2 LTS on my computer a few hours ago. For a few days, I tried to do an install so I could dual boot between Ubuntu & Windows 10. But I had failure after failure, so I gave up. I formatted my Samsung SS drive to one large partition and did a ubuntu only install which seems to be working fine as far as I can tell.

I launch Firefox. After it was launched, I  ...

Score: 1
Yehuda Karlinsky avatar
Running multiple ubuntu GUIs on a single machine
bf flag

I have a pc with a powerful cpu, gpu and a large ssd for the ubuntu installation. I want to connect multiple screens and mice, so each user has his own Ubuntu GUI running on his screen.

Think about it as a way to have two computers in one body. Is that possible? If so, how do I do it.

Thanks!

Score: 0
Nikolas Rian avatar
linux identifying multiple joysticks
az flag

Today while I was carrying out tests with wine and the ubissoft connect and I noticed that the buttons of an xbox controller appeared in the app's interface, the problem being that no one of my controls is connected

I tested it in several apps like steam and in several games and they all identify a connected controller

Using jstest, 4 xbox 360 controllers appeared but I don't even own an xbox 360 co ...

Score: 0
Haxsaw avatar
Upgrade from 20.04 to 22.04 and SOME domain names won't resolve
zm flag

I've looked through the questions and haven't seen anything like this odd problem.

I just finished a project and thought I'd finally address the reminders I kept getting to upgrade from 20.04 to 22.04. The upgrade ran without incident, but upon reboot a raft of problems became apparent. But the worst one is that SOME domain names won't resolve. It's really weird: I can reach google.com, reddit.co ...

Score: 1
ezzys avatar
cannot get rc.local to work with simple chown script on ubuntu 20.04
ee flag

I am a bit of a noob and I have been following this tutorial to setup rc.local on ubuntu 20.04 as I want to change ownership of folder on boot.

The script is saved in chownscript.sh and it is:

#!/bin/bash
chown -R 1001:1001 /opt/redis
exit 0

When I run it as sudo ./chownscript.sh it works fine.

My rc.local file is

#!/bin/sh -e
# rc.local
#
# This script is executed at the end of each multiuser runl ...
Score: 1
sarah avatar
Second Monitor not Detected, Ubutnu 22.04, AMD Radeon RX 6600 XT
fk flag

I am trying to install an AMD Radeon RX 6600 XT GPU in Ubuntu 22.04. I went through the amdgpu install process, however only one monitor (connected to the motherboard) is detected. The monitor which is connected to the GPU isn't detected. I am fairly new to Linux. Can anyone suggest how to proceed?

Outputs:

$ lspci -k | grep -EA3 'VGA|3D|Display' 
03:00.0 VGA compatible controller: ASPEED Technology, I ...
Score: 1
ojn06031 avatar
Need help converting Xmodmap to XKB
de flag

I've been using this .Xmodmap for years but now I'm switching to Wayland and I need to replace it:

!remove Lock = Caps_Lock

keycode  66 = Mode_switch
keycode 108 = Mode_switch

keycode  26 = e E EuroSign cent
keycode  30 = u U udiaeresis Udiaeresis
keycode  32 = o O odiaeresis Odiaeresis
keycode  38 = a A adiaeresis Adiaeresis
keycode  39 = s S ssharp

The .Xmodmap above disables Caps-Lock and for exa ...

Score: 1
alabamatoy avatar
i7 dell latitude 5290 2-in-1 dual boot
br flag

So I have come into possession of subject "convertible" PC with the only condition being I have to pull the SSD and destroy it. I have a 50 ton press LOL.

So I would like to dual boot this machine between Ubuntu and W10. I have Ubuntu experience but never tried dual boot.

Is there a guide somewhere? Which OS do I start with? (I know I gotta buy W10). I plan to get either 0.5T or 1T SSD. Suggesti ...

Score: 2
Passing multiple file patterns to grep
jp flag

I have a sequence of search patterns stored in a bash array (ptrn), which I want to pass to a grep command. How can I do it?

  ptrn=("FN" "DS")
  for fl in "$@"; do  # loop through number of files
    if [[ -f "$fl" ]]; then
      printf '\n%s%s%s\n\n' "$mgn" "==>  $flnm  <==" "$rst"
      grep --color "$ptrn" "$flnm"
    fi
  done
Score: 0
Meozaa avatar
Reset external display required after boot
hr flag

System

  • Ubuntu 22.04 Desktop, mainline
  • Nvidia 525 Driver
  • Regolith 2.0 w gnome
  • xrandr shows secondary connected to HDMI-1-0 and eDP-1 connected to main display

Currently when the system boots the second display is on but it just displays the login background and the mouse will move over to the display but the display never updates.

If I unplug HDMI and replug I then can see this display and it updates pr ...

Score: 0
user21038724 avatar
PGP Encryption with C#
mh flag

Hi I am new to PGP Encryption. below issue i am facing is I am Encrypting a csv file with PGP public key using a C# Console application.

  1. When I am Encrypting the file into File System another Team is able to Decrypt the file.
  2. When with the same code I am encrypting the file and uploading on SFTP from Console another Team is not able to decrypt the file.

tried with Armor= true and false, with Integ ...

Score: 1
Torben Gundtofte-Bruun avatar
SSH service not responding
in flag

I have a headless Ubuntu running on a regular PC in my garage. I use SSH to access it. It's running a good handful of Docker containers, including dashdot which indicates the CPU is under normal load etc.

Since today it does not respond to PuTTY connection attempts, but the server is otherwise running fine, the Docker containers are running fine. The machine responds to ping requests, but taking  ...

Score: 0
Jaybird Jones avatar
Error while copying Music to my Smartphone!
ai flag

Having a error that says:

Error while copying "Track1.wav" There was an error copying the file into mpt://SAMSUNG_SAMSUNG_An...%20storage/Music/Now%2074.

Operation not supported

Score: 1
Adenano avatar
grep PCRE still greedy
mo flag

I'm searching a multi-line text file and want to match a string from a certain word until the first match of another word:

start
word1
word1
word1
word1
end
word2
word2
word2
start
word3
word3
word3
end

Here's what I use: grep -Pzo "(?s)start.*?end" file.txt

And it matches everything in the above text string from beginning to end, whereas I want to match only until the first end occurance, i.e.:

Score: 0
dxyzhou-tiger avatar
dma_alloc_coherent() returns error when the allocate size is over 4MB
ve flag

I have tried both

virt_addr = dma_alloc_coherent(dma_dev, alloc_size, &phys_addr, GFP_KERNEL );

and mypool = dma_pool_create("mypool", dma_dev, alloc_size, pool_align, 0); virt_addr = dma_pool_alloc(mypool, GFP_ATOMIC , &phys_addr);

both failed, if alloc_size is over 4MB.

I also found that CONFIG_CMA is not set. ( Kernel version 5.19.0-32-generic) How to allocate DMA buffer 512M in size?

Th ...

Score: 0
Moiz khokhar avatar
why does it keep saying permision denied in my ubuntu virtual box machine when I am the only one using it
tt flag

I am trying to run geant4 on my ubuntu virtual machine however it does not want to cooperate. everything I do goes wrong. the Cmake compilation doesn't work even when I open the terminal from the file itself it says the directory doesn't have so and so file when the directory does have so and so file. the when I want to create a folder using the mkdir command it says permission denied when I am the one  ...

Score: 0
vbnm avatar
No wifi interface in wireshark
us flag

I have installed wireshark using apt and has enabled non-root user access in the same way as shown in a ton of posts and articles. Nothing other than that.

I can see a lot of interfaces e.g loopback and bluetooth and can see traffic on them but only on my local machine. I can't access the wifi, there's no wifi interface shown.

I have no idea what the problem could be. I have used wireshark before on ...

Score: 0
Tasmotanizer avatar
How to best copy large folders?
eg flag

I want to copy 1 TB of data from 1 HDD to another via Terminal.

What is the best approach to this?

So far, i've used the following, but I've no idea, whether it actually makes progress, or if it just froze the window:

sudo cp -r /mnt/CloudDrive1 /mnt/CloudDrive2

Score: 0
Sourav Shome avatar
apt update outputs error
gb flag

When I write run sudo apt-get update on the terminal, I get this output.

Get:1 http://security.ubuntu.com/ubuntu kinetic-security InRelease [109 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu kinetic InRelease                                               
Hit:3 http://in.archive.ubuntu.com/ubuntu kinetic-updates InRelease                               
Get:4 http://in.archive.ubuntu.com/ubuntu kinetic-bac ...
Score: 0
Mrugank Parab avatar
20.04 client vpn connects successfully but times out when connecting to vpn required website
vn flag

I have an OpenVPN .conf file to connect to a company vpn. I need to be connected to this VPN so that I can access domains that are not searchable by default DNS.
After successfully connecting to the vpn using Network Manager, I can access all websites EXCEPT for the ones that need the vpn. I have multiple other vpns that work perfectly fine.
I get timed out errors on those that require this vpn to conn ...

Score: 1
TOOFACK avatar
Timeshift doesn't start
ae flag

after I did backup my system with timeshift, but when I run timeshift-launcher in terminal it's not launching, and logs file is

[19:44:13] Session log file: /var/log/timeshift/2023-03-29_19-44-13_gui.log
[19:44:13] Distribution: Ubuntu 20.04 (focal)
[19:44:13] DIST_ID: Ubuntu
[19:44:13] Main: check_dependencies()
[19:44:13] [Warning] Deleted invalid lock
[19:44:13] Main: add_default_exclude_entries()
[19: ...
Score: 0
Anupam Bhattacharyya avatar
sudo apt update not working on Ubuntu 22.04 LTS
no flag

It is giving the following error

  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxxxxxxxxxx
Get:4 https://packages.microsoft.com/repos/ms-teams stable InRelease [5,931 B]                                                          
                                                
Hit:12 https://ppa.launchpadcontent.net/tomtomtom/woeusb/ubuntu jamm ...
Score: 0
Josh Majors avatar
GPU stops functioning after some time
in flag

Sometimes after my computer is running for awhile, my GPU just stops running. In nvtop I can't see my GPU and only see my CPU. My CPU utilization goes through the roof as it tries to render everything (when this happened last night I could see there was some chrome render process that uses like 750% CPU in htop). The "Geforce RTX" light is still on when this happens. Also, my monitors are plugged  ...

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.