Latest Ubuntu related questions

Score: 0
Walther avatar
Accidentally deleted EFI boot partition and reinstalled it can't boot into windows now
ki flag

So I accidentally deleted EFI partition I created it again with Linux but now I am just unable to boot into Windows even when I try to change boot order or trying to manually select it in boot menu.

If anyone could help me would be appreciated!

Score: 0
Which packages install Qt5 pkg-config files?
ve flag

I need Qt5 .pc pkg-config file in order to compile this application. Of course I can install the whole Qt5 dev environment using the official Qt online installer.

But I wonder if I can install some Ubuntu packages for the requires modules only (core, widget and gui) that include the *.pc files as well.

I tried installing libqt5widget5 but it seems it does not provide the pc file. I also searched wi ...

Score: 0
Kris avatar
Ubuntu Core and Docker like networking
uz flag

Does Ubuntu Core and Snaps (containers) allow for the flexibility that Docker networking allows, such as:

  • default docker bridge
  • user defined bridge
  • deploying containers to host networking
  • MACVLANs (MAC address virtual local area networks)/ switch like
  • IPVLANs / router like
  • overlay networks
  • none networks

A very good example and the ease of use & flexibility of adding and removing containers as part  ...

Score: 0
crb999 avatar
Dolphin keeps opened files and folders in tabs
et flag

I'm running:

PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu

Dolphin keeps opened files and folders in tabs.

I really don't want it to do that!

I would like it to shut politely when I close it, and have no memory.

All advice welcome.

Score: 1
How to configure systemd to put all my browsers in a single cgroup
cn flag

Long time ago I used cgmanager to put all my browsers (Opera, Firefox, Chrome) in a single cgroup and set max RAM usage limit for that group.

However, modern systemd really doesn't want other programs messing up with the cgroups so how to configure this with modern Ubuntu?

Basically I'm asking how to configure selected processes listed by systemctl status session-$XDG_SESSION_ID.scope to be automatically ...

Score: 0
spider avatar
Wifi dongle not working
cd flag

My wifi dongle stopped working, i previously installed it with this thread: Most recent update of 20.04 knocked out Realtek Wifi drivers...how to restore? . But now it stopped working, can someone help me? Thanks a lot!

DKSM STATUS:

nvidia/515.86.01, 5.15.0-60-generic, x86_64: installed
nvidia/515.86.01, 5.19.0-32-generic, x86_64: installed
rtl8821CU/5.4.1: added

SUDO LSHW -C network

  *-network ...
Score: 0
A dependency job for cockpit.service failed. See 'journalctl -xe' for details
id flag

I've just installed cockpit on Lubuntu 20.04 LTS, but when I run it I get this error:

A dependency job for cockpit.service failed. See 'journalctl -xe' for details.

Running journalctl -xe gives the output below. Any ideas for how to diagnose/fix this?

myuser@HP-MICROSERVER:/etc/systemd/system$ sudo mkdir cockpit.socket.d && cd cockpit.socket.d
myuser@HP-MICROSERVER:/etc/systemd/system/coc ...
Score: 2
amiroof avatar
persian keyboard layout not present in ubuntu 22.10
ma flag

i recently changed from ubuntu 20.04 to ubuntu 22.10. now when i try to add persian keyboard layout it's not in the add an input source menu. i searched for persian and farsi and no languages were found. every other language seems to be there.

Score: 0
How to rsync **photos** from a specific date forward, namely from the date on which the photo was taken (e.g., exif:DateTime)?
in flag

Starting with find and rsync? and How to rsync files / folders from a specific date forward?, how to rsync photos from a specific date, namely from the date on which the photo was taken (i.e., from the photo's meta data, i.e. EXIF, e.g., exif:DateTime, which may well differ from the file's "last modified date") forward?

One idea would be to make use of identify -verbose IMG_20200430_113445.jpg | g ...

Score: 1
ChewbakaTalkShow avatar
Ubuntu 22.04 mini freeze and screen glitches
by flag

I have an Ubuntu 22.04 LTS installed on a Lenovo T16 Thinkpad.

Several times an hour (in the minutes I was typing this, I happened 3 times), when I am moving the cursor, it seems that computer slows down for 2-6 seconds. In those 2-6 seconds, the cursor will not move smoothly. It still goes where I want but in steps, as if frames where being lost. Then screen glitches once or even a few times, sh ...

Score: 0
Statistic Dean avatar
Annotate pdf on a webdav server
cn flag

I'm currently using Ubuntu 20.04 and would like to annotate some pdf files that I have and that are stored on a webdav server. My nautilus is connected to the webdav server and I can open the pdf with the default pdf viewer on my computer.

However, if I try to open the pdf with an app that supports annotation(so far I have tried okular that says "Could not open file" and Xournal++ that says "Erro ...

Score: 0
kujmymnbvfdsd avatar
Can't get the terminal to run the setup.sh file for the steam runtime setup
af flag

I am trying to create a standalone game using Source SDK 2013

I am following this tutorial https://developer.valvesoftware.com/wiki/Source_SDK_2013

step three under Source SDK 2013, in the margins it states,

"Run the "./setup.sh" script in the "steam-runtime" directory, select the "i386" architecture and one configuration of your choice, say "Yes" to everything related to updates. Before compiling t ...

Score: 1
ilMattion avatar
Why ubuntu server does not mount fstab samba share on boot?
ms flag

Ciao,

I've a Raspberry Pi 4 running Ubuntu Server 22.04.2 LTS.

I need to mount a samba share at boot time, and I've followed instructions on this site at sections Mount password protected network folders: MountWindowsSharesPermanently

nano ~/.smbcredentials # there i've added my credentials
chmod 600 ~/.smbcredentials
sudo nano /etc/fstab
sudo mkdir /media/windowsshare

And I've added this line of c ...

Score: 0
Analytiker avatar
Increase VPN Connection Attempt Timeout to Greater Than 60 Seconds
si flag

I have OpenVPN connection that - for some reason - takes too long to connect.

However, when I use the nmcli connection up MyOpenVPN_TCP command it keeps trying to connect for only 60 seconds, and I need to increase that duration.

I get the following error message:

Error: Connection activation failed: Unknown reason

Hint: use 'journalctl -xe NM_CONNECTION={SOME_SERIAL} + NM_DEVICE={MY_WLAN_INTERFACE

Score: 0
Sergio Tovar avatar
Wired settings don't open in Ubuntu 20.04, NetworkManager error?
tz flag

I installed Ubuntu 20.04 virtualized with the virtualizer interface in NAT mode, I have an internet connection but when I want to open wired settings and try to configure a fixed IP it doesn't react when clicked. That solution that goes around modifying the 01-network-manager-all.yaml file does not work for me either because it is not even rendered by networkd, instead is NetworkManager, but I cannot op ...

Score: 0
gegentierversuche avatar
KVM something wrong with IP settings
ps flag

On Ubuntu 20.04 I installed KVM and with bridge mode I created some Vm's without any problem. Server has got 2 Ethernets and first one using public IP.

host: enp41s0 public enp1s0: private

host netplan:

bridges:
    br0:
      interfaces: [enp1s0]
      addresses: [192.168.1.51/24]
      # gateway4 is deprecated, use routes instead
      routes:
      - to: default
        via: public IP 
        metric: ...
Score: 1
jpp1 avatar
sshfs option idmap=file prevents mounting entirely without error message
cn flag

We want to use sshfs to mount directories from a server on a client, bit some user and group ids do not match between those machines. The requirement is that user ownership is mapped correctly and the client is able to change the group of files to those groups where the local and remote user have the appropriate permissions.

After testing that sshfs HOST:DIR MOUNTPOINT -o idmap=user works and mounts the ...

Score: 0
gandsnut avatar
Why do 2 subdirectories appear with different names in different file situations
ar flag

Regarding 20.04, KDE Plasma. Subdirectories in question are '/extra' and '/home'. Both are mounted on their own partitions.

Perhaps 3 years ago, I installed a new hard disk, and during that installation, I appear to have used '/extra2' and '/home2' to copy from source to destination (the new HD).

Why do certain file-operation windows show what appears is the true system names for said locations, a ...

Score: 2
dfluff avatar
High CPU usage by dbus-daemon and systemd-udevd relating to home partition
cn flag

I'm running Ubuntu 20.04.5 LTS and using the gnome-classic desktop (because I'm stuck in my ways). I've always noticed a few minutes of high CPU from dbus-daemon when I initially log in, but it always then settles down to an acceptable level. Over the last couple of days, however, dbus-daemon and system-udevd have accounted for a constant 50% of CPU and haven't settled whilst the laptop has been runni ...

Score: 0
K. Weber avatar
Lost java binary versions and unable to restore them with jre or jdk
us flag

After uninstalling oracle java I lost java command and java --version throws error

java order not found

I'm supposed to have openjdk-8-jre and openjdk-8-jdk and same for openjdk-11-jre and openjdk-11-jdk.

I tried to uninstall and reinstall them in order to restore configuration but after doing:

apt install openjdk-8-jre
apt install openjdk-8-jdk
apt install openjdk-11-jre
apt install openjdk-11-jdk ...
Score: 7
Dawid Kłos avatar
Ubuntu 22.04.2 - Screen flickering / glitches
cn flag

I've been struggling with that for the last week. I've checked similar questions, and the proposed solutions worked only for a moment or reduced the glitches, but they didn't fix the issue. Also, I reinstalled Ubuntu, but it didn't help.

My setup is

XPS 13 9300
Ubuntu 22.04.2 LTS
Internal monitor
2 external monitors

The issue occurs only on the internal monitor. The 2 external ones are not affected. Whic ...

Score: 0
Crypto D NVarChar avatar
Opening and Using NotePad like program from the Ubuntu command line in WSL (Windows)
om flag

I really want to start using Linux, especially Ubuntu distro systems because I hear such great things about them and the fact that it very community based, which I really love.

Anyway, is there a command I can type into Ubuntu for WSL command prompt that would allow me to open a .conf type file to make changes?

Score: 0
BABU B avatar
Unable to mount NFS filesystem of ubuntu 22.04 on ubuntu 18.04
am flag

I have two ubuntu systems

  1. PC1 is running ubuntu 18.04
  2. PC2 is running ubuntu 22.04

Case 1: Now server is running on 1 and client on 2. In this case file system mounted properly on PC2 that is ubuntu22.04

case 2: Now server is running on 2 and client on 1. In this case file system not mounting. Checked everything is fine. Showing the error message connection timed out.

sudo mount -t nfs -o mountvers=4.0 ...

Score: 0
Llexii avatar
Ubuntu 22.04 sound and mic not working when connected to monitor
jm flag

I have recently installed ubuntu 22.04 on my new pc (I had windows 10 for a week then switched to ubuntu 22.04) and I noticed that as soon as I connect my monitor the sound and the mic don't work anymore, I made sure to select the right output and input device in settings -> sound and I still face the same problem as son as I join a call or play any sound (even the sound test in settings -> sound  ...

Score: 0
Ted Montana avatar
Can't connect Ubuntu to Ubuntu via Samba
it flag

Both laptops OS: Ubuntu 22.04.2 LTS x86_64 There is NO WINDOWS MACHINE involved.

I have Samba running on both smbd version 4.15.13-Ubuntu started.

I turned off all security on the network to allow all traffic (for testing)

No matter which machine I'm on, if I open "Files" and select "Other Locations" under Networks I see the Samba running locally AND the one on the other laptop. I can access the local ...

Score: 0
ale98sanchez avatar
Problem updating Grub. I´ve removed GRUB files
vg flag

Last day I installed Ubuntu 20.04 LTS with dual boot (Windows). The grub didn´t recognize my windows boot so I updated grub and it was successful. However, I accidentally removed grub files yesterday. I´ve try using boot repair, but it didn´t was ok. Now, when I put sudo update-grub it is what I´ve:

Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
El gu ...
Score: 0
bilogic avatar
Error when I specify multiple options in my PHP bash script
bj flag
#!/usr/bin/php -d register_argc_argv=1
...

At the top of my PHP script, I have the above and it works well. However, I need to add another -q and changed it to #!/usr/bin/php -q -d register_argc_argv=1.

But it results with the error

The following text was generated during the delivery attempt:

------ pipe to |/home/user/email_pipe.php /home/user
       generated by email@example.com ------

Error in ...
Score: 0
user3759591 avatar
not able to connect anymore to graphical interface
im flag

I have an Ubuntu 22.04 which was running fine and I was able to access it using RDP. Yesterday I removed software (kubernetes components as it was not working correctly), then did sudo apt-get update When I restarted the VM I can SSH into it, but when trying to access it through RDP I get this error screen.

Oh no! Something has gone wrong!
A problem has occurred and the system can't recover.
Please log o ...
Score: 0
Ritesh Tiwari avatar
Root directory permission changed
ph flag

i just typed "sudo chmod 744 /" and by mistake i hit the enter button

Now every time I run sudo command I get "Permission Denied" error

bash: /usr/bin/sudo: permission denied

I think the / directory permission was changed by mistake

do you know how to solve it ?

Score: 0
Dan G avatar
No Display Signal whatsoever after switching graphics driver
am flag

Ubuntu 22.04 Primary Windows 10 Dual Boot AMD Ryzen 7 3700X ASRock B550M-C RTX 3070

I recently tried to get my RTX 3070 working on the linux half of my dual boot system. I'm a complete noob at this sort of thing. After switching from X.orgX server to NVIDIA driver (open kernel) 525 and restarting, my PC would not provide any HDMI signal to any ports on my graphics card or the motherboard.

I tried re ...

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.