Latest Ubuntu related questions

Score: 2
Tms91 avatar
Oneliner to get the command which started a process on a certain port
in flag

I would need a one-line command which, given a port number, returns information on the command which started the process running on that port.

Usually, I get this information by running a sudo netstat

sudo netstat -antpv | grep PORT_NUMBER

which returns the PID_NUMBER on the 4th column, after the column character (:), and then I use the PID_NUMBER as input for a ps aux

ps aux | grep PID_NUMBER
Score: 0
howtouselinux avatar
how to change the account password expiration date in Linux
lu flag

I am confused about the password expiration date in Linux. Looks like chage command -e changes the account expiration date not the password expiration date. They are totally different. I can not find any command that can be used to change the password expiration date. They all change the user expiration date. is there any way to do this? Thanks a lot.

Score: 0
John Telek avatar
Gnome Remote Desktop not binding to TCPv4 on Ubuntu 22.04
bi flag

Running Ubuntu 22.04 and Gnome Remote Desktop not binding TCPv4. Netstat output. Any ideas anyone?

user@user-All-Series:~$ netstat -lntp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name ...
Score: 0
a.t. avatar
How to automatically configure Nemo in Ubuntu 22.10?
us flag

While trying to automatically configure Nemo, the file explorer, I was experiencing some difficulties in finding the desired configuration commands.

How can I ensure:

  1. The hidden folders are always shown.
  2. Have list-view on all folders, except for the ~/Pictures directory.
  3. Sort on name on all folders from a-Z except for the ~/Downloads directory (sorted on date instead).
  4. Apply a black/dark theme to all ...
Score: 0
Dmitry Torshin avatar
Ubuntu 22.10 & new nvidia GeForce RTX 4800 (525 driver) - sound output to HDMI works incorrect
se flag

I've recently bought and installed to existing Ubuntu 22.10 GeForce RTX 4800 instead of RTX 2060. The first trouble was to install a driver for the graphics card - there is no option for that. I've used nvidia.com official website and used it's search to find a proper one driver - 525. After the installation from a '.run' file everything works just fine, but there is a problem with sound output.

 ...

Score: 0
udippel avatar
Upgrade trouble 20.04 to 22.04.1 usrmerge
cn flag

An otherwise unspectacular upgrade, towards the end it failed and ended me at the prompt. After reboot I have no WiFi on a WiFi-only device. Then, apt get update / upgrade warn me to rectify some usrmerge problem; the one that earlier, during the upgrade had thrown me out already:

The following packages have been kept back:
  apport apport-kde guile-2.2-libs python3-apport python3-problem-report
0  ...
Score: 0
Karthikeyan avatar
Unable to install VI Package Manager in Ubuntu
wf flag

I downloaded the latest VIPM for Linux, it has LabVIEW runtime engine and VIPM packages.

I successfully installed LabVIEW runtime. But when I install VIPM through this command: sudo ./vipm, I am getting the following error:

Error Message

Score: 0
pi. avatar
Upgrade attempt shows The package system is broken on Ubuntu 22.04
in flag
pi.

I'm having a similar issue to what was reported at:

The package system is broken on Ubuntu 22.04

the error does not state a specific package but the following

enter image description here

Following the guidance from there, I tried the initial suggestion but got stuck when I ran

sudo apt -f install

I get the following

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dep ...
Score: 0
Davide D'Angelo avatar
Soundcard, blutooth, battery not detected
ms flag

I’ve installed Ubuntu 22.10 on my laptop “Samsung Galaxy book S (2020 intel Lakefield)”. There are 3 main problems: -Soundcard is not detected; -battery is not detected (can’t find a way to see the battery percentage; -blutooth is not working. I’ve seen almost everything that is on AskUbuntu but nothing seem to work… I don’t care a lot about the blutooth, but soundcard is quite important f ...

Score: 2
Paloma avatar
How to access Windows files from Linux in WSL?
bi flag

I'm starting to learn how to use the terminal with Ubuntu on WSL (Windows).

Just from the very beginning of the course it says that if you use the ls command it should show you your "home" directories, but mine is something like this:

(base) paloma@DESKTOP-ISCC0ON:~$ ls
Anaconda3-2021.11-Linux-x86_64.sh  anaconda3

(base) paloma@DESKTOP-ISCC0ON:~$

And if I try to change directory something like this h ...

Score: 0
Antony avatar
Add dynamic routes for VPN
al flag

I am using the Network manager on Ubuntu 20 and connecting to a Cloud providers VPN. To do so, under IP4 I have to add each VM as a separate route - such as:

10.0.1.1 / 255.255.255.240 / 10.0.0.1

10.0.1.2 / 255.255.255.240 / 10.0.0.1

Is there a way I can have the last digit of the VM IP address as a wildcard? I've tried * and /32 or which ever number if would need to be. Otherwise its just a pain as we ...

Score: 1
MorganStark47 avatar
Ubuntu 18.04 (MSI GS66 Stealth) primary display blank, external display functional
sa flag

I've an MSI GS66 Stealth laptop which came with Windows installed, alongside which I installed Ubuntu 18.04 with NVIDIA proprietary drivers.

Connecting an external monitor to my laptop through HDMI is how I've been using my laptop these days as the laptop's screen doesn't show anything: the screen doesn't have any glow, it's just "off". In this post I refer to the laptop's screen as the primary dis ...

Score: 0
Nathan Nyawaya avatar
Apps Not Responding
vi flag

Why do I keep seeing the "app Not Responding" like every time. I have a 4gb ram but my laptop is like new right now, there are not much files. What might be the problem

Score: 0
seomiotico avatar
AH00534: apache2: Configuration error: No MPM loaded
al flag

Apache server has stopped and does not want to restart.

I have looked for several solutions and consulted several sources but no one seems to have a solution for this problem. Please do note that the MPM module currently enabled is mpm_event. I share the outputs received as a result of the diagnoses made:

sudo systemctl status apache2

× apache2.service - The Apache HTTP Server
     Loaded: loaded (/li ...
Score: 0
Arnaud avatar
Libreoffice: extract image from object
in flag

I have been given a docx file from which I am trying to extract images with Libreoffice. With actual "Image" elements in the file it is easy (right-click->Save). But there are also "Object" elements for which a right-click does not offer "Save". I tried the trick described here: https://ask.libreoffice.org/t/how-can-i-extract-photos-from-a-doc-text-document/9095 but the corresponding files in the zi ...

Score: 0
Kaspacainoombro avatar
Firefox 107 cannot download any files from any websites
in flag

After the last snap refresh, the 107 version of Firefox was installed. Since then, i cannot download files. I post a support request in Firefox: here and with the help provided, i was able to run the Firefox by calling /snap/firefox/2088/usr/lib/firefox/firefox-bin. This way i did not had the error.

Checking the /var/lib/snapd/desktop/applications/firefox_firefox.desktop it points to

    Exec=env B ...
Score: 0
dzbdevops avatar
/dev/nvme0n1p5, clean x/x, x/x blocks - recovery mode
to flag

I enter recovery mode and it stops me at "Begin: Running /scripts/init-bottom". Then it throws up and formations like this :

https://files.fm/f/4b22hfk8u - this appeared before next screen, and stuck https://files.fm/f/76akvj9q8

https://files.fm/f/5r6mffxxh - and this appeared when I try Ubuntu on grub ( I have dual boot ubuntu + windows )

I will point out that I have already searched through the  ...

Score: 0
Santhosh Krishnan avatar
How to set the path from one Ubuntu server to another Ubuntu server?
cc flag

I need to install thingworx in Ubuntu system. I have 2 systems. I need to install postgres in one system and I need to install thingworx in another system. I have already installed postgres in one system. I need to set the path of the postgres in thingworx system (another system). I have attached the error message I have received when I installed thingworx.

enter image description here

How to set the path from one system to another ...

Score: 0
S M avatar
Upgrade failing from 20.04 to 22.04 LTS
ph flag
S M
dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.4.0-11ubuntu2_amd64.deb (--unpack):
new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libpam-modules_1.4.0-11ubuntu2_amd64.deb
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/libpam-modules.0.crash'
Excepti ...
Score: 1
Apply udev rule on reboot if device is present
kr flag

This code must be executed each time my Keychron K1 keyboard is about to be used:

echo 2 > /sys/module/hid_apple/parameters/fnmode

The code enables Fn keys as the Keychron suggests on Linux.

I put it in a script /home/me/k1add

After hours of desperation I successfully wrote this rule:

SUBSYSTEM=="hid", ENV{HID_PHYS}=="*input0", ACTION=="add",
ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="024f", RUN="/ho ...
Score: 0
Deepeshkumar Pakhare avatar
When I use older node version the ubuntu's "make" command fails but succeeds when I use the latest node versoin, why?
vc flag

I am trying to run the react code that depends on the older node version, node version 16.14.0. When I use make to run initialization scripts it fails after using the node version 16.14.0.

But succeeds when I use the node version 18.7.0 which is the latest one now. Why does this happen? Can anybody guide me, please? The error message I get with the older node version is

$ env-cmd -e dev react-scr ...
Score: 0
mokrota21 avatar
Black screen after switching from windows to ubuntu budgie
mn flag

I downloaded ubuntu budgie on usb, then installed ubuntu budgie and deleted windows from my laptop, afterwards it was loading and something like "plug off mediator and press enter" popped out so I plugged off usb and pressed enter. Then screen turned black, I was waiting for about 15 minutes, tried to turn off and turn on but it still is completely black. Is everything really bad or it is some minor pro ...

Score: 1
Leah Waymire avatar
My 2TB Hard drive stopped showing up
hn flag

I have checked lsusb, sudo fdisk -i, and eventually even my boot menu. No matter what it does not show up. I can hear the drive's fan working so I know it is receiving power, and the USB port is working fine. Any ideas what I could do?

Score: 0
hardik avatar
How to change ubuntu 22.04 open file dialog from list view to grid view?
cn flag

In ubuntu 20.04 it had grid option in open file window. i could preview pictures before selecting but after upgrading to ubuntu 22.04 i see no option to change it to grid view. i tried to find options but all tutorial are related to workspace grid options :(

open file dialog in ubuntu 22.04

Score: 0
Greenfly77 avatar
SSH service fails to start
in flag

I just created a virtual machine based on cloud images (of Lunar Lobster) on VMWare. Unfortunately it fails to start ssh. If I try to enable or restart the service I get:

enter image description here

And if I check journal it is empty (not containing anything regarding ssh). If I check on status it responds:

enter image description here

Unfortunately no details are provided. How do I search for the reason or fix that error?

Score: 0
newtothis avatar
How to add an applet to the panel under jammy?
br flag

I did install gnome-applets and now would like to add one of the applets to the panel. But I don't find any way to do that.

I first tried a simple click on the panel. Then a right click. Then a middle click. Searching for solutions I found the recommendations to use "Alt-Rightclick" or "Superkey-Alt-Rightclick". Nothing works ...

(I have a laptop and use the touchpad. In other contexts the substitut ...

Score: 0
Ninja Chris avatar
How do I remove the default keyring login in Jammy?
mx flag

I had this working in Focal and now I've upgraded I don't have the option in seahorse to remove the default keyring password, as described here: https://www.xmodulo.com/disable-entering-password-unlock-default-keyring.html

This is my media centre PC in my living room. Security is not a concern for me. I just want my wife and kids to be able to auto login and have immediate access to Spotify, Netflix, e ...

Score: 1
Jan Newmarch avatar
Intel wireless 3160 not working in Ubuntu 22.04
ps flag

The wireless was working fine under 18.04 and earlier LTS's, but at some stage became intermittent (dropping out at 4am for example) and needing a reboot. Upgraded to 20.04 and it worked for a short time but then failed and has never worked since.By 'not working' I mean the device driver is not loaded correctly so the wireless card is not seen by Linux which means nothing can be done through it. Etherne ...

Score: 0
mginn avatar
ssh connection drops immediately, was working recently
lv flag

I have seen a similar issue posted elsewhere, but mine seems to be slightly different. I am sshing into a Ubuntu 16 server, and it was working literally hours ago. I started a backup using

tar -cvpzf backup.tar.gz --one-file-system /

(I'm worried now because I didn't include the exclude flag, which seems like it may have resulted in an issue. My theory is that the backup included itself, taking up spac ...

Score: 0
yi li avatar
I want to upgrade Ubuntu 18 to openssh 9 and openssl 3.0
aw flag

The official openssh is only up to 8.2, I want to upgrade by myself, but I can't find information on the Internet, who can guide me?

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.