Latest Ubuntu related questions

Score: 0
Wim Van Geem avatar
Wireless Access Point using a modem connection is not working correctly, probably due to MTU
um flag

With netplan, I created a modem connection:

network:
 version: 2
 renderer: NetworkManager
 modems:
  cdc-wdm0:
   optional: false
   dhcp4: true
   auto-config: true
   pin: 2832
   apn: internet.proximus.be

I also created a wireless access point

network:
 version: 2
 renderer: NetworkManager

     # Wireless configuration
     wifis:
      wlp2s0:
       dhcp4: true
       optional: false
      ...
Score: 0
user227495 avatar
Play Android Games on Ubuntu 22.04
us flag

is there any method to play Android games on Ubuntu 22.04? It would be nice if PlayStore can also be added to it. I can find apk from 3rd party if it helps. Thanks.

Score: 0
RobinHoodRKA avatar
I used Ubuntu's inbuilt RDP(remote desktop) but I get a blank screen in android
ai flag

I use Ubuntu 22.04 I used the inbuilt remote desktop to share my laptop screen to android tablet i tried using both RDP and VNC both resulted in a black screen on my tablet with a very thin strip of my pc background appearing at top of the tablet.

Random touches were not working but I guess I can say the keyboard of android was working because when I tried pressed the super key(key with windows  ...

Score: 0
Ziv Hershkovitch avatar
ubuntu 22.04, output sound not working when connected to hdmi or docking station, when disconnect sound works fine
cf flag

I am working with a Lenovo Thinkpad T14 Gen2. Up until recently everything worked fine with Ubuntu 22.04. I did make some adjustments to make share screen possible with zoom (Screen Share Not working in Ubuntu 22.04 (In all platforms zoom, teams, google meet, anydesk , etc.,)) .

A few days ago output sound stopped working while I am connected to the docking station. I made sure I am using the lapto ...

Score: 0
Daniel avatar
is possible to execute commands on host from snap package?
tr flag

I am building snap from command line program to guess linux commands from natural language. For example cal for show calendar. When command is proposed I need to confirm them by Enter. So after Enter I expect to execute cal on my host system.

I works when program is executed natively on host machine thanks to the following code:

let mut child = Command::new(command_name)
  .args(command_args)
  .s ...
Score: 1
Debbie avatar
Brightness control keys don't work on Ubuntu 20.04
tw flag

Pressing brightness increase button opens the search bar which used to open after pressing ctrl+F in Ubuntu 20.04. Brightness decrease key does not work. I am controlling brightness from the settings. Buttons were working perfectly before. Please suggest solutions.

Score: 0
QuAzI avatar
netplan wifi with multiple AP
mk flag

I have two AP and want to connect one of them and use the second as a fallback. But currently, netplan connects to one of them and if it switched off, only manual switch wpa_cli -i wlp2s0 select_network network_id works. Or restart, and the host will connect to the second AP as the first not available at the moment. But when the first AP starts in won't reconnect back automatically.

So, how can I fix th ...

Score: 0
ellen avatar
domain "refused to connect" running django app on digitalocean droplet
in flag

I want to deploy a site on a digitalocean droplet. So far, it works as expected when I hit the IP address 123.45.678.910, but when I go to my domain name, I see "This site can't be reached, my-site.com refused to connect" on Chrome. I am able to ping mysite.com and I see that it goes to the right IP address.

I connected my Namecheap domain to my droplet using this tutorial. I've waited 24 hours which I ...

Score: 0
plz help me avatar
ubuntu 20.04 and camera module V3
cy flag

I use rpi4 and camera module V3 is released 2023 version And I have ubuntu 20.04 version. But my camera module V3 is not detected I have to use ubuntu 20.04 version how to solve this problem? Do I update drivers? or something else?

Score: 2
Marc avatar
Command dependent on background job finishing
ro flag

I am trying to run a background-job that should send an email after it terminates. The background-job can run several hours and should run independent of the Shell it was started in (because SSH will disconnect). In my current script below the mail command does not wait for the BACKGROUNDJOB to terminate. How can I achieve this?

nohup BACKGROUNDJOB -l $corefolder/$filename >/dev/nul 2> $coref ...
Score: 0
Khiem Nguyen avatar
Unable to install libgsl23, libboost-program-options1.65.1 in a Docker File
ph flag

I'm trying to install pyscipopt in dockerfile, but I got some errors when installing required packages for SCIP. This is my Dockerfile:

FROM python:3.8-slim
WORKDIR /src

RUN apt-get update -y
RUN apt-get install -y \
    gcc g++ gfortran liblapack3 libtbb2 libcliquer1 \
    libopenblas-dev libgsl23 libboost-program-options1.65.1 wget

RUN wget https://scipopt.org/download/release/SCIPOptSuite-7.0. ...
Score: 0
Hans Yulian avatar
dnsmasq ERR_TOO_MANY_REDIRECTS
jm flag

I created ubuntu 22.04 router for my home network with dnsmasq and everytime i do a google search and landed on a website that is sponsored by google, it will result ERR_TOO_MANY_REDIRECTS. I'm not sure what's wrong with my config for dnsmasq, but this is the following configs:

/etc/dnsmasq.conf:

port=53
server=8.8.8.8
server=8.8.4.4
domain-needed
bogus-priv
dnssec
strict-order
listen-address=172.1 ...
Score: 0
Doug avatar
Wi-Fi works with boot to windows but not Ubuntu
sy flag

I am running :Description: Ubuntu 22.04.2 LTS

I have two new Beelink SEI computers. I've setup both to dual boot windows 11 and Ubuntu. One has Wi-Fi working, the other has no wi-fi with Ubuntu (but it does in Windows). This is my network hardware on the unit which does not work. I've tried everything I can find online including installing drivers from the Intel site. But in settings Wi-Fi it st ...

Score: 0
vishnu santhosh avatar
My Ubuntu installation won't boot. After installing proton 7.0 my laptop crashed
uy flag

A black screen has appeared saying


2.158791] Integrity: Problem loading X.509 certificate -65 214.163346) nvmeon1: I/0 Cmd(0x2) LBA 1050496, 8 blocks, I/0 Error (sct 0x3 / sc 0x71)

214.163395] I/O error, dev nvmeon1, sector 1050496 op 0x0: (READ) flags 0x80700 phys_seg i prio class 0 [214.163450] nvmeon1: 1/0 Cmd(0x2) @ LBA 500118016, 8 blocks, I/0 Error (sct 0x3 / Sc 0x71)

[ 214.163485] I/O err ...
Score: 0
Frobozz avatar
Remmina USB redirection
ng flag

I have been trying to get USB redirection working under Remmina 1.4.25. My client OS is Linux 5.15.0-60-generic (jammy). My target OS is Linux 5.4.0-144-generic (focal) which is running xrdp/focal,now 0.9.12-1 amd64. I have also tested to Windows 2019 Server.

I have tested with various devices from thumbdrives to Android phones. No USB device ever appears at the target ( according to lsusb in

Score: 1
Will avatar
Rotate pdf pages using Scribus
id flag

Using Ubuntu 22.04LTS on various machines (Desktop / Laptop).

I use Scribus to do basic editing in pdf files (eg inserting signature, or text as text boxes).

When I'm sent a pdf that's malrotated, I need to orient it properly before editing.

I found this How/Can i flip/rotate a page 90° in Scribus but it doesn't answer what I want to do.

There is a rotate option in Scribus, but it's manual - so you ...

Score: 1
sam avatar
Squid Proxy and Certificate problem
st flag
sam

Recently i installed squid proxy on Ubuntu 18.04 and it was working fine for the http requests , but i faced a problem with some applications that require https connection , so i downloaded the source and compiled it with the following configuration options :

squid -v 
Squid Cache: Version 4.17
Service Name: squid

This binary uses OpenSSL 1.1.1  11 Sep 2018. For legal restrictions on distribution  ...
Score: 2
jhaagsma avatar
How do I clean up legacy networking on a production server, after a decade of upgrades?
in flag

TL;DR: Is there any good way to bring my networking configuration/operation up to the present, without borking my docker and lxc bridges, and keeping my custom lan (static)/wan(dhcp) stuff?

Details:

I run a bunch of web-servers in lxc containers for of some of my hobbies (that actually are used a fair bit) on an ubuntu server on my home connection, as well as local NAS, some docker containers (homeas ...

Score: 0
Michael Nixon avatar
PCI WiFi not connected
by flag
sudo apt install gcc make build-essential git linux-headers-$(uname -r)
.
.
.
Building for 5.19.0-37-generic
Building initial module for 5.19.0-37-generic
ERROR (dkms apport): kernel package linux-headers-5.19.0-37-generic is not supported
Error! Bad return status for module build on kernel: 5.19.0-37-generic (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.1~ppa/build/make.log for more information.
dpkg: e ...
Score: 1
Brian avatar
Correcting driver installation for rtl8811au dongle
gd flag

I've had several partially successful attempts at installing this USB dongle on Lubuntu 22.04. It's working now, but may not survive the next reboot. I most recently followed instructions in

https://github.com/morrownr/8821au-20210708#readme

but think I have extra drivers from earlier attempts. When I execute the following:

sudo dkms status

the output is:

rtl8812au/4.3.8.12175.20140902+dfsg, 5.1 ...
Score: 1
cxwf14 avatar
pulseaudio won't detect headphone unless restarted
pk flag

My computer is a desktop with an MSI B450m mobo. It's connected to a display via HDMI, which is also used as the main speaker. If I plug the headphone to the audio jack, I want it to switch to the headphone.

It used to work fine under Ubuntu 20.04 with Pulseaudio 13.99. After upgrading to 22.04 with Pulseaudio version 15.99, it's having weird issues:

If I unplug the headphone and plug it back in, Pu ...

Score: 0
DarkCube  avatar
my laptop randomly stops detecting successive key tapping
kg flag

like, I would tap backspace repeatedly and only one letter is removed and if I wait for a sec it deletes another. rebooting, logging out/in and typing slowly (lol) solves the issue but it's quite annoying and I'm afraid it might not be a software issue at all since this is quite an old (8 year old) used laptop I bought recently :(

I'm using ubuntu (obviously) and I suspect it might be the ssd's f ...

Score: 0
Robosmith avatar
configure default static IP address in cloud-init nocloud config (CIDATA) on usb
mm flag

I have built a custom Ubuntu 22.04 install that runs unattended from a USB stick. I am now trying to add a default static IP address that the target will boot with. These systems will be booting in tiny environments that may not have DHCP or other network services, and will be be further customized by a post-install script, but I need them to be network reachable upon first bootup after cloud-init.

 ...
Score: 2
How to configure cgroup resource limits for desktop applications using official systemd features?
cn flag

I've previously used cgmanager to group processes in separate cgroups and adjust memory and CPU limits as needed for each group. However, modern systemd doesn't want that other processes mess with cgroups so I guess I would need to configure systemd to do that instead. (To be exact, Lennart Poettering (the author of systemd) thinks this way.)

I would want to e.g. define following:

  • Specify group
Score: -1
Hoang Nguyen avatar
Forgot username and password to Ubuntu
ge flag

I have an M1 Macbook and used UTM to create an Ubuntu VM. I have now forgotten my username and password for the VM and do not see a recovery boot option in the GNU GRUB menu:

boot menu

How can I recover or reset the username and password?

Score: 0
J'e avatar
Use loadkeys to disable/enable ctrl-alt-del reboot
us flag
J'e

In the ubuntu man page for reboot, there is a section that reads,

The reboot() call reboots the system, or enables/disables the reboot keystroke (abbreviated CAD, since the default is Ctrl-Alt-Delete; it can be changed using loadkeys(1)).

Litterally running loadkeys(1) doesn't seem right. How exactly do I disable the CAD reboot?

Score: 1
Andrew avatar
Ubuntu freezing after updating GPU drivers
tg flag

When using Ubuntu I frequently have my whole laptop freezing. Nothing will work apart from rebooting the system. This only happens whenever I have updated my GPU drivers to any of the proprietary drivers (so this does not happen with the below stated driver). To use the full potential of the laptop, and to speed up coding, I want to use my GPU, but for that I need to update by drivers. In the attached s ...

Score: 0
Iggy Kuperson avatar
Ubuntu 22.04 login loop after installing Python3.10
ws flag

Yesterday I have installed Python 3.10 and today I’ve tried to login and I have stuck in the login loop. I’ve tried every suggestion on Reddit and ask ubuntu, but nothing seems to work. I’m so demoralized.

Edit:

Also when i enter terminal I always need to provide PATH to basic commands like (ls, sudo, etc.) after rebooting.

I’ve tried to reinstall python i’ve tried to install software-c ...

Score: 3
gerath avatar
Can't install the snap version of Krita on Ubuntu 22.04 because it's unable to install prerequisites
sc flag

This appears to be a known issue. Read more on snapcraft forums.


I've tried to install Krita using the command snap install krita, as I get the following error:

error: cannot perform the following tasks:
Ensure prerequisites for "krita" are available (cannot install prerequisite "kde-frameworks-5-96-qt-5-15-5-core20": no snap revision available as specified)

I've tried to look up this kde-frameworks ...

Score: 0
Shiloh Pendergraff avatar
linux live kit work trouble on ubuntu 20.04
lb flag

Can someone please help me? I am having trouble getting Linux live kit to work. First I went and found the latest release. Then I downloaded it. Extracted the file. Then inside the file, there is a folder and inside that folder, there were all the files that I dropped into tmp. Then I ran all the commands. After the build was done I went into the data folder and ran the command to build the iso file. Bu ...

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.