Latest Ubuntu related questions

Score: 1
punking avatar
Desktop now showing home folders / files. Solutions tried haven't worked
US flag

I'm new to Ubuntu and I'd just started to get to grips with 20.04 when my desktop suddenly started showing the home directory contents.

I've found a couple of possible solutions, but they haven't worked.

~/.config/user-dirs.dirs is showing XDG_DESKTOP_DIR="$HOME/"

I used

gedit ~/.config/user-dirs.dirs 

and edited the line to

XDG_DESKTOP_DIR="$HOME/Desktop"

It appears to save, but it's gone on a restart ...

Score: 0
jinsoo Park avatar
Fn key doesn't work on ubuntu 20.04.5 LTS
sc flag

In Ubuntu 20.04.5 LTS version, the Fn key remains fixed and does not work.
https://gist.github.com/andrebrait/961cefe730f4a2c41f57911e6195e444
I tried to run the advice according to the link above, but there is no directory called hid_apple, only the directory called hid, hid_generic.
I've looked up a lot of other tips, but they're all just asking me to modify the hid_apple. How do I solve this si ...

Score: 0
Bruce Kirkpatrick avatar
Address in use after recent ubuntu 22.04 upgrades
er flag

My Ubuntu 22.04.1 LTS system refuses to allow SSH to listen on port 22222 after the system reboots after recent updates which forces me to use IPMI console to restart it manually to get access to system now.

Other services in the system are also claiming "address already in use" and causing failures.

After restarting these services like 2 or 3 times, they start work again.

I don't understand how to fix ...

Score: 0
Heffalump2 avatar
Write access to Google Drive in Ubuntu 22.04
bs flag

I added Google drive through online accounts and successfully mounted this drive. I can see the folder in GNOME files and read all the files, but cannot save anything to the drive (i.e. no write access) except through the web interface for google drive. When I look at permissions under properties in Files it says "The permissions of "MyDrive" could not be determined". I would prefer not to mess with syn ...

Score: 0
PressingOnAlways avatar
RTC Time Completely Off
cn flag

I'm having a weird issue that just happened in the past few months. When waking up my computer, the date time would jump back and forth between the right datetime and 2033-09-26 11:56:24. When I check timedatectl, it shows:

$ timedatectl
               Local time: Wed 2023-02-08 09:56:25 CST
           Universal time: Wed 2023-02-08 15:56:25 UTC
                 RTC time: Mon 2033-09-26 11:56:24
          ...
Score: 0
Jefferson Fishtorn avatar
Ubuntu 22.04 display freezes randomly, but ONLY for local display
ve flag

Randomly my whole ubuntu 22.04 system will randomly freeze. I cannot move the mouse. Any audio I have will continue to play, and if I am on a screenshare with someone, it appears to anyone watching my screen that nothing is frozen. My mouses still moves and everything. Anyone have an idea of what might be going on? I am on a Dell XPS 13 plus.

Score: 1
enravota avatar
All icons disappear after wake-up
mk flag

Ubuntu 22.04.01 LTS on ThinkPad X270.

After putting the machine to sleep mode, when the laptop is woken up, all icons in the menu sidebar and in the Show Applications panel disappear. The only thing that works is the application that has been running when the laptop was put into sleep. No option to switch between apps using keyboard shortcut Alt-Tab. Only possibility to use another application is ...

Score: 0
Suriya Prasanth avatar
TP-Link AC600 T2E Archer PCI-e card not working
in flag

My TP-Link AC600 T2E Archer PCI-e card is not working on Ubuntu 22.04 with kernal 5.11.15

The card is appearing in lspci but I'm unable to use WiFi. The card name is TP-Link AC600 T2E Archer dual band WiFi.

Score: 1
Zep avatar
Ubuntu to Ubuntu remote connection
pn flag
Zep

I'm struggling to understand how to connect to another Ubuntu PC via Remmina. I've enabled in both machines the sharing settings, but it's not clear to me what to do after.

What I tried so far is setting up a VNC connection using the IP that I find on Network settings ("192.161.1.113"), but it gives me error "Unable to connect to the VNC Server".

I tried also with RDP using the public IP but same re ...

Score: 0
purple pillow avatar
Unable to set 1920x1080 resolution on Ubuntu 22.10 with Intel HD Graphics 4400 and VGA display
lu flag

I have a PC with dual boot of Windows 10 and Ubuntu 22.10. I have an external TV as a monitor that is connected via VGA cable, and I know both the TV and VGA are perfectly capable of 1920x1080 because it works on Windows 10. However, when I try to set the display to 1920x1080 on Ubuntu's Settings -> Displays, the screen just blinks and reverts back to the old resolution.

I have the following s ...

Score: 0
smartwepa avatar
re-install POSTGIS after server update to Ubuntu 22.04.1 LTS
cl flag

The server running Postgres + POSTGIS was upgraded to Ubuntu 22.04.1 LTS.

When I tried to run POSTGIS specific queries I got (e.g select * from my gis_table):

ERROR: could not access file "$libdir/postgis-3": No such file or directory

I recognized that the POSTGIS package was missing so installed it following this guide.
I added the repository and ran apt install postgis postgresql-12-postgis-3

Score: 0
Alexandru Coroi avatar
Distorted sound and mono only sound in line out with B550 AORUS PRO V2
sk flag

I have 2 sound output problems with my current configuration. I'm using Ubuntu 22.04.1 LTS with a B550 AORUS PRO V2 (rev. 1.0) motherboard.

Here's what isn't working:

  1. The sound when I'm playing music or movies from offline sources is distorted. I'm not an expert but I'd describe it as sound amplification saturation. The sound is perfect when watching youtube videos.

  2. My "line out" sound output at the bac ...

Score: -2
ibraheem mohsen avatar
How do I make the ssh connection from my country only?
bf flag

I tried to do this: apt install geoip-bin geoip-database

I created this script in: /usr/local/bin/

nano filter.sh

#!/bin/bash
ALLOW_COUNTRIES="SA"
if [ $# -ne 1 ]; then
  echo "Usage:  `basename $0` <ip>" 1>&2
  exit 0
fi

COUNTRY=`/usr/share/GeoIP $1 | awk -F ": " '{ print $2 }' | awk -F "," '{ print $1 }' | head -n 1`

[[ $COUNTRY = "IP Address not found" || $ALLOW_COUNTRIES =~ $COUNTRY ]] ...
Score: 0
Tomas Muller avatar
Files downloaded into external hard drive use up space in / on Ubuntu
us flag

I have a WD 2TB My Passport Portable External Hard Drive mounted on my Raspberry Pi 4 which I use to store files. I am currently using a Python script to download files locally into the external hard drive, but these are also using up space in my Raspberry. Oddly, I cannot find the files in the Raspberry.

Ubuntu 22.04 is installed in my Raspberry, using a 30GB SSD card. The command df -h gives the follo ...

Score: 1
Octavio Masomenos avatar
Unable to disable IPv6
pn flag

I’ve tried everything I could find on permanently disabling IPv6. This page says to edit /etc/default/grub (then update grub and reboot). OK. Did that. And:

cat /etc/default/grub | grep ipv6

Returns:

GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"

Great! Should be disabled now! Nope.

ip -6 addr

Returns:

2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 s ...
Score: 0
JRProtheus avatar
Black screen with blinking cursor in top left corner
cu flag

My system: Ubuntu 22.04, Kernel 5.15.0-58-generic, NVIDIA RTX 2060 SUPER 8GB, 64GB Memory, 02 Intel Xeon E5 v3/core i7 physical processors, each with 12 cores, HD SSD).

After updating the system sudo apt (update, upgrade, autoremove and clean) I worked normally on my PC, during the whole afternoon. The day after, lightdm does not start, there is a black screen with the cursor blinking on the top le ...

Score: 0
Tom avatar
Wrong disk size after failed partitioning
ke flag
Tom

I am using Ubuntu 20.04 and wanted to use a live USB stick to partition my hard drive. While partitioning something went wrong and my computer crashed. After restart it shows me that 70 percent of the disk is used, which is not correct.

Is there any way to fix the hard drive without formatting the entire thing and losing all of my data?

EDIT: Output of sudo parted -l

Model: Sony Storage Media (scsi)
D ...
Score: 3
iam whoiam avatar
Installation of Ubuntu 20.04 hung up and had to power off. After powering off, cannot boot into Linux on dual boot PC
in flag

For a little while now (6 years) my Lenovo z70 laptop was dual booted with having Windows 10 on one partition and Linux Ubuntu 16.04 on another partion. Unfortunately, I had to upgrade to 18.04 since 16.04 support ended. I succesfully installed 18.04 on my laptop. Then, I started upgrading to Linux Ubuntu 20.04. During the final steps of installation the NetworkManager stopped and the installation hung. ...

Score: 0
picha avatar
Software to work with excel files
ba flag

I am currently using LibreOffice to read Excel/sheet files. I am trying to work with a large data file, but LibreOffice is always lagging and bugging. These files have no problem when I work with Excel on Windows.

Does anyone have any recommendations for Excel file processing software on Ubuntu 22.04?

Score: 0
cohara avatar
Can't get ssh working on Ubuntu
lt flag

I am trying to follow this guide to get phpMyAdmin installed on Ubuntu 20.04.

The first step is to set up a non-root user, and it's here that I'm stuck. I cannot log in to root@public_server_ip. I am using:

curl http://ipinfo.io/ip

to get my IPv4 public IP.

Then I try (my_public_ip is my server's IP):

sudo ssh -vvv root@my_public_ip

This eventually times out with:

sudo ssh -vvv root@my_public_ip
OpenSS ...
Score: 0
Saif Al Haroun avatar
Screen Sharing not working on LTS 22.04
bj flag

I installed Ubuntu LTS 22.04 lately, and when I wanted to use discord and screen share, the screens were black, I searched and found a solution to switch from Wayland to Xorg. After applying the solution all my screens were tinted with light sky blue color and could barely see, and when I tried to share my screen it was shared clearly without tinting for the members in discord and whenever I open settin ...

Score: 2
Jahtomini Ogunderu avatar
Ubuntu default apps show up as black windows when using virtualization
at flag

This is not a duplicate of Default apps black screen

I'm trying out Ubuntu 22.04.1 LTS with virtualization via UTM on an M1 Mac.

Default apps like Settings, Software Updater and even the Installer simply show up as black windows while non-default ones like Firefox work fine.

Screenshot of the Ubuntu Installer as a black window

How do I go about fixing this? I haven't installed Ubuntu properly yet so I ...

Score: 0
Abdalrahman Fawzi avatar
touchpad not working on ubuntu 20.04 TLS
gp flag

My touchpad not working properly on Microsoft Laptop Stadio. When I try moving the cursor softly using the touchpad, it won't move, but, if I press on the touchpad with a strong touch it will move. It's hard to work when I can't use the cursor.

Note: I'm a student who just started using ubuntu

Score: 0
R Chinmay avatar
Battery stuck at 0% and acpi showing last-full-capacity as negative
ro flag

My Asus laptop is around 3.5 years old, and I have been using Ubuntu extensively until the hard drive got corrupted (bad sectors started increasing). You can refer Ubuntu 20.04 going into Read-only filesystem where I asked a related question.

I have been using Windows ever since, and everything was fine. Windows is mounted on SSD, and the issue of the bad sector did not affect Windows. But I recently  ...

Score: 2
tommy avatar
vsftpd issue can't load RSA Certificate
gb flag

This is my configuration for vsftpd:

anonymous_enable=NO

local_enable=YES

userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd/user_list

write_enable=YES

local_umask=022

dirmessage_enable=YES

xferlog_enable=YES

xferlog_std_format=YES


chroot_local_user=YES

listen=YES

pam_service_name=vsftpd
tcp_wrappers=YES

# script to init pem:
# sudo mkdir -p /etc/ssl/private
# sudo openssl r ...
Score: 1
paddygree avatar
How to fix unstable WIFI connection?
bo flag

since a few days my wifi connection is unstable. for some moments it works and then it crashes. What further question do I need to ask for the solution? is this a general problem?

edit: ubuntu 22.04

lspci -knn | grep Net -A3

Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter 
Subsystem: Lite-On Communications Inc Device
Kernel driver in use: mt7921e
Kernel modules ...
Score: 1
sof avatar
How to resize and shrink the sole root mount LVM physical volume?
pl flag
sof

I've selected LVM default option and completed Ubuntu 22.04 installation, but failed to resize and shrink the sole root mount LVM physical volume afterwards.

Method 1:

# mount -t ext4
/dev/mapper/vgubuntu-root on /

# pvscan
PV /dev/sda2 VG vgubuntu lvm2 [SIZE]  
Total: 1 [SIZE]

# resize2fs -p /dev/vgubuntu/root [NEW_SIZE]
Online shrinking not supported.
(Note: NEW_SIZE is smaller yet big enough.)

# um ...
Score: 0
Joolz avatar
Loading drivers for RAID card during boot
pr flag

I have a question regarding Ubuntu 22-04.1 and the Broadcom/LSI 9440-8i RAID controller.

I bought one of these cards as it was listed as being compatible with pretty much every Linux distro and I would like the system to have all of its partitions on hardware raid, hardware RAID from which it will also boot.

Long story short, neither Ubuntu, nor Alma/Rocky actually see the card due to a lack of driv ...

Score: 0
Eduardo Palmieri avatar
How to make screen bigger in VirtualBox 7.0
gs flag

I try change the resolution in GRUB, doesn't work, I cant find nothing about installing the guest additions from command as is this a server 22.04.1 LTS.

Score: 0
ibraheem mohsen avatar
bash syntax error near unexpected token
bf flag

I put a script to alert me when any new ssh connection via telegram at /etc/profile.d. But when I connect it says: syntax error near unexpected token what's the problem? my Code:

#!/usr/bin/env bash
# Import credentials form config file
. /home/roots/credentials.config
URL="https://api.telegram.org/bot${KEY}/sendMessage"
DATE="$(date "+%d %b %Y %H:%M")"
if [ -n "$SSH_CLIENT" ]; then
ip="$(echo $SSH ...

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.