Latest Ubuntu related questions

Score: 0
Moasson avatar
Error: "System error" when joining server to Active Directory with SSSD
in flag

I am trying to join an Ubuntu 20.04LTS server to an Active Directory using the instructions found here. Everything goes well until I get to test the login in this section:

Finally, how about we try a login:

root@ubuntu-server:~# sudo login
ubuntu-server login: testuser@domain.com
Password:

System error

Here is the content of my /etc/sssd/sssd.conf file:

[sssd]
domains = domain.com
config_file_version =  ...
Score: 1
Ubuntu Intermittently Refuses New Network Connections
ph flag

I have an desktop running Ubuntu 22.10 that allows SSH connections and has a Plex server running on it. It generally runs fine except that it will occasionally refuse connections - SSH fails with Connection refused and so does a new Plex window. The network isn't down; any existing video stream doesn't stop and an open SSH shell will continue to work, I just can't add a new connection.

Are there  ...

Score: 0
user3284954 avatar
2 partions on my windows 10 computer - Ubuntu will not install on the correct one
ee flag

I have a Windows 10 Home PC with a 1 TB Samsung SS drive in it. Windows made two partitions on the drive. One is only 500 MB. It is called "NTFS Healthy (System, Active, Primary partition)". It has no drive letter.

The other partition is my C drive, and it says "Healthy (Boot,Page File,Crash dump,primary partition)".

When I boot to a flash drive with Ubuntu, and run it with out loading it onto m ...

Score: 0
Ruwaa Mohamed avatar
Fingerprint Device Disconnected (04f3:0c6e Elan Microelectronics Corp. ELAN:Fingerprint)
cn flag

I'm running Ubuntu 22.04.2 LTS on ASUS Zenbook. When I try to enroll a fingerprint, it says "Fingerprint device disconnected".

$ sudo lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 04f3:0c6e Elan Microelectronics Corp. ELAN:Fingerprint
Bus 003 Device 002: ID 13d3:56ef IMC Networks USB2.0 HD UVC WebCam
Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bl ...
Score: 0
Nirmal Baishnab avatar
Invalid MIT-MAGIC-COOKIE-1 key While using a program that uses petsc and libconfig
tn flag

I am getting the following error message while running my program. I have no .Xauthority file present in my home directory. I am trying to run this program on my local machine. And the program runs fine in HPC clusters.

Invalid MIT-MAGIC-COOKIE-1 key[nirmal:278600] *** Process received signal ***
[nirmal:278600] Signal: Segmentation fault (11)
[nirmal:278600] Signal code: Address not mapped (1)
[nirmal:27 ...
Score: 0
jackson avatar
Apt-offline unmet dependencies error on Ubuntu 22.10
gn flag

I'm working on getting software onto and air-gapped machine running Ubuntu 22.10 by using apt-offline. I was able to complete Sequence 1 on the documentation then proceeding with sudo apt-offline set upgrade.sig --upgrade I get and error saying unmet dependencies. I also get this error trying to make a signature file when installing a package. The error is Gathering details needed for 'upgrade' operation ...

Score: 1
vwvw avatar
Installing Perf on Ubunutu 20.04.5 LTS
mx flag

I'm trying to install perf on my Ubuntu server. To install linux-tools, I tried both linux-tools-generic, linux-tools-generic-hwe-20.04-edge and linux-tools-5.15.0-69-generic getting this error every time:

Unpacking linux-tools-common (5.4.0-146.163) ...
dpkg: error processing archive /var/cache/apt/archives/linux-tools-common_5.4.0-146.163_all.deb (--unpack):
 trying to overwrite '/usr/bin/perf', which ...
Score: 0
Chas de Mont avatar
How can I activate sharing on Xubuntu 22?
US flag

I recently installed Xubuntu 22 on an old iMac. Most things are working out well. However, there doesn't seem to be any way for me to share folders from my Xubuntu installation with any other computers on my LAN. I have searched for answers but can only see the instruction to right-click on the Public Folder and from the menu select Share This Folder or Create Share for this folder. No such commands exi ...

Score: 1
Andrea Alfieri avatar
apt problems after upgrading to 22.04
gr flag

After upgrading to Ubuntu 22.04 I'm not able to find and install GIMP via apt.

Here is the log:

sudo apt-get install gimp
Reading package list...
Generating dependency tree...
Reading status information...
Some packages cannot be installed. This can mean
that an impossible situation has been requested or, if you are
using a distribution under development, that some required packages
they have not yet b ...
Score: 0
Ronin7 avatar
Why do I got php code when accessing phpmyadmin?
sr flag

I'm trying to use phpymadmin on Ubuntu 22.04, I've already install LAMP server. When I accesss localhost/phpmyadmin on my browser, I get the following php code enter image description here

I know there's other question similar to this, but so far I haven't found a solution. I've already installed phpmyadmin and apache. I've aleready install libapache2-mod-php8.2, and also tried creating a symbolic  ...

Score: -2
tariq said avatar
I need help connecting serial ports to Ubuntu in WSL
vu flag

I have attempted many ways of trying to connect the serial ports, but I'm not sure how as they all show input output error. The system does recognize something is connected as shown on the screenshots.

enter image description here

enter image description here

enter image description here

I have tried edit the coding to /dev/ttyS39 and 40 also /dev/ttyS29 and 30. I'm not sure how to get the ports to connect.

Score: 0
Alexander Zeitler avatar
Some icons in Xubuntu Panel are inverted / without color
ye flag

Out of sudden, some of the Panel icons don't have colors any more in Xubuntu 22.04:

Icons affected are:

  • Bluetooth settings
  • Dropbox
  • Wifi

This is how it looks like:

enter image description here

Score: 0
Connecting to a *specific* remote folder with Files application (over `sftp`), instead of default user home directory
us flag
joe

Using the Ubuntu normal "Files" application you can click "Other Locations" and then connect to a remote server over sftp like this:

sftp://user@123.123.123.123

But what if I want to start in /var/www/website.com/public_html instead of the user home folder?

I tried these:

sftp://user@123.123.123.123/var/www/website.com/public_html
sftp://user@123.123.123.123/../var/www/website.com/public_html

but they t ...

Score: 0
mauricio avatar
Laptop sleeps even though sleep is disabled despite power and screen settings
tz flag

relatively new to Ubuntu, using 22.04 LTS.

Using it on my laptop and every time I lock my computer screen, the computer goes to sleep. I don't want this. I want it to stay on the lock screen, at least while plugged in I do not want to computer going to sleep whatsoever.

I configured this in the power and sleep settings and it doesn't seem to be listening, I do not know why.

Here are the screenshots of  ...

Score: 0
apokryfos avatar
Second screen does not work initially
cn flag

When I first boot my second monitor (an old Dell P2311H) shows "The current input timing is not supported by the monitor display. Please change your input timing to 1920x1080@60Hz".

I have checked the "screen display" settings and indeed that is what is selected on that screen.

When I switch to "single display" and then back to "join displays" the problem goes away and the screen works as expected.  ...

Score: 0
user3261738 avatar
rename command fails saying file exists when it doesn't
tv flag

I needed to change the case of filename extensions and used this command in a directory of 26 WAV files: rename 's/.WAV/.wav/' *.WAV It worked successfully. I then changed to a different directory where I needed to repeat the process. But the command failed with errors that the lower case named files already existed. The ls or even the ls -a command proved the files did NOT exist. Only the upper case fi ...

Score: 1
mdolphin avatar
gio: Setting attribute metadata::custom-icon not supported
cd flag

On Ubuntu 22.4 lts I can manually assign an icon to an executable file in nautilus, by right clicking on that file in the file explorer, select "Properties", click on the default icon, and select a new icon file.

After I've done that gio info <filename>
gives me metadata::custom-icon: file:///my-icon.png
So far so good.

But when I try to set the icon via gio like this

gio set -t 'string' "${FILE_ ...

Score: 1
rhys_stubbs avatar
NVIDIA Quadro T1000 Mobile graphics driver issue Ubuntu 22.04.2
in flag

Recently I upgraded and installed a fresh copy of Ubuntu 22.04 LTS on my Lenovo ThinkPad P53, it has a NVIDIA Quadro T1000 Mobile graphics card but ever since moving from Ubuntu 20 I've struggled to have a stable install of any NVIDIA driver and instead used the Nouveau driver.

OS: Ubuntu 22.04.2 LTS (Jammy) (source: lsb_release -a)

Graphics: NVIDIA Corporation TU117GLM [Quadro T1000 Mobile] (rev ...

Score: 1
MadsK avatar
Need help with inotifywait loop only processing one file
qa flag

I have created a shell script that runs an inotifywait command.

It watches a folder for new image uploads (That comes from a website) and then uses Imagemagick to resize them, move them to another directory and then sends a command to a remote wordpress installation to import the images.

It looks like this (I've created it as a service, so it runs at startup)

#!/bin/bash

TARGET=/var/www/img/uploads
PROC ...
Score: 0
stereoDotLuigi avatar
Desktop wallpaper is covered in black
mp flag

I need help about this problem. I use Ubuntu 22.04 as a clean install. I decided to change libadwaita to Materia-dark-compact for applications only and followed this tutorial: https://www.reddit.com/r/gnome/comments/v1aw6k/themeing_libadwaita_a_tldr/

It worked with a twist, my wallpaper is now covered in black. My wallpaper still exists under that black thing.

Wallpaper covered in black in Desktop: ...

Score: 0
TheSteal49 avatar
How do i Update Drivers for my Graphics card
gb flag

I am using Ubuntu 22.04.2, and my graphics card is an rtx 3070. However when i checked the "About" section it states that i currently have this "llvmpipe (LLVM 15.0.6, 256 bits)", whatever this is as my graphics accelerator. How do i fix this, and install the drivers?

Score: 0
Restart network interface after reconfiguration of default gateway
cn flag

I had to swap out my router, and unfortunately that also means changing the default gateway.

I have updated the configuration in /etc/netplan/00-installer-config.yml with my net configuration and run # ip link set eno1 down && ip link set eno1 up, which corresponds with my network adapter:

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    li ...
Score: 0
MOOZAY H avatar
PC Using LLVMPIPE Instead of Matrox GPU
mg flag

I have been making using of my pc for a while and had bad display. thought it was my monitor so I decided to change it. but later figured out that my system is making use of Llvmpipe instead of the Matrox. How can I rectify this issue?

running on matrox g200, failed to find any drivers to install. ubuntu 20.2

Score: -1
Luís avatar
Can't open gnome-control-center: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed cannot open display: :1
jm flag

when I used gnome-control-center it gave me a segfault error, so I tried sudo apt install --reinstall gnome-control-center but nothing changed. After searching I tried export CLUTTER_BACKEND=gdk GDK_BACKEND=wayland and now when I try to open the settings with gnome-control-center it gives me the following error:

(gnome-control-center:16171): Gtk-CRITICAL **: 15:12:15.408: gtk_style_context_add_pro ...
Score: 0
James E Keenan avatar
Upgrade to 22.04 fails at Restart Computer; unable to restart computer
fr flag

Today attempted to upgrade from 20.04 LTS to 22.04 LTS. Encountered some problems during upgrade, but those appeared to have resolved themselves (see below). Once I hit the "Restart Computer" button, however, the GUI disappeared and was replaced with a full, blank screen with an error message starting:

/shutdown: error while loading shared libraries: libsystemd-shared-249.so: camo
open shared obj ...
Score: 2
MICHAEL SMITH avatar
bash: syntax error near unexpected token '|'
kw flag

Once logged in, use the "Find" utility to search within the current folder for the file whose name matches the following regex pattern:

  • lower-case letter
  • number
  • special character (% & # or -)
  • 2 lower-case letters
  • special character (@ : ? or ;)
  • number
  • uppercase letter

The command you will need to use is: find ./ -regextype posix-extendet -regex ^.*\/~~~~~~~ Where ~~~~~~~ is replaced with yo ...

Score: 0
Kevin Andrew avatar
How do I dual boot my laptop using a new internal Disk?
lt flag

So I've been using my laptop for over a year and I've heard a lot of people around me tell me that switching to Ubuntu/Linux based systems is extremely helpful/useful and that I'd learn a lot.

I currently have 512GB SSD in my laptop. I've heard that dual booting a laptop would mean that I'd have to backup all my data and partition my disk after which I'd have to reinstall everything. So I've deci ...

Score: 2
HCSF avatar
How to configure TightVNC server to get full Gnome desktop?
cn flag

I am running tightvnc on Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-1031-aws x86_64):

$ vncserver :0 -geometry 1980x1080

New 'X' desktop is ip-172-31-14-62:0

Starting applications specified in /home/hc/.vnc/xstartup
Log file is /home/hc/.vnc/ip-172-31-14-62:0.log
$ ps aux | grep vnc
hc        408153  0.0  0.0  14836 12448 pts/0    S    13:37   0:00 Xtightvnc :0 -desktop X -auth /home/hc/.Xauthority -ge ...
Score: 0
Alex Paranaguá avatar
login screen no show in a new user ubuntu 22.04
kr flag

Ubuntu 22.04.

I maked a new user and when i lock screen the login screen no show.

I need help. my main user is function correct, no problem.

Score: 0
Bilal avatar
How to install libudev on Jetson Xavier Ubuntu 20.04
il flag

I want to install libudev on Jetson Xavier, so when I try sudo apt-get install libudev-dev I get:

The following packages have unmet dependencies:
 libudev-dev : Depends: libudev1 (= 245.4-4ubuntu3) but 245.4-4ubuntu3.19 is to be installed
E: Unable to correct problems, you have held broken packages.

I have seen a solution for amd64 but I don't know how to solve the problem for arm64 as they don't pro ...

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.