Latest Ubuntu related questions

Score: 1
WoodrowShigeru avatar
What does "enable" mean when adding a samba share user?
mx flag

In this SO question, the asking person mentions the adding and then the editing of a samba user account.

Something like this:

$ sudo useradd --system --no-create-home --group=smb-group -s /bin/false smb-user1
$ sudo smbpasswd -a smb-user1
$ sudo smbpasswd -e smb-user1

So does this article describe it as an often overlooked step.

I don't know what the issue is supposed to be, though – I can log in just  ...

Score: 0
Hemant Sah avatar
Ubuntu 22.04.2 LTS Not able to connect external monitor using HDMI
ph flag

I have HP Probook 450 G8 notebook with Ubuntu 22.04.2 LTS installed. Whenever I try to connect to second monitor using HDMI, the display settings is kind of refreshed, suddenly losing the second monitor option to vanish and come back again. My second monitor detects the signal but suddenly laptop gets back to primary monitor. Although it gives option to Save changes or Revert, but that's of no use.

 ...
Score: 0
crip659 avatar
Firefox just started with proxy server not found
pl flag

I upgraded to Ubuntu 22.04 about two months. For the last couple of days firefox snap keeps saying proxy server not found. I do not have a proxy server.

The only thing I installed on ubuntu 22.04 was windscribe VPN.

I have tried changing the proxy settings in firefox, I have uninstalled and reinstalled firefox snap, I have tried with VPN on and off. I do seem to internet connection since I just i ...

Score: 0
Kuldeep avatar
How to install GRUB boot loader to boot into Windows OS?
zm flag

I dual-booted my PC with Windows and Ubuntu OS. While installing I created different partition for boot-loader,Home and Root. On starting my PC I was again and again booted into Linux instead of windows so I just removed grub from the partition now after few months I somehow managed to boot into Linux but now as I start my PC I am booting into Linux and not getting a way to boot into windows os. And I a ...

Score: 0
Martin Oscar Caballero avatar
Ubuntu Mate: mate-panel window buttons appeear only if panel is set to expand
es flag

I'm trying Ubuntu Mate. I've used GNOME2 bfoire (like a decade or something ago), and I'm a bit puzzled about the mate-panel behavior.

I always configured GNOME2 to have the window buttons in the top panel and delete the lower panel. I think it used to be easier when I used GNOME2. The thing is, when panel option "expand" is disabled and mate-panel is filling the desktop width, window buttons are ...

Score: 6
David Newman avatar
Ubuntu kernel upgrade to 6.2.0-26 failed
pm flag

3 edits with further information at the bottom of this question.

When I routinely upgraded to the latest generic kernel, the upgrade failed and stopped my computer booting. I had to do a zfs rollback to recover. It had created a vmlinuz-6.2.0-26-generic but no initrd.img file. I have plenty of space in my boot directory (622208 kb). When I tried to install the package, I got dpkg errors:

dave@dave-X570 ...
Score: 0
Zvi Vered avatar
Vanilla 5.4.249: Boot signed kernel
kr flag

I rebuilt vanilla 5.4.249 (x86_64) downloaded from kernel.org It boots Ok. Then I tried to sign bzImage using the same procedure I found for ubuntu: sign linux kernel for secure boot

But I got: error: bad shim signature

I'm booting the signed kernel with signed grub 2.06 I installed with knoppix 9.1. Signed grub is booting Ok.

Is it possible that the signing procedure for Ubuntu is different from t ...

Score: 0
yedica5962 avatar
iphone suddenly not detected on ubuntu 22.04
br flag

I am currently trying to connect an Iphone 12 IOS 16 to my machine and while it used to work before without needing anything other than connecting, after buying the new phone, it started acting up.

I've reinstalled all the libraries necessary and disconnected the device more times than I can count. It was detected 2 or 3 times out of a 100, and it once gave me an error which said something along  ...

Score: 0
merlino avatar
Wireless problem: I can't connect to any wifi even if I can see the SSID (Xubuntu 22.04LTS)
cn flag

I just installed Xubuntu 22.04. Everything works fine except Wi-Fi. I managed to connect with a cable and did all the software updates, but the problem still remains. When I try to connect to my access point I can see the SSID as in this screenshot, but when I try to connect the "disconnected" banner appears and I cannot access the web.

as in this screenshot

I've also tried to connect to a different network, but it is the  ...

Score: 0
Rahul Sharma avatar
Unable to login to Ubuntu 20.04 Server
nf flag

Team,

I am Unable to login to Ubuntu 20.04 Server as post entering user credentials it again comes back to login screen. I tried with both local as well as domain credentials but same result.

Need assistance on resolving the issue without formatting or redeploying the VM as that would be the last option as its a Production Server.

Thanks in advance..

Score: 0
Kochy_Okami avatar
Problem with Bluetooth after removing 'brltty' package
sh flag

I have a problem with Bluetooth on my Laptop. I'm on Ubuntu 22.04.2 LTS. It has always worked very well but yesterday i try to connect my ESP82 on my PC but for allow the detection with USB connection I find a topic who say to remove the package brltty and after this my ESP was recognized but the Bluetooth no longer works — it shows me "No Bluetooth Found" "Plug a dongle to use Bluetooth". I don't  ...

Score: 0
Nada avatar
Can't unmount /dev/sda2
in flag

First I tried Gparted but couldn't unmount it when I tried the terminal command sudo umount /dev/sda2

I got this message:

umount: /: target is busy

.

lsblk -f /dev/sda gives this:

NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda
├─sda1 │ vfat 5AF1-7D88
└─sda2 ext4 fc57d466-2433-4afc-88b8-6198c1fe1ce7 681.2G 20% /

Then I tried

Score: 0
Artem avatar
Mouse pointer moving only in 8 directions
mr flag

I am dual-booting Windows 11 and Ubuntu 22.04 LTS. On Windows, mouse works perfectly fine, but on Ubuntu it can move only 8 directions: up, down, left, right and corners. For example, if I move the mouse in upper direction, and only slightly to the left/right, it will either not move, or move only up.

What can I do to fix this? I tried to check mouse parameters using xinput, but there was nothing ...

Score: -2
Keep Quit avatar
sudo apt-get update && apt upgrade tried to run this command and got a error
va flag

I run the command apt update and upgade but it gave this error .I tried the other methods like dpkg other fixes, but it did not get fixed. Also used grep command also

the error ss

Score: 0
Vincent Tschanz avatar
Openvpn as nobody fails: Options error: --status fails with '/var/log/openvpn/openvpn-status.log': Permission denied (errno=13)
in flag

Openvpn on Ubuntu 22.04

I can run successfully openvpn as superuser. Now I want to run it as user nobody before making it a service.

sudo -u nobody openvpn /etc/openvpn/server/server.conf

However I have the following error:

sudo -u nobody openvpn /etc/openvpn/server/server.conf                        
Options error: --status fails with '/var/log/openvpn/openvpn-status.log': Permission denied (errno= ...
Score: 0
Ali Alipour avatar
Restoring systemd
so flag

I have duale boot windows and xubuntu on my pc.I mistakenly remove all Systemd directories and xubuntu crash in login page and the resolution of it becomes low and it does not boot. How can I restore systemd with all dependencies and configuration. Its better that my packages not be destroyed.

thanks

Score: 0
Argon avatar
Password authentication failure
mc flag

Upon installing Ubuntu 23.04, I encountered difficulties with entering the password during login. Despite reinstalling the operating system and setting the password in alphanumeric form, the problem persists, making it challenging to access the system.

In an attempt to resolve this issue, I read through the "Password Authentication Problems" blog, hoping to find a suitable solution. I diligently  ...

Score: 0
babayaga avatar
ldapadd: invalid format (line 19) entry: "" . Need help
sj flag

Command:

sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f custom_schema.ldif

Output:

adding new entry "cn=my_custom_schema,cn=schema,cn=config"

ldapadd: invalid format (line 19) entry: ""

custom_schema.ldif content:

dn: cn=my_custom_schema,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: my_custom_schema

attributetype ( 1.2.3.4.5.6.7.8 NAME 'employeeID'
  DESC 'Employee ID'
  EQUALITY caseIgnoreMatch
  ...
Score: 0
Umair Ahmed avatar
Ubuntu Shutdown during boot
pa flag

i have installed ubuntu 22.04 along side window 10, after upgrading Ubuntu my machine is shutdown immediately showing error pamouse serio3: synaptics :unable to initialize device every-time its show error during boot and shutdown please guide me what can i do to resolve the issue

Score: 0
Aleks Krumov avatar
How to create a relative symbolic link for a file
si flag

I'm trying to create a link to a JS file. If I type ln -s ./script.js ./scriptLink it successfully creates a working link. But If I type ln -s ./script.js ../scriptLink, the link that's created has red X and an orange lock on the icon.

When I type ls -l in the parent directory, I get

lrwxrwxrwx 1 alex alex 11 July 30 11:38 scriptLink -> ./script.js

and scriptLink and ./script.js are red. I also  ...

Score: 1
Sel avatar
How to solve the error for Install the PHP on WSL2 Ubuntu?
mw flag
Sel

I use WSL2 Ubuntu 22.04 LTS and tried to install the PHP 8.2.

sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt upgrade
sudo apt install php8.2

then the error is follow.

libapache2-mod-php8.2 depends on php8.2-common (= 8.2.8-1+ubuntu22.04.1+deb.sury.org+1); however:
  Package php8.2-common is not configured yet.
 libapache2-mod-php8.2 depends on php8.2-opcache; however:
  Package p ...
Score: 0
Andrei Stan avatar
GNOME control center display settings not showing any displays
gq flag

I am having this problem since I got a new NVidia GPU (I was using an Intel IGPU previously). For setting up my displays I am using xrandr, but I need to import icc profiles for my 2 monitors, which as I think, xrandr cannot do by itself. GNOME Color Manager would be great to use for this. The only problem is that it does not detect my displays.

This is my xrandr output:

Screen 0: minimum 8 x 8, curren ...
Score: 0
amed svensson avatar
Multi screen not working on Ubuntu 22.04 on Lenovo laptop
vu flag

I have a dual operating system Ubuntu 22.04.2 LTS and Window 11, on window 11 the external two screen works fine while on Ubuntu it does not and I can't see any configuration in the setting. The below are details from the command line.

$ lshw -c video
 *-display UNCLAIMED       
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       p ...
Score: 0
TSE _Chennai avatar
Google_chrome tab crashing issue on Ubuntu
gm flag

some time I'm getting this issue on Google chrome tab changes, using Ubuntu 22.04. I did complete all the updates even Ubuntu and applications, in Chrome.

  • Performance -> Memory saver-> turned off
  • Settings -> System -> Use hardware acceleration when available = turned off
  • Settings -> System -> Continue running background apps when Google Chrome is closed = turned off

I'm facing t ...

Score: -2
BIJON SAHA avatar
I cant find settings on my PC
bi flag

I need the Ubuntu settings app for a reason. but I can't find it on the software list please give me the solution!!

Score: 2
Chuctanunda Spiderbone avatar
How to batch delete the first n bytes of a series of .jpg files to fix corrupt headers
fm flag

Situation: I have a folder filled with .jpg files that have corrupt headers: .jpg files need to start with FF D8 FF E0 to be interpreted as images, but my files have random values in the first four bytes followed by FF D8 FF E0. I have been manually deleting the first four bytes with a browser based hex editor: https://hexed.it/. It works nicely, but I can only fix one file at a time, which is tedi ...

Score: 0
MaxIT avatar
Iptables is constantly in loop and banning same IP indefinite
tf flag

1 IP is constantly banned and added to iptables, it fills my iptables with 50.000+ of DROP lines for "Same" ip.

How is this possible? If 1 IP is banned and goes to drop rule, that ip should not be able to reach server anymore and should not be added many times with same rule.

This is causing adding 50k+ lines in iptable rules and causing my cpu load average to go crazy after my server needs reboot.

Score: 0
JaSON avatar
How to solve cmake "Could NOT find Threads" issue on Jenkins
ss flag

I'm trying to create a Jenkins job that need to build a project with CMake, but keep getting an error

Could NOT find Threads (missing: Threads_FOUND)

I've installed both

libpthread-stubs0-dev

and

libboost-thread1.67-dev

but the problem persists... I found this SO ticket, but since all works fine locally I don't think that problem in a code itself and it should fixed somehow.

Does anyone faced the  ...

Score: 0
Linda Eknoian avatar
Ubuntu Freezes Up
ng flag

Every time I open my VM and log into Ubuntu, the system freezes up. I am currently using Windows 11 Pro Operating system. I am experiencing many freezes up and I am using Firefox within Ubuntu to log into Nessus but I am unable to do a basic scan because Ubuntu is using too much memory and freezes up. Is there a workaround to this issue? Why is this happening?

Score: 0
jimav avatar
How to 'dconf dump' from a specified database file?
cn flag

How can dconf settings be extracted from "cold" data file(s) rather than the current running system?

dconf dump ... presumably extracts data from a cached copy or mmap of $HOME/.config/dconf/user.

I want to restore my gnome-terminal profiles from a backup. The backup contains a copy of $HOME/.config/dconf/user and I want to do the equivalent of dconf dump /org/gnome/terminal/ but make it read that b ...

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.