Latest Ubuntu related questions

Score: 0
BrudnyHenry avatar
Ubuntu 22.04 Automated installtion preseed to keep installed package
ci flag

Are the following preseed keys no longer working in 22.04? d-i pkgsel/include ubiquity ubiquity/keep-installed

I have installed realmd in Cubic Chroot environemnt but it's being removed during hte installation even though I have this in preseed file. d-i pkgsel/include string realmd ubiquity ubiquity/keep-installed string realmd

But it also doesn't work and realmd is removed during the installation  ...

Score: 1
vaso123 avatar
pdo_mysql.so problem when try to install composer
cn flag

I want to install composer by apt install or composer-setup.php.

After composer made the setup, and says composer -V I am getting this error message.

Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /usr/lib/php/20210902/pdo_mysql.so (/usr/lib/php/20210902/pdo_mysql.so: undefined symbol: pdo_parse_params), /usr/lib/php/20210902/pdo_mysql.so.so (/usr/lib/php/20210902/pdo_ ...

Score: 1
Eryoka Cozart avatar
Ubuntu 22.04 autoinstall pxe not getting user-data
gy flag

testing on VirtualBox an automated install of ubuntu desktop, i have a router, dhcp, tftp, http server.

This is my pxelinux.cfg/default:

UI menu.c32
LABEL Ubuntu
  MENU LABEL Ubuntu
  KERNEL ubuntu/casper/vmlinuz
  INITRD ubuntu/casper/initrd
  APPEND root=/dev/ram0 ramdisk_size=1500000 ip=dhcp cloud-config-url=/dev/null url=http://192.168.1.1/ubuntu-22.04.1-desktop-amd64.iso autoinstall ds='noclou ...
Score: 1
Donut avatar
50% noise on USB Microphone
br flag

I've got an wireless mircophone with USB Interface (namely Rode Wireless GO II, recognized as a digital IEC958 Input). When connecting to my kubuntu 22.04 notebook the input stream over the USB connection always produces a white noise. You can also hear the microphone input if I am screaming, but the noise is much louder. The noise seem to have 50% level. Every application that I've tested so far has th ...

Score: 0
Alis avatar
mount network drive through VPN kill switch - Ubuntu 20.04 Synology DSM 7
jm flag

I know this has been asked before but nothing I try has worked. Any suggestions are appreciated!

I am trying to mount a network drive on Synology NAS 5.7 to my Ubuntu 20.04 server. If I disable ufw everything works but when I enable it, everything stops. I don't fully understand networking so I am stuck. This is what I have done so far. ANY help would be appreciated.

I have the following ufw rules w ...

Score: 1
Fishay avatar
WiFi issues after upgrading to Ubuntu 22.04
nf flag

Using 22.04 on a Dell Precision , just upgraded kernel to Linux 6.1.4-060104-generic but to no avail. Basically, there's no connection after a boot, or after returning from suspend. On boot I managed to work around this by executing sudo ufw reload. Also, for whatever reason there is a connection after a suspend (not after boot) if my machine is connected to an external display.

What could be the issu ...

Score: 1
Exquisite Mong avatar
Why does executing this shell script shut down my system?
tk flag

Ubuntu 22.04.1 LTS

Was trying to install Pycharm without using snap.

I navigated to the bin folder and then:

chmod u+x pycharm.sh

followed by:

sh pycharm.sh

My system instantly shut down within seconds.

This is the page I got the instructions from

Score: 0
Tomasz Raganowicz avatar
Flutter snapcraft succesfull build yet missing .snap file
ke flag

I am building my app on Ubuntu 22.10, using snapcraft build --use-lxd.

I get the output:

      ] -- Installing: /root/parts/myapp/build/build/linux/x64/release/bundle/data/flutter_assets/assets/icons/trash-custom.svg
[        ] -- Installing: /root/parts/myapp/build/build/linux/x64/release/bundle/data/flutter_assets/NOTICES.Z
[        ] -- Installing: /root/parts/myapp/build/build/linux/x64/release ...
Score: 2
Flame_Phoenix avatar
How to test if .desktop file is working?
us flag

Background

I have a script that changes the wallpaper on my Ubuntu 22 every 5 minutes:

#!/bin/bash

targetDir="/home/pedro/Pictures/Wallpapers"


function get_next_photo() {
    # Returns a random file form targetdir
    files=( "$targetDir"/* )
    echo "${files[RANDOM % ${#files[@]}]}"
}

function set_background() {
    # Takes an absolute file path as argument. Need * for spaces in path
    bg="$ ...
Score: 1
Altmcs avatar
Why the system doesn't recognize python3.7 as the python3 installed? (for distutils)
je flag

The ubuntu version is 18.04. The pc is in a environment which can't access internet, but can acess to a limited storage with apt and pip packages. I am trying to install distutils_3.7 on it (I use python3.7 mostly and it takes a lot of effort to install various python libs without internet so not considering upgrading yet).

At first I tried to install with:

apt install python3-distutils

, then it shows t ...

Score: 0
Rangga Gibran avatar
Java -dauto=true high memory
ru flag

I have a Minecraft server. and my server always crashes, 16GB RAM. When I check htop there is another process running like the one in the picture. and When it's been killed they appear again.

How do I disable it?

enter image description here

Score: 1
DeeKay avatar
Black Screen in Zoom
lb flag

Occuring the black screen while sharing the screen in ZOOM.

I've recently upgraded my ubuntu version 22.04

Score: 1
Joseph avatar
How do I repair a botched upgrade attempt from Kubuntu 20.04 to Kubuntu 22.04?
cn flag

EDIT 1: While kubuntu 22.04 dropped in April of 2022, many of us didn't have access to it via apt upgrade until only very recently. While even more recent versions have since dropped, it's the 22.04 LTS upgrade being referred to here, 'General Availability' specifically.

EDIT 2: "Latest" here simply means "most recently available via the repositories". I am uncertain as to how far behind that mak ...

Score: 1
John avatar
When on full screen back,forward,refresh,home buttons on Chrome do not work
cn flag

As the title says... but using the F5 key I can refresh the page and in general Chrome (not to be confused with chromium) is responsive I can open new tabs open a bookmark or the settings or click on existing tabs etc..

Also I can click on the back forward etc buttons but only if NOT on full screen.. :/

My kernel 6.1.4-x64v3-xanmod1 My OS: Ubunt 22.04 LTS

My installed package list https://paste.ubuntu ...

Score: 1
Steven D'Antonio avatar
Android on Ubunto 20.04
br flag

I just retired from my day job and I would like to run some of the android apps that currently are on the company phone on my Ubuntu machine. I tried this about a year ago with anbox and it was a total failure. I think the most important ones would be pluto TV and Tubi which would not run on anbox, but run just fine on my phone running android marshmello and they work fine on nougat also. These apps ...

Score: 1
Nicholas Saunders avatar
How to manually bind or specify the print screen key?
mx flag

For a non-specific keyboard, the mappings aren't quite correct from gkbd-keyboard-display -g 1:

keyboard

How can I manually specify the print screen key?

OS:

nicholas@mordor:~$ 
nicholas@mordor:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:    22.04
Codename:   jammy
nicholas@mordor:~$ 
Score: 0
Matt Nordsell avatar
AMDGPU drivers from AMD directly
sa flag

I have an AMD Radeon RX 6700 graphics card in my system, right now I just have the X.org driver that was originally from my 5700G APU. I am looking to actually install the AMDGPU drivers on my system and on AMD's website, they have drivers for Ubuntu and Linux. The only issue that I want to find out first is the drivers are shown to be certified to work with only the LTS releases and I have 22.10 curren ...

Score: 2
madzohan avatar
wine (64bit prefix) fails url opening from the app
in flag

Launching KSPLauncher (Kerbal space program) everything works smoothly except this ...


every time I want to open some web links I see jumping firefox icon near my cursor for 3 seconds then nothing happening


Each attempt spawns such log (using `journalctl -xef`)

Is there any way to see what was passed inside this job?

Jan 12 04:27:22 kexix systemd[1339]: Started Firefox Web Browser - Web Browser.
░░ ...
Score: 0
Petahanks avatar
Unable to get my Nvidia RTX 3070 to work. Nvidia-smi returns no devices found
kr flag

I have a relatively new Asus laptop (~1 year old) with an Nvidia GeForce RTX 3070 Mobile card (in addition to onboard Intel graphics). I use Ubuntu 22.10 with kernel version 5.19.0-26-generic. I also dual-boot with windows 11.

I am unable to get my Nvidia card working properly. For instance, the nvidia-smi command returns no devices found:

$ sudo nvidia-smi
No devices were found

When attempting to pla ...

Score: 2
ditch avatar
Can I bring up a network interface even when its disconnected?
kw flag

I'm running Ubuntu Server 20.04.

I have python3 http server running. I can connect to the eth port and access it at 192.168.1.12.

If I disconnect the ethernet and then remote access the system via wifi (direct hotspot) instead, I can't access it at 192.168.1.12, but I can at my configured wifi address of 192.168.2.12.

Next, if I connect ethernet, but still access the unit via the wifi hotspot, I can n ...

Score: -2
Gops avatar
Cronjob scheduling
tr flag
some string * 15 * * *  /etc/script.sh

If i declared a job in crontab by placing some string in the beginning after job schedule timings will it scheduled and run the job ?

Score: 0
Flatline avatar
Remote desktop from Ubuntu to another Ubuntu (22.04)?
mx flag

Is there any painless and safe way to access Ubuntu Desktop remotely within a local network?

I tried RDP and VNC with Remmina after turning on "sharing" on the settings of the remote PC, but I'm getting connection errors with both protocols. I'd like to avoid weird VNC workarounds since these break easily with updates and the machines I need to access have no monitor or input devices.

Score: 0
Nicholas Saunders avatar
How to determine the hardware details for a USB connected keyboard?
mx flag

How do I determine the hardware details for a keyboard connected through USB?

Commands I've looked at so far include:

sudo dpkg-reconfigure keyboard-configuration

gkbd-keyboard-display -g 1

sudo apt-get install console-data

and

nicholas@mordor:~$ 
nicholas@mordor:~$ lsusb
Bus 002 Device 004: ID 0461:3f41 Primax Electronics, Ltd HP Wired Desktop 320K Keyboard
Bus 002 Device 006: ID 1c4f:0034 SiGma Mi ...
Score: 1
Angelo Caseli avatar
Bought an Ubuntu Notebook - Pre Installed - Encrypted
sl flag

Apologies if this extremely easy or not related as this is my first time using Ubuntu.

I bought a notebook with Ubuntu Pre installed, however, I´m having a hard time to do the first log in.

You may find attached that when following the "usual" steps of boot, the system will jump me into a screen where it requires a password that I wasn´t informed:

Password Screen

I´ve already contacted the store to see if th ...

Score: 0
gzarpapis avatar
Opening Ports in Ubuntu 22.04
lk flag

I understand that this may seem simple enough and there are many tutorials out there, but I've tried almost everything. My goal is to open any port on my Ubuntu desktop (starting with 22 for ssh) and have access remotely.

  • I have installed Open-SSH server / client and checked for processes running.
  • Connected to my desktop with ssh from my laptop through LAN (ssh works)
  • Talked with ISP provider technicia ...
Score: 0
John avatar
Mouse cursor moving diagonally (downwards) after installing PS4 controller (that works fine in the same laptop but in windows) via BT
cn flag

So I have ubuntu 20.04 lts fully updated (basically fresh install)

Steam (With proton experimental enabled)

and I just added a PS4 controller via BT (my laptop is Acer predator helios 300)

if I switch the BT off the mouse (both mouse pad and external usb mouse) works fine/doesnt move on its own, if I connect the controller (sony ps4) via BT (havent tried USB cable yet) the mouse pointer shifts

But (wh ...

Score: 1
user2743554 avatar
How to enable pstore for kernel panics on Ubuntu 18.04?
id flag

What I have:

  • Ubuntu 18.04 server with HWE 5.4.0-136 kernel

  • systemd-237 (without systemd-pstore service).

  • /sys/module/pstore/parameters/backend contains (null)

  • pstore is automatically mounted to /sys/fs/pstore

  • EFI-related messages in dmesg | grep -i efi:

    ACPI: UEFI 0x000000003B55B7B8 000048 (v01 ALASKA A M I    00000002      01000013)
    ACPI: Reserving UEFI table memory at [mem 0x3b55b7b8-0x3b55b7 ...
Score: 1
Muhammad Zahir Siddiqui avatar
How to generate multiple files in sequence with data in sequence?
gy flag

I have to create 50 files in sequence labelled r01.inp to r50.inp and in each file I need this text in sequence as well.

#!/bin/bash
abc2 r01.inp > r01.log

I used echo and touch to create the 50 files with same data but I still have to manually change r01.inp > r01.log to match the file name. Is there any way I can generate multiple files and the data inside it is also in a sequence i.e. r0 ...

Score: 2
Wizardgizzard avatar
No Wifi selection Ubuntu 22.04 on Broadcom 4360 (Macbook Air 2015)
mt flag

I recently installed Ubuntu 20.04.1 LTS using a Live USB on to my Macbook air from 2015 (in ubuntu hardware model reads "Apple inc.MacbookAir7,2"

Upon successful installation I noticed I couldn't access anything involving wifi. Thru my research I found that it is most likely is the wifi card though I am unsure.

I am unable to connect to wifi or hardwire an internet connection without purchasing the  ...

Score: 0
22.04 unresponsive after several hours on Raspberry Pi 4 — spontaneous reboots by systemd?
bd flag

Pi 4 with Ubuntu 22.04 runs fine for several hours after boot, serving as an access point and a DHCP server. The next day it sits there unresponsive — DHCP stops, SSH is unreachable, and the AP can't be connected to. There is also no video output (which could be the result of the display output going to sleep and subsequently being unable to wake up from input devices).

Both LEDs are solidly li ...

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.