Latest Ubuntu related questions

Score: 0
Hackermon avatar
No init found. Try passing init= bootarg
hu flag

There are a lot of similar questions but none of them worked so I'm making my own post.

I bought a VPS from Namecheap about a month ago. Last night, I was running a VSCode server and working and then I noticed unusual high CPU usage. I tried to kill the processes that were causing it but it wasn't working and I eventually decided to do a reboot (sudo reboot).

Every since now, it can't boot. Nameche ...

Score: 0
Pejman Ghasemi avatar
How to forward all or part of openvpn server traffic to another server through SSH tunnel?
sl flag

I need to route all OpenVPN client traffic from Server A to Server B via SSH tunnel.


 Client                       Server A                                     Server B
-------------------      -----------------------                         -----------------------
| OpenVPN Client  |      | Ubuntu Server 20    |                         | Ubuntu Server 20    |
| Windows 10      |----->| Local D ...
Score: 1
Harry avatar
SSH access to Ubuntu Permission denied (publickey)
se flag

I'm trying to create a new user in ubuntu with keybased authentication and to configure Github actions (via ssh) to deploy any new change done on my branch, however am stuck with SSH connection to the server which constantly throws error Permission denied. (publickey) Screenshot below.

I have admin access to the server, however issue is only for new users created which constantly throws error Permiss ...

Score: 1
Sameh Refaay avatar
how to undo installlin youtub-dl and python3-pip
ro flag

i have question i install pyhon3 pip and then I install youtube-dl

sudo install apt python3-pip
sudo pip3  install youtube-dl

how i can uninstall youtube-dl and undo installing pyhon3 as pip i get that WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager

Score: 0
user305588 avatar
PXE and UEFI SecureBoot
in flag

I am trying to PXE boot with SecureBoot enabled. My PXE does boot with UEFI enabled, however when enabling SecureBoot I get the error “Boot failed. EFI Network. Failed Secure Boot Verification.”

PXEBoot

My bootx64.efi in the tftp root looks like it it has the appropriate signing certificates.

root@hostname:/var/lib/tftpboot# sbverify --list bootx64.efi
warning: data remaining[830784 vs 955656]: gaps betw ...
Score: 5
Flibustero Blanco avatar
How to build "su" from sources?
gw flag

Try to build custom "su" on Ubuntu 20.04, but start from original sources for test (without changes). Run

apt-get source login

I got shadow-4.8.1 dir. Run

./configure
make

and try run

src/su testuser

Its does not works! Auth fail error. Run original OS binary:

/usr/bin/su testuser

and its works fine! Wtf?

I think some modules/params is missing in build process.

Going to buildlog of shadow package.

 ...
Score: 0
Panagiotis Chavariotis avatar
Apt upgrade failure due to "python3-samba": Sub-process /usr/bin/dpkg returned an error code (1)
aq flag

Something is going wrong with the package "python3-samba". As a result, I cannot proceed with any upgrade due to this package. I have tried removing the aforementioned package but in vain. I have also removed all the associated with the troublesome package files from /var/lib/dpkg/info. I tried also to reconfigure the dpkg database with no luck:

root@lubuntuhome:~# dpkg --configure -a
dpkg: error p ...
Score: 0
DaniyalVaghar avatar
Connect to Computer from ubuntu using kerio client
cn flag

i have ubuntu 22.04 and kerio 9.3.6 and i want to connect to another computer using kerio. i can connect to kerio server and it shows me in the connected user list but when i want to ping destination computer or rdp to that i cant and shows me connection time out error.it is my kerio logs:

[06/Apr/2023 17:00:51] {vpnCore} IP packet 172.26.123.57 -> 192.168.5.214 handled.
[06/Apr/2023 17:00:59] { ...
Score: -1
user3700562 avatar
How to bless boot partition for Ubuntu 22.04 on 2009 MacBook Pro
ng flag

I have performed a full-disk install of Ubuntu 22.04 on an old MacBook Pro (MacBookPro5,2 from 2009, Core 2 Duo) machine completely wiping OS X in the process.

I'm now facing the known issue of the 30-second white screen delay on boot. I already figured out I have to use the OS X bless command to set Ubuntu as the boot partition. My question is what command-line arguments do I have to pass exactly? All  ...

Score: 0
Diego Sanchez Cavalieri avatar
Lenovo USB-C Dock with multiple monitors
cn flag

I would like to connect Ubuntu 22.04 to a ThinkPad USB-C Dock by Lenovo. Two lenovo monitors are connected via display ports, these monitors are working at the time of turning on the notebook (Lenovo too) while booting, however as soon as Ububtu starts the monitors are going to sleeping mode (power saving mode). The monitors are detected in the settings panel in Ubuntu, however the image is not being di ...

Score: 1
sarobber avatar
Typing lag on Signal Desktop on Ubuntu 22.04 until I move my mouse
si flag

I have been using signal desktop for 6 month, and since a week my typing lag until I move my mouse, it is really weird, the cursor is not blinking neither until I move my mouse and then freeze again.

my env :
Ubuntu 22.04.2 LTS
Dell XPS
signal-desktop : 6.13.0

Score: 2
a.t. avatar
How to reload Bash script in ~/bin/script_name after changing it?
us flag

Context

After exporting a script to ~/bin/script_name and running it successfully from the CLI at an arbitrary place with: script_name, I have updated the content of the script. However, this update is not reflected in the behaviour.

Old content:

#!/bin/bash
echo "Old world"

New content:

#!/bin/bash
echo "Hello world"

I saved the file, and reopened it, and it shows the new content.

Expected outp ...

Score: 0
Stücke avatar
No access to specific folder for specific user
ru flag

I created the following share via smb.conf:

 [SEE-Samba Subfolder Username] 
 path = /home/see-admin/SEE-Samba/SEE-Shared/Staff/username
 available = yes
 browseable = yes
 guest ok = no
 write list = username
 valid users = username
 force user = username

I also ran:

sudo chown -R username: /home/see-admin/SEE-Samba/SEE-Shared/Staff/username

The folder shows up in Windows, however, if I open it  ...

Score: 0
charon avatar
How can I achieve automatic login to the nomachine web client without providing access credentials?
nu flag

When I use the nomachine web client, I have to enter a user name and password each time, which is a tedious step for me. I have tried to modify files such as server.cfg, web.cfg and default.nxs according to some tips on the official website, but failed. Is there anyone familiar with nomachine who can tell me how to solve this problem?Thank you very much!!!

Score: 1
Maxim Zasorin avatar
What is "o=. main" in the output of the apt-cache policy command?
in flag

In the output of apt-cache policy command I see the following lines:

500 https://repos.insights.digitalocean.com/apt/do-agent main/main amd64 Packages
     release o=. main,a=main,n=main,l=. main,c=main,b=amd64
     origin repos.insights.digitalocean.com

What o=. main mean?

I also want to understand what this means for automatic updates. I see that the do-agent package is periodically updated wi ...

Score: 0
susan babu avatar
facing error when I try to install steam on my ubuntu22.04 arm64 cloud instance?
li flag

I was trying to install Steam on my Oracle Cloud Ubuntu ARM64 instance, and I am encountering an error while running 'sudo apt update' on my Oracle OCI Ubuntu 22.04.2 LTS with ARM64-based instance. I would like to obtain updated URLs for sources. list to use in my sources. list file. Can someone please provide me the sources.list repositories with the latest URLs?

Or does anyone know how to insta ...

Score: 0
My1 avatar
Why are Chrome-based Browsers Unicode-named files downloaded as "download", can this be fixed?
bv flag
My1

Ever since some time in Februrary any Chrome-based Browsers on my Linux PC (Kubuntu 22.04) will no longer download files with Unicode-characters (e.g. if they contain any Japanese characters) normally, but instead will download them as "download".

Neither does this happen on Windows, nor does Firefox have this problem. what could be the Reason?

when downloading via chrome.downloads.download through  ...

Score: 1
SRoy avatar
Unable to access files copied (from Ubuntu Live persistent USB) on usbdata partition from Windows
mx flag

Hi: I have followed the instructions from here to create a persistent bootable Ubuntu (v22.04.2 LTS) USB flash drive that I am booting through VirtualBox [V7.0.6 r155176 (Qt5.15.2)] on Windows 10

The article mentions:

The usbdata partition will be formatted with the NTFS file system. It will be accessible to Linux, Windows, and macOS. This partition is also available from within the live Ubuntu  ...

Score: 1
anjali rai avatar
SGX Drivers are not showing with QEMU VM
ml flag

I am trying to setup Ubuntu 20.04 VM with QEMU on Ubuntu 22.04, the VM is up but /dev/sgx_enclave is not present inside VM, When I checked the EPC size, it returned "There are zero EPC sections".

sudo dmesg | grep sgx
sgx: There are zero EPC sections

I have enabled commandline args in QEMU, but it is still not working.

<qemu:commandline>
    <qemu:arg value='-cpu'/>
    <qemu:arg v ...
Score: 1
Sören Kuklau avatar
Can I override which URL openconnect POSTs to?
pl flag

A while ago, a connection to a VPN broke. The admin says it's because openconnect is sending a POST to the wrong URL. The dump looks something like this:

echo 'MyPassword' | openconnect -b --pid-file=/tmp/openconnect-pid --user="MyUser" --printcookie --dump-http-traffic entry.foo.corp/subGroup
POST https://entry.foo.corp/subGroup
Attempting to connect to server 195.222.249.123:443
Connected to 195.222. ...
Score: 0
mdthh avatar
Grub menu (entry) missing on system with many hard disks
in flag

I must admit, I have quite a mess with all my hard disks. I have 4 internal ones, 3 of which each with a particular Ubuntu on it.

all my disks

It worked fine, but now I can't boot the Kubuntu I am actually using - it is the one highlighted in the screenshot. I cant find it anywhere in the Grub menu. As a matter of fact, I don't even know, from which of my 4 hard disks the GRUB-Menu is loaded. Embarrassing, I kno ...

Score: 0
Antony avatar
Kubuntu 22.04 External usb disk doesn't mount
cn flag

I am trying to mount my hard drive with USB 2.5 Hard Drive Enclosure and dose nothing and outputs errors to dmesg. Kubuntu 22.04.2 This HDD works correctly when it is in laptop. I successfully installed Kubuntu without any errors. It mounts correctly with Ubuntu 22.04.2, Arch on same laptop same setup. Also I am able to mount it entering Kubuntu recovery root console. But when I try to connect it in nor ...

Score: 0
joao marques avatar
Can't update. I have some cache issue message
mu flag

I Receive that message when I try to update. Not connected to the Wi-Fi.

1

Score: 1
Corlade Denis avatar
ACPI BIOS error (bug) - Ubuntu does not boot anymore
na flag

I dual booted my laptop (HP Zbook studio G5) to be able to use Linux alongside Windows. Went completely fine for 3/4 weeks or so, and suddenly today I got hit with this, and Ubuntu won't boot anymore. It stays stuck on the error screen linked below. I believe I also got some messages, before booting, when it worked, but I did not pay attention to them, as I thought it's nothing but simple warnings, as e ...

Score: 1
doeke avatar
Spotify won't launch anymore (Snap error: cannot update snap namespace)
in flag
$ snap refresh
error: cannot perform the following tasks:
- Setup snap "spotify" (63) security profiles (cannot update mount namespace of snap "spotify": cannot update preserved namespace of snap "spotify": cannot update snap namespace: remove /usr/bin/gjs: read-only file system)
$ spotify
ERROR: not connected to the gnome-3-28-1804 content interface.
Score: 0
Ron Gu avatar
Installing Ubuntu 22.04 in VirtualBox causes the account to be not a sudoer nor a root user
cc flag

I have just installed Ubuntu 22.04 in my VirtualBox and created only one account, say "A". Although A is the only user in the system, it is not in the sudoers file because when I run "sudo passwd root", it shows that A is not in the sudoers file. However, to add A into the sudoers file, I must be a root user, which turns me back to the initial question: sudo passwd root.

Does anyone know how to s ...

Score: -1
Ocelot avatar
Install only Security packages in Ubuntu
US flag

I hope you're doing fine,

I'm looking for a way to install manually only security updates in an ubuntu machine

Anyone can help? thanks

Score: 0
Isa Eken avatar
Custom ubuntu desktop installer
ba flag

I modified the flutter interface of the ubuntu-desktop-installer software for Ubuntu 22.04.2 version. My goal is to have nothing but Wi-Fi displayed during the installation process and to have an automatic installation. However, I don't know how to add this application to the new ISO I will create and couldn't find any resources. Can you help me?

Score: 0
jxff avatar
Prevent reboot on each restart
mf flag

how to prevent ubuntu 22.0.4 to reboot each time the computer is restarted. Each time I am powering the laptop down and up again, I am always prompted the GNU interface and hence proceed through a system reboot. I want to know if there is a way of avoiding that in ubuntu. I just started using linux.

Score: 0
John Kimani avatar
Right click options card not properly displayed
by flag

I wasn't having this issue when I first started using Brave. About a month ago I started getting an issue with the Brave menu not displaying properly, as well as the menu that you get from right-clicking. It is also affecting YouTube and other sites from displaying properly when hovering over them.

Please refer to the screenshot.

screenshot

I have tried to update Brave and further uninstall then reinstall  ...

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.