Latest Ubuntu related questions

Score: 0
Slimat avatar
Swap partition on VPS
lu flag

Sorry that this is a very similar thread to some others, but as this is a production server I need to make sure what I am doing is right first time and I am still an Ubuntu novice.

I have an Ubuntu 20.04 LTS VPS which is 250Gb SSD + 2Gb RAM. I checked with htop and it shows that the RAM is ticking over at over 96% used. So I was going to add a 4Gb Swapfile - but when I check the current provision it sho ...

Score: 0
Mori Kitagawa avatar
Cannot change my second monitor resolution to 1366x768
US flag

I'm a new Linux user I just installed ubuntu on my laptop after it got installed, I connect my second monitor via VGA and that monitor cant reach 1366x768, it says on the setting that it only can reach 1024x768 I tried to install the graphic driver but it didn't fix the problem , my laptop spec Thinkpad x230 CPU: Intel® Core™ i5-3320M CPU @ 2.60GHz RAM:8gb

Ubuntu 22.04.1 LTS

Score: -3
jafarlihi avatar
Does audio work in Zenbook 14x UX5401ZAS?
co flag

Here it is in the hardware database: https://linux-hardware.org/?view=computers&vendor=ASUSTek+Computer&model=Zenbook+UX5401ZAS_UX5401ZAS

Audio chip is reported as Realtek ALC294.

Audio issues have been reported with Zenbooks and this audio chip. I wanted to know, what's the state of affairs currently? Does it still not work? Can anyone with this model or chip comment please?

Score: 0
Nicholas Saunders avatar
How to match results with grep from a list of words in a file?
mx flag

for this example:

grep 'word1\|word2\|word3' /path/to/file

can these be placed in a file?

something like:

grep '<file_with_a_list_of_words>' /path/to/file

for a large list of words to match.

Score: 1
Feystray avatar
Fingerprint sensor for ubuntu
hr flag

I had recently switched to ubuntu from windows. After switching , my validity fingerprint sensor stop working.
how to use it. I tried many stuffs on internet such as fingerprint gui tools but can't use it. But, my sensor is already dectected using lsusb command
Bus 001 Device 004: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingerprint Reader

Score: 0
assylias avatar
Service restarted at every apt upgrade
in flag

Everytime I run apt upgrade and there is an actual upgrade, a service that I have created gets restarted. Typically, I get this message

┌────┤ Daemons using outdated libraries ├─────┐
│                                             │
│                                             │
│ Which services should be restarted?         │
│                                        ...
Score: 0
scstwupvoaftqpaguv avatar
random crash running 20.04.5 LTS
jo flag

My ubuntu installation randomly crashes and I'm very perplexed as to why.

The crashes only seem to happen when I run the gnome shell from boot. When I boot into "text" mode via grub, I have yet to reproduce it (but honestly I ran the gnome shell for a day with no issue).

The restart/crash pattern seems so random, sometimes nothing is happening for hours on end, then seemingly just restarts every 5  ...

Score: 3
reducing activity avatar
Ubuntu 20.04 - how can I stop waiting for NetworkManager.service during startup?
cn flag

I prefer network to setup itself when I start computer, but I prefer to boot earlier and have network connect while I type my password and so on.

Sadly, according to systemd-analyze critical-chain I am waiting for NetworkManager.service startup during boot.

Is there a way to change that so that it still does its network things and it is not delaying boot?

graphical.target @8.083s
└─multi-user.t ...
Score: 0
MUSAID P.P avatar
black screen on boot with blinking cursor after Ubuntu 22.04 kernal 5.15.0.58-generic update
lu flag

Just before the restart, I have installed camorama application and its dependences such as cairo, gnome-common, libv41-dev, gdk-pixbuf-2.0, gtk+-3.0.

I tried some available solutions with regards of lightdm and gdm3 by getting into the tty2. I also found some error with regard of Xauthority saying unable to open display.

I tried running boot-repair from tty2 and it has shown as below : *xhost: unabl ...

Score: 0
reinforcers avatar
docker mysql 5.7 on ubuntu 22.04
mr flag

I'm used to using Ubuntu 20.04 and docker mysql created like this:

sudo docker run --name mysql-57-container -p 127.0.0.1:3310:3306 -e MYSQL_ROOT_PASSWORD=. -d --volume=/usr/share/docker/mysql57/conf.d:/etc/mysql/conf.d --volume=/usr/share/docker/mysql57/data:/var/lib/mysql mysql:5.7

after that I can access it using mysql -u root -p --host=127.0.0.1 --port=3310 even though I had mysql 8.0 installed ...

Score: 0
Martin Oscar Caballero avatar
Is it possible to open About Ubuntu window in Xubuntu?
es flag

I've been using Ubuntu for ages (Karmic or Lucid, I don't remember) and if my memory serves me well, the Details or Overview section was present in the system settings in GNOME 2 and Unity. But when I switched to Xubuntu years ago, that section was nowhere to be found in the settings.

Is it possible to install it? Or is it installed but not visible? Can I run it from the CLI? I've tried typing details

Score: 0
reinforcers avatar
anydesk cannot open ubuntu 22.04
mr flag

I got new installed 22.04 PC, after completing anydesk installation it work fine but when I click quit then open it again it won't open at all at least until I restart my PC, is there any reason why?

Score: 0
松原美紅 avatar
I want to hide the shutdown menu on the GUI
bz flag

I want to hide the shutdown menu on the GUI. I want to run it with settings such as Config instead of apps.

Execution environment: Ubuntu22.04, desktop PC

Score: 1
How to configure netplan so enp9s0 goes to internet and enp5s0 goes to lan?
in flag

I must build a replacement server using Ubuntu 20.04.5 LTS, and I'm trying to migrate from NetworkManager to netplan. My new server can connect to the internet, but complains that it has no route to my 192.168.0.0 lan network. All pings to lan hosts result in Destination Host Unreachable

I have an old Centos7 server that uses NetworkManager that works the way I want. On that older host, galactica

Score: 1
Ron avatar
File policy-rc.d in WSL1 not found
bm flag
Ron

I am trying to resolve the udev issue in my WSL, and I am following the "Apt-get upgrade errors" troubleshooting steps in the WSL docs.

To fix issues related to udev, follow the following steps:

  1. Write the following to /usr/sbin/policy-rc.d and save your changes.

    #!/bin/sh
    exit 101
    
  2. Add execute permissions to /usr/sbin/policy-rc.d:

    chmod +x /usr/sbin/policy-rc.d
    
  3. Run the following commands:

    dpk ...
Score: -1
kkyucon avatar
Ubuntu Server 22.04 automatically installs open-vm-tools
ae flag

When I apt update and apt dist-upgrade the process installs open-vm-tools package.

Why is open-vm-tools being installed on a bare-metal server?
Could it be a dependency that I am not aware of?
Is this package assumed by developers to be useful in most cases?

Here is the output from apt update:

Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://ca.archive.ubuntu.com/ubuntu jammy-update ...
Score: 0
ForDummies avatar
Why is one of my machines refusing to accept ssh into the root account?
pm flag

I have a cluster of 7 machines. All run Linux; 5 of them running Xubuntu 20.04.5, including all three I'll mention here. All have a root account and one user account. I am the only actual user; this is a hobby.

They are set up largely identically, to keep my life simple. Nevertheless, one of the machines refuses to accept incoming SSH connection to the root account, although connections to the ...

Score: 0
Ethan Poag avatar
USB headset dongle not showing up as output
cv flag

I just plugged the USB wireless dongle for my JBL headset into my Ubuntu computer and I cant get audio to play through it. It shows up when I run lsusb and I also tried cat /proc/asound/cards. It also shows up as an input device in the settings menu, but not as an output. Any help would be greatly appreciated. Thank you.

lsusb returns:

Bus 001 Device 014: ID 0ecp:2069 Harman International Inc JBL Quan ...
Score: 0
SomeoneThatCodes avatar
E: The repository 'https://ppa.launchpadcontent.net/xorg-edgers/ppa/ubuntu jammy Release' does not have a Release file. Ubuntu 22.04
au flag

I have had this error since last month and I haven't found a way to solve it until now. Whenever I run the sudo apt update command it shows E: The repository 'https://ppa.launchpadcontent.net/xorg-edgers/ppa/ubuntu jammy Release' does not have a Release file. error message and I don't find any solution for it, for the moment my computer works perfectly. Still, I think it is way better to solve the ...

Score: 0
brent groves avatar
Only 1 of 3 OpenEBS ndm and csi pods are being created on install
hm flag

Setup

  • The nodes are 3 Ubuntu 22.04 server VM installed on VMware ESXi, 6.7.0 PowerEdge R710 server.
  • microk8s channel 1.26/stable
  • OpenEBS community add-on

The issue:

I think the reason openebs-jiva is not working is only 1 ndm,cstor-csi, and jiva-csi pod expected 3 of each.

(base)  brent@reports41  ~  kubectl get all -n openebs                                  
NAME                                  ...
Score: 0
TheZsolessz avatar
Ubuntu don't see second display and randomly logs out
th flag

I'm using a Lenovo P50 notebook with Ubuntu 22.04.1 LTS and I have a few problems with it.

Since the last update(which included a kernel update I think) my OS randomly logs out while I'm using it. I have encountered this problem in the summer and I tried to solve it. Somehow it worked, because it didn't show up for 1-2 months. I don't remember exactly what I solved it with at the time. Now I just ...

Score: 0
slazien avatar
How to clone a bios_grub partition?
no flag

I want to create a clone of my SSD. My partition table looks like this:

Partition table screenshot

However when using Clonezilla (which uses Partclone) in the dd mode, it fails to clone the first 1MB bios_grub partition (BIOS boot). When trying to make a clone in the "disk-to-image" mode, it also fails.

How to go about this? Alternatively, since I'm booting exclusively in UEFI mode, is it safe to simply delete this partition?

 ...
Score: 0
Tegas Gagas Impian Prahita N avatar
saods9 package require base64
zw flag

i have been running ds9 on Ubuntu, but got some massage error.

Error in startup script: can't find package base64 while executing "package require base64" (file "/usr/share/saods9/library/ds9.tcl" line 216)

Can you help me to fix it? Thank you.

Score: 0
KitCat avatar
I deleted a 300GB "syslog.1" file in "/var/log/", because it had filled my disk drive. However, the disk space remains used
cn flag

I was prompted that I was running low on disk space, so I checked my disk useage and found a "syslog.1" file that was over 300GB. When I opened the file it was an endless stream of some tracking error. I naively gave myself sudo privileges and deleted the file, and now I'm dealing with the consequences. The file is no longer visible, but my disk useage remains full.

I gave my machine a restart, b ...

Score: 2
Ubuntnoob avatar
How do get my system to use the latest installed kernel?
ec flag

I recently upgrade from Ubuntu 18.04 to 20.04 and then to 22.04. At least when going from 20.04 to 22.04 I got a prompt asking if I wanted to install the latest kernel, and I said yes (I can't remember what exactly happened when going from 18.04 to 22.04, to be perfectly honest).

The upgrades seemed to complete successfully, and I rebooted after each. However, it looks like the system is still u ...

Score: 3
user227495 avatar
Warn when new WiFi devices on LAN network
us flag

I connect through Ethernet. But almost all other devices use WiFi. Is it possible to get a list of devices connected to my router in Ubuntu 22.04? It would be great if there is some method to get an alert as well when a new device is connected to the WiFi network.

Edit 1: Interestingly arp -a is giving more details, but no device information. A few internal IPs and MAC IDs.

Edit 2: I think more details ...

Score: 0
Vikas Goel avatar
Sony Noise-Cancelling Headphones (WH-1000XM4) on Ubuntu 22.04 gets reset to HFP (Hands Free Head Unit)
my flag

When I try to connect my Sony WH-1000MX4 headphones to my laptop - running Ubuntu 22.04, it connects as Handsfree Head Unit (HFP) mode and if I click the Test Sound option - it is in mono mode. The sound quality is pretty bad.

On manually switching to the "High Fidelity Playback (A2DP Sink)", it gets reset to HFP mode. I have tried resetting the connection/ completely unlinking the Bluetooth devi ...

Score: 0
Diego Manzanares avatar
Creating a similar approach to Intune deployment system based on MAC addresses
jp flag

I have an Ubuntu 20.04 server running under Google Cloud with a static public IP assigned and a bunch of clients which have to be configured using a common image for all of them. I want to configure the server for it to become a deployment profile system (kind of similar to Intune with Autopilot) but based in the client MAC addresses (as they are known by me) for the clients to connect to this server an ...

Score: 0
Brian Tracy avatar
How to recover Ubuntu 20.04 login password?
ls flag

I've seen the post below, and I've reset the root psw, but I'm still unable to login via RDP. I use mRemoteNG to login, not sure why I'm unable to login. At Ubuntu login page I get:

User: root (can't change it) Then I type the password that I use to SSH

SSH works fine, but Ubuntu doesn't login via Remote Desktop
A month ago I was able to login, but now I'm not sure why the password doesn't work anymore..

Score: 0
Marcus avatar
Where is the current development repository of the Ubuntu Mainline kernel?
jo flag

For (I believe) a long time, the development repository of the Ubuntu Mainline kernel has been git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack.

However, this repository hasn't been updated for a while. The latest published Mainline kernel is 6.2-rc5, while the latest kernel in the repository is 6.1-rc5.

What happened? Is there a new repository, or is the mainline ...

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.