Latest Ubuntu related questions

Score: 0
Esas S. Khan avatar
Screen black after resuming from display Ubuntu 22.10 dual booted
no flag

I have a Lenovo Legion 5 15IAH7H and have dual booted ubuntu along with windows 11. Whenever I suspend on ubuntu and try to resume, the screen stays black but the keyboards works fine. The only way is to press and hold the power button and power it on again. Has anybody faced this issue and found a solution to it? Following are the details

Kernel - 5.19.0-38-generic Nvidia Driver 510 Distributor ...

Score: 0
epqqwppw avatar
Ubuntu 22.04 freezes on normal use. I cant even use my mouse, keyboard, etc,. everything got stucked
cw flag

ubuntu 22.04 freezes on normal use. i cant even use my mouse, keyboard, etc,. everything got stucked. i had to wait untill the battery fully drains and then recharge the pc and restart. i encountered this problem so many times so far. please help me to solve this issue. thanks in advance

my laptop specs: Hp pavillion 14, i5 12th gen, 16gb ram, 512gb ssd

Score: 0
KBurchfiel avatar
Would removing my 1st drive be the best way to set up Ubuntu 2204 on a 2nd drive with full disk encryption (while preserving Windows on my 1st drive?)
al flag

I have a laptop with two SSDs. The primary SSD is running Windows (which I'm planning to keep in place for now), but I'd like to install Ubuntu 22.04 on the secondary SSD with full disk encryption.

Within the install menu, I didn't see an option to install Ubuntu with full disk encryption on the secondary disk. However, this answer from 2016 suggests that I could just unscrew my primary drive from ...

Score: 1
hopoffZ avatar
Ubuntu/Vagrant makes me log in every time I run a program within virtualbox
gq flag

I am using Vagrant and Virtualbox running a virtual instance of Ubuntu. Every time I use the following command "exec /vagrant/build/test_gui" the logs and output of that program show for a split second (not long enough to even try to read the text) before clearing the terminal and displaying the login once again. (pictured below) I am fairly new to all of these systems and would like to know how to st ...

Score: 0
FangQ avatar
unable to update "grub" boot menu when upgrading from Ubuntu 20.04 to 22.04
in flag

I recently upgraded a Ubuntu box (a rackmount server) from 20.04 to 22.04. However, the "grub" boot menu kept listing kernel 5.4.0-40 as the default kernel entry regardless what I did - and I've tried many different things

  • run update-grub
  • run grub-install --target=.. /boot/efi
  • disable UEFI boot and only allow legacy mode in the BIOS
  • remove the ubuntu folder inside /boot/efi/
  • umount /boot/efi and disabl ...
Score: 0
Farhan Ahmad avatar
How to Exit tty1 mode into Gui mode in ubuntu 20.04.5 LTS
bf flag

I'm using the Ubuntu 20.04.5 LTS and automatic it's showing me black screen and work only in terminal mode.It ask me to login in terminal mode. So how can I go back in GUI mode.enter image description here

Score: 0
Yvan avatar
Matlab R2022b Ubuntu 22.04 .desktop File Not Showing Up
am flag

I just upgraded from Ubuntu 20.04 to 22.04 and installed the latest version of Matlab (R2022b). I want to have a shortcut for Matlab in the Launcher. I created a .desktop file in /usr/share/applications but the icon won't show up in the Launcher.

It used to work perfectly fine with Ubuntu 20.04 and Matlab R2022a. What I am getting wrong? Could it be a problem with the latest version of Matlab?

I ran ...

Score: 1
Scott Gilbertson avatar
do-release-upgrade 20.04->22.04 hangs, last main.log line is "running doUpdate() (showErrors=True)"
af flag

Starting with a PC happily running Ubuntu 18.04 desktop, I copied the entire drive as a backup, then tried to upgrade it to 22.04. Running do-release-upgrade brought it up to 20.04, and it seems happy running that. After a few reboots I tried upgrading it from 20.04 to 22.04. It always hangs in the same spot, right after:

Get:184 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe DEP-11  ...
Score: 0
rhuanpk avatar
SSH connection refused on custom port (2222)
ma flag

I know that there are many, many topics on exactly this subject, however, nothing is working for me (i'm using ubuntu 22.10).

I added this configuration in /etc/ssh/sshd_config.d/sshd_config.conf:

Port 2222
PermitRootLogin no
PermitEmptyPasswords no
ClientAliveInterval 300
ClientAliveCountMax 0
MaxAuthTries 5

this setting in ufw:

sudo ufw allow 2222/tcp
# Rule added
# Rule added (v6)

sudo ufw s ...
Score: 0
Setting local variables from array elements
jp flag

I am passing the variable akms to the function named sufx. I am able te correctly capture the second array element and set the variable fskl.

I want the capability of setting the variable verbiage according to the numeric value of -v. How can I do this for the function sufx ? Currently verbiage is just taking a string value.

akms=("-v 3" "INCLUDE")
sufx akms

Here is the function

sufx ()
{
  type ...
Score: 0
David Essien avatar
W: Target Packages (main/binary-amd64/Packages) is configured multiple times
th flag

I get the warning messages below when I run sudo apt-get update:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:54
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:40 and /etc/apt/sources.list:54
W: Target Packages (main/binary-all/Packages) is configured multiple times i ...
Score: 0
mike avatar
Disk space not showing up
sj flag

I'm a new user of Ubuntu who has a little problem with my storage. I have Windows on an NVMe SSD and Ubuntu on an HDD of 750 GB, but I can't use the whole storage like it doesn't exist.

terminal

Score: 0
Apparmor PHP8.1 requests rw access to "/"
US flag

I'm writing an apparmor profile for php (specifically 8.1), and I'm having some trouble with my particular config of php (this is for a webserver running dokuwiki).

I've gotten all the functionality whitelisted, but the one last bit is php wanting rw access to "/". Obviously this isn't good behavior, and I am unsure why it needs this? I didn't write any of the php scripts used by dokuwiki, so is  ...

Score: 0
Patrick avatar
Citadel mail server (citserver) not registering network ports
ai flag

I was running Citadel on Ubuntu 18.04 with citadel-server and citadel-webcit packages installed. After upgrading to Ubuntu 20.04 the citadel service starts but does not register any ports. netstat shows no listener on the relevant ports for IMAP, SNMP, POP and the internal communication. Webcit does register but is not able to communicate to citserver. service citadel status shows the service is running ...

Score: 0
Quasar_0330 avatar
Interference with xmodmap and fcitx5 allocation(Lubuntu 22.10)
gh flag
keycode 102 = Mode_switch
keycode 25 = w W Up Up
keycode 38 = a A Left Left
keycode 39 = s S Down Down
keycode 40 = d D Right Right
keycode 32 = o O BackSpace BackSpace
keycode 65 = space space Return Return

Xmodmap, the Muhenkan key is assigned to the input method off in fcitx5, so if you are typing Japanese and try to confirm a conversion by pressing Muhenkan + Space (Return), the input method is ...

Score: 0
VirajS avatar
Show Taskbar/dock Buttons on the Taskbar/dock where the window is open
sv flag

I have a dual monitor setup on 22.04.2 LTS.i have the dock on both the monitors but the issue is its the same dock i want the dock to show only the icons of the applications that are opened on that monitor. just like in windows there is a option in for taskbar Taskbar where window is open option

after selecting that option if there is any application open in 1st monitor it will show that in the taskbar o ...

Score: 0
ticktockhouse avatar
Ubuntu 20.04 EOL message too early?
de flag

I am running

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:    20.04
Codename:   focal

According to https://endoflife.software/operating-systems/linux/ubuntu, this is supported until April 2025. However I have a naggingg notification that is counting down the days to, it seems, 2023-04-20. It states:

GUI Notification

Other relevant info could be that I'm running KDE, ...

Score: 0
Luís de Sousa avatar
Mount encrypted volume in read/write mode
ph flag

The canonical method to mount encrypted volumes from the command line on later Ubuntu editions involves udisksctl. However, that recipe mounts the volume in read-only mode.

$ udisksctl unlock -b /dev/sdd1
Passphrase:
Unlocked /dev/sdd1 as /dev/dm-1.

$ ls -la /dev/mapper
total 0
drwxr-xr-x  2 root root     100 apr  2 12:58 .
drwxr-xr-x 20 root root    4860 apr  2 12:58 ..
crw-------  1 root root 1 ...
Score: 0
galyc0s avatar
Dual boot Ubuntu and Windows 10 with legacy BIOS has too many menus
fo flag

I installed Ubuntu 22.04 alongside win 10. It has legacy BIOS so I followed this video step by step. You basically create a partition for Ubuntu, install the boot loader on "/" and then add on Windows with EasyBCD a boot entry for Ubuntu.

It does work but not ideally. When I turn on the PC I get the windows logo and then the blue Windows boot menu to select Windows or Ubuntu.

windows boot

If I choose Ubuntu then aft ...

Score: 0
Masterlog_ITA avatar
Device "/dev/ttyUSB0" suddenly missing
py flag

I have a very basic server Ubuntu 22.04.2 LTS on Proxmox running Docker with a USB 3G Modem used as a SMS Gateway. It worked for a couple of weeks, but today it stopped working as device "/dev/ttyUSB0". I didn't installed nothing recently, maybe I just upgraded the OS, but the device is seen on dmesg once I connect it:

[  290.515190] usb 2-1: new high-speed USB device number 2 using xhci_hcd
[  290.668094 ...
Score: 0
Jonathan Carse avatar
Ubuntu 20.04 focal + Lenovo P15s = Rendering artifacts, disappearing images in Chrome
in flag

We have several P15s in the company, all of them fully updated. No custom drivers installed, vanilla Ubuntu installation that was updated using apt update & apt upgrade

Chrome rendering artifacts and even disappearing PNGs are experienced. Problem solved when hardware acceleration in Chrome is disabled in settings.

Help appreciated greatly :)

Video: https://youtu.be/zd_p3B3xtzU

Regards Jonathan ...

Score: 0
Pica Drew avatar
Ubuntu 20.04 installation gets stuck
st flag

I have been trying to install Ubuntu 20.04 on my laptop, but during the installation setup before even configuring the drivers, it either keeps loading forever or freezes completely. I have a legacy system. I have a Intel CPU with Nvidia graphics card and I tried installing with safe graphics, but nothing seems to work. When I boot in the system I get this message, but the installation window still open ...

Score: 0
tnncool avatar
The Ubuntu 20.04 operating system installed on external hard disks often crashes
ai flag

crash information

I've installed Ubuntu20.04 on a mypassport external hard disk last year, I divided it into five partitions:

/dev/sda1:UEFI
/dev/sda2:swap (20G)
/dev/sda3:/
/dev/sda4:/home
/dev/sda5:/usr

recently I resized partition using gparted on live CD. afterwards, the OS often crashed even though I checked file system many times without issues.

sudo disk -l
sudo fsck -f /dev/sda*

laptop inform ...

Score: 0
Pedro avatar
How to get macOS to appear on startup
km flag

I have iMac 2013 running ubuntu and wanted to know how to get the boot loader to appear?,which would in return should theoretically show a list of all the operating systems that I have on my computer allowing me to boot my Mac Os instead of Ubuntu which it is loading up now by default every time ever since I installed it.

Score: 2
EarthToAccess avatar
Firefox from Terminal on remote Ubuntu 22.04 via VNC: Cannot open display
cn flag

Disclaimer: I'm somewhat new to SSH and VNC servers, and while I get the basics, that's about as far as it goes. If applicable, explaining like I'm five would be beneficial!

This is a similar issue as mentioned here, but the solution (checking /etc/ssh/sshd_config to ensure X11Forwarding was set to yes) failed to work; possibly because I'm utilizing Xtigervnc versus just ssh (if that's a thing th ...

Score: 1
fixit7 avatar
What is the File Operation Progress popup?
kp flag

I frequently get a popup box saying File Operation Progress when using Thunar to copy files.

Another small box shows on the upper right side.

When I right click it, a box opens saying "File Operation Progress.'

What is that and how can I stop that?

enter image description here

4/16/23

I did a complete purge of Thunar and a re-install.

The popup box continues to stay open after the file copying has completed.

Score: 0
Prashanth Ravichandar avatar
Monitor only works when resolution is low - Ubuntu 20.04, Nvidia graphics card, MSI Prestige 15
cn flag

I have an MSI Prestige 15 laptop with NVIDIA GeForce GTX 1650 Max-Q graphics card. I have installed Ubuntu 20.04 (dual boot with Windows 11) and the installation was fine. I have disabled secure boot in BIOS. I also have an external monitor - LG 24QP500-B 24” QHD (2560 x 1440). The monitor is detected and I can choose it's resolution in the settings -> displays. But when I set it to 2560x1440, the  ...

Score: 1
Meirza avatar
GZIP process takes CPU usage 100%
sn flag

enter image description here

GZIP uses 100% of the CPU.

I tried using pstree -apl to get which processes needed the GZIP, and I found Logratate.

Have some people experienced this? And how did you solve it?

Score: 0
dino avatar
Preparing to run multiple qcow images from a new T7 SSD
mx flag

I just got a new 1 TB Samsung T7 SSD and I want to be able to run multiple VM's from this drive using QEMU/KVM and virt-manager.

First question: Do I need to do anything to format or prepare the SSD drive? I have done nothing so far except mount it and look at directories. Haven't setup password protection or anything like that.

Second question: I am sure I will need to change my default storage poo ...

Score: 0
bnsh avatar
Terminal Window placement on Ubuntu 22.04
tw flag

I just installed Ubuntu 22.04 on a new laptop.. But, I have Ubuntu 22.04 already installed on another laptop.. On the old one, if I do CTRL-SHIFT-T to make a terminal, the terminal first appears at a certain spot, then the next terminal (if I do CTRL-SHIFT-T again) shows up under that first one, then to the right of the first terminal, and basically it forms a grid.

On the new laptop tho, it show ...

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.