Latest Ubuntu related questions

Score: 0
noraworld avatar
How can I offer another interface IPv6 addresses?
np flag

I have two networks and their structures are as follows:

(network A) ISP router --- (eth1) - Raspberry Pi - (eth0) --- other devices like PC, smartphone, etc. (network B)

I want to assign IPv6 addresses to network B, but I have no idea how to achieve this.

Here's a list of IPv6 addresses on my Raspberry Pi:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
    inet6 ::1/128 scope ...
Score: 0
Risu avatar
Wordfast on Ubuntu: Error by the Java Runtime Environment
hr flag

I am new on Ubuntu (try to switch from Windows). Now I try to run Wordfast Pro 7.2.0 on Ubuntu.

Running the programm leads to the following error:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f741806b740, pid=8313, tid=8383

JRE version: OpenJDK Runtime Environment 18.9 (11.0.13+8) (build 11.0.13+8) Java VM: OpenJDK 64-Bit Server VM 18.9 (11.0.13+8, mixed m ...

Score: 0
Achraf Ahmed Belkhiria avatar
Audio unavailable on Ubuntu after Windows update - Dual boot
pl flag

I've been using dual boot on my PC since few months and everything is fine until I updated my Windows 10 a week ago. Just after the update, I was unable to connect via WiFi and listen to Audio from Linux. I had to disable fast start-up in Windows and make sure I shut down and not use restart when I am done with Windows. This helped me recover WiFi but not Audio.

Weird enough, yesterday Audio was also ...

Score: 1
padjee avatar
crontab not deleting files
cf flag

I have crontab commands on Ubuntu 20.04, that looks like this :

* * * * * /usr/bin/find /backup-nfs/ -name "*.sql" -path "/backup-nfs/*.sql" -type f -mtime +1 -delete
* * * * * find /backup-nfs/ -name "*.sql" -path "/backup-nfs/*.sql" -type f -mtime +1 -delete
* * * * * find /backup-nfs/ -name "*.sql" -type f -mtime +1 -delete
* * * * * find /backup-nfs/ -name "*.sql" -path "/backup-nfs/*.sql" -exec r ...
Score: 0
20.04: add/change order or world clock in command line
ve flag

I am using the World Clocks applet in Ubuntu 20.04 and would like to:

  • change the order of the clocks without erase/re-add
  • ideally set the clocks (order) from the command line

Is that possible?

Score: 0
gelcom avatar
Problems moving files to a samba share: permissions and ownership not persistent
US flag

I have samba running on a Ubuntu 22.04 machine so I can share an specific directory with another Ubuntu 22.04 client machine. This directory on host has no files on it.

Samba config on host is as follows:

sudo nano /etc/samba/smb.conf
[share_name]
   browseable = yes
   read only = no
   hosts allow = 192.168.0.0/16
   path = /tank/mail
   create mask = 0775
   force create mode = 0775
   force direct ...
Score: 0
Xristos Diamantis avatar
Why my DELL Latitude 5590 doesn't come back after blank screen
th flag

When I set my Latitude 5590 to go blank screen after x minutes, it's just not coming back when I move the mouse or press any key so I have to force poweroff. I'm not talking about auto suspend but I have issues with this too. I have Ubuntu 20.04 now but I've had the same issue with 18.04 too. Any suggestions?

Score: 0
Eldho K K avatar
How to give seconds of delay before after Button press
tv flag

I want a 3 second delay after a condition is satisfied which should not stop any other process.

When I press a button for 3 seconds I want a return value true (timer should only start after button is pressed) else it must be false. Any suggestions how to do it? Here's what I have tried but is not working

import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(3, G ...
Score: 1
marekbeylich avatar
No network after upgrading from Ubuntu 20.04 to Ubuntu 22.04
bg flag

I recently upgraded my working Ubuntu 20.04 server to 22.04 and the network does not work anymore. I am desperately trying to find a solution to this.

Output of sudo lshw -class network :

output of lshw

Output of ip a :

output of ip a

The network interface shows disabled and no matter how I try to turn it back on, it does not stay on or work. I still can't use apt update as an example.

Score: 0
Nishant Pardeshi avatar
How to uninstall specific version of app when we installed two different version of same application in ubuntu
eu flag

I have installed two different versions of dbeaver on Ubuntu.

  • 22.2.1
  • 22.2.2

And I can open both at a same time.

Can someone please help me to uninstall 1 of them?

Score: 1
Bin Xu avatar
Ubuntu 20.04 hangs on shutdown / reboot
mk flag

I did an install of Ubuntu 20.04. cat /proc/version Linux version 5.13.0-37-generic (buildd@lcy02-amd64-111) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022

Shutdown and reboot hangs on the Ubuntu splash screen.

enter image description here

Score: 1
REDHWAN avatar
Having trouble installing CUDA 11.2 on Ubuntu20.04
ru flag

I tried to install CUDA version 11.2 or 11.0 but I failed many times. I have spent a long time.

see this message:

dpkg: error processing package cuda (–configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.136ubuntu6.7) …
update-initramfs: Generating /boot/initrd.img-5.15.0-50-generic
Errors were encountered while processing:
nvidia-dkms-460
cuda-drivers ...
Score: 0
Ahsan Maqbool Stay with Ahsan  avatar
PDF file not opening

I uploaded several PDF files in mendeley reference manager. However none of the file is opening, it just shows blank screen whenever i try to open a pdf file.

Score: 0
nndorenji avatar
rosdep update turns error in ROS Noetic Ubuntu 20.04
tm flag

I'm new at ROS and I'm facing this problem. I actually installed noetic version in my Ubuntu 20.04 but for some reason when I build my ORB SLAM3 package I installed python3-rosdep2 and since after that I was facing lots of error. Decided to uninstall noetic and reinstall again. But, when I run rosdep update I got this error:

Traceback (most recent call last):
  File "/usr/bin/rosdep", line 11, in <m ...
Score: 0
flapjack avatar
How to run Firefox in Firejail?
to flag

I'm trying to run Firefox in firejail, on Ubuntu 22.04.1.

When I use firejail firefox, I get:

Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Rea ...
Score: 2
Jan Weidner avatar
GUI does not start, but GPU driver seems fine
in flag

I installed Ubuntu 22.04 on a fresh computer and I can't get the GUI mode to work.

  • It seems that the graphics card works fine. I even confirmed that CUDA works by doing a bunch of matrix multiplications on the GPU:
nvidia-smi
Wed Oct 19 08:23:13 2022       
+---------------------------------------------+
| NVIDIA-SMI 515.76       Driver Version: 515.76       CUDA Version: 11.7     |
|-------------- ...
Score: 0
Andrew Shaykin avatar
I can't access the server with backuppc from the local network
ch flag

If I go to http://127.0.0.1/backuppc/ or http://localhost/backuppc/, everything is fine. If I try to go to http://10.x.x.18/backuppc/ or http://domain.my/backuppc/,то I get

Forbidden You don't have permission to access this resource. Apache/2.4.52 (Ubuntu) Server at domain.my Port 80

And also from any PC on the local network

If I try to go to http://10.x.x.18/ or http://domain.my/,то I get the s ...

Score: 0
Mike Dewhirst avatar
How can I schedule daily logrotate for a different time of day
bd flag

The only information I can find indicates logrotate happens at midnight. That happens to be UTC on my server and 10AM local time.

How can I reschedule logrotate to a more convenient time when fewer people are using the web server?

Thanks

Mike

Score: 0
Tupopo avatar
How to Automatically run/stop a script at a certain time of the day
in flag

What I want to achieve:

8:00 AM:
Runs a sh script (this script does not stop running until the user presses ctrl+c)

8:00 PM: stops the script by sending ctrl+c or other means

Repeat

I tried researching crontab but I'm not sure about the stop script at 8 pm part.

Score: 0
harp avatar
Webcamoid installation
bg flag

How do I update webcamoid 8.8.0 to the newest release (9.0.0) from the terminal on Ubuntu 22.04? I have tried sudo apt update webcamoid and it did not work.

Score: 0
CoffeeFields101 avatar
Trying to install Ubuntu 22.04.1 as a VM, and there's an issue right at the end
tl flag

When I am going through the Ubuntu installer on my VM, I am able to reach the part where I create an account and then it begins installing everything. After several minutes, the installation gets an "Error installing linux-image-5.15.0-52-generic" window near the end. It says that the package post-installation script subprocess returned an error exit status 1. When I click ok, a larger window says that  ...

Score: 0
JAteek avatar
Preserving my first Minecraft game on Ubuntu 22.04.1 from earlier Ubuntu server
nl flag

My first Minecraft game was 1.8.8 on my local Windows machine. I built a stand-alone Ubuntu Server 16.04 (actually probably started as 14.04 but upgraded along the way) and did a build of Spigot 1.8.8 and put the world there. The game is running fine on that original server, but I feel its time for an upgrade, so I've built another stand-alone with Ubuntu Server 22.04.1, adding nothing in the installat ...

Score: 0
krillavilla avatar
Issues with Linux 5.15.0-50-generic Kubuntu 22.04
cn flag

I cannot boot up using 5.15.0-50-generic kernel. I can boot up using the previous kernel 5.15.0.48-generic.

I have tried reinstalling Nvidia drivers but it is still not working. I was wondering if anyone else has this issue.

I have HP OMEN enter image description here error message

Update

I remove 5.15.0-50-generic kernel and run sudo update-grub reboot my computer and it boot using kernel 5.15.0.48-generic

I reinstalled the 5.15.0-50-gen ...

Score: 0
What makes LXD autostart?
lk flag

I can see that snap creates and enables a snap.lxd.activate.service service, that runs lxd activateifneeded. But I don't see any signs of it in snapcraft.yml. snap.lxd.activate.service is enabled and snap.lxd.daemon.service is static. What tells snap to do it this way? And what's misleading is that snap services somehow lists lxd.daemon as enabled.

On a side note, activateifneeded won't autostart the ...

Score: 0
Ravi Joshi avatar
Stop Ubuntu from showing updates every day
ph flag

My question is a follow-up to the existing question. Well, I love Ubuntu, but it keeps showing me updates every day. As I am a terminal-friendly guy, so often I update my Ubuntu with the following command:

sudo apt -y update && sudo apt -y upgrade && sudo apt -y autoremove && sudo apt -y autoclean

However, I don't like to see the popup window so frequently. It somehow distract ...

Score: 3
amisotcm avatar
Anydesk Start Without Login 22.04
sx flag

I'm using ubuntu 22.04, and I wanted to remote my computer using anydesk. Unfortunately, sometimes when remoting, I need to restart my computer, preventing me from reconnecting to any desk since I need to log in.

Is there any way that I can access any desk without entering the password to the login screen? I also don't want to log in automatically to my computer since it could be risky. Thank you ...

Score: 0
ABSO avatar
Why the variable value is not changing in the function?
ee flag

In the following function main_script, the variable DEFAULT_BACKUP_DIR is not working as intended because the value /home/user/BACKUP is not assigned to it which I do not know why, and when I try to update it in the if statement it also does not update

Note 1: This function is inside a Makefile that I use to run a Bach script file

Note 2: The variable DEFAULT_BACKUP_DIR is declared for the first t ...

Score: 0
cookiemonster avatar
Bash Prompt only shows base
nf flag

When I ssh to a server I always use, the prompt only shows 'base':

(base)

And thats it, not even a $ sign or directory/username. I understand the base refers to the base conda environment but Im not sure why nothing else is shown. How can I get other info shown there?:

(<conda environment>) [<username>@<server name> <directory>] $

Thanks!

Score: 3
Jeff avatar
Do I have to install any snaps in a "server environment"?
uy flag

I have installed VMware 16 Pro: (https://www.vmware.com/uk/products/workstation-pro/workstation-pro-evaluation.html) on a trial basis and with that I installed Ubuntu Server 22.04 from the official Ubuntu website.

During installation, there is a menu where I can select to install "Featured Server Snaps" (popular snaps in a server environment).

enter image description here

Do I have to install any snaps from this menu on my se ...

Score: 0
zrlo avatar
Ubuntu 22.04.1, after system update, input devices don't work
fi flag

[Solved: see edit 2]

After I did a system update, the system boots to the lightdm login, but the mouse and keyboard don't work.

I am able to log in remotely over the network from my laptop, but I'm not sure what to look for.

I can also boot to recovery mode and I have Ubuntu on a USB stick I could boot from too.

Edit 1: I have changed to text boot, and can login into the text console fine.

I may ha ...

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.