Latest Ubuntu related questions

Score: 1
Witty Tut avatar
Network interface down after every reboot
co flag

I have installed Ubuntu server 22.04 for the first time and am still pretty new to linux. Every time I reboot the server I will have to run the command sudo ifconfig enp6s0f1 upto get that interface up and running. (I have learned after reading through forums that I should start using ip commands) I have edited my netplan .yaml file and will include it. I have my main interface which doesn't have thi ...

Score: 0
PouJa avatar
How to log in to an Ubuntu VPS with public-key through vnc?
km flag

I have a VPS with a ssh key pair set on it and password authentication disabled. Today I accidentally lost my ssh access to my VPS. I was trying to change the default ssh port to port 1025. I added a bad line to the sshd_config file and failed the syntax. Instead of Port 1025 I entered Port1025 without the space in between. I immediately lost my ssh access right after restarting ssh service.

Then  ...

Score: 0
Lucas Taborda avatar
Chrome doesn't detect gamepad?
ma flag

I'm trying to use xbox cloud on ubuntu with the chrome web browser. I have a redragon gamepad. It works fine with firefox but for some reason chrome doesn't recognize it. Any ideas? Thank you.

            .-/+oossssoo+/-.               lucas@atenea 
        `:+ssssssssssssssssss+:`           ------------ 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.1 LTS x86_64 
    .ossssssssssssss ...
Score: 1
Zak avatar
Block a spcific subset range in UFW
cn flag
Zak

I am looking to block a specific range in a single line .. Is that possible with UFW?

I'd like to block 1.1.0.0 - 1.1.31.255, but the only way I've found to do so is to put 32 individual rules in IE

$ ufw insert 1 deny from 1.1.0.0/24 to any
$ ufw insert 1 deny from 1.1.1.0/24 to any
$ ufw insert 1 deny from 1.1.2.0/24 to any
$ ufw insert 1 deny from 1.1.3.0/24 to any
.....
....
...
..
.

Is there a ...

Score: 6
s0mething001 avatar
I accidentally typed sudo chmod -R 777 to /var insted of /var/www
al flag

I accidentally typed sudo chmod -R 777 to /var insted of /var/www so now I cannot open some applications like Skype or Ubuntu Software. Is there any way to fix this?

Score: 0
Betelgeuse avatar
Ubuntu not booting properly. Think nvidia might have something to do with it?
se flag

Yesterday I downloaded my first linux distro and it was kind of clunky, wine wouldn't really download properly, "nvidia x server settings" wouldn't open properly and my second monitor was completely dark and wouldn't even show up in display settings. I'm sure atleast some of these things are related to the problem I am facing now.

The problem i'm having now the next day is that when I try to boot ...

Score: 0
nfswisstony avatar
Ubunutu 22.04 Azure marketplace image - Static IP Address?
qa flag

Image deploys in Azure fine, I can access the Server but its dhcp... I need it to be static.

I have edited the 50-cloud-init.yaml and applied using netplan apply, but this gets over written on reboot.

I have added the 99-.....yaml file as suggested in the text of the 50-cloud-init.yaml file to stop the cloud networking on reboot applying again.

I have then edited the 50-cloud-init.yaml file again and c ...

Score: 0
Using Kate & Kdiff3 as drop-in replacements for vim/emacs
us flag

By default, ubuntu-minimal uses vim-tiny, and after >20 years of using vim/emacs, I am cured, and realize that despite their obvious power, the user interface itself of both editors is not designed for humans and a horrible joke.

So I would like to replace it completely. Preferably with Kate, Tilde and KDiff3.

Of course I already uninstalled vim-tiny, and removed the dependency for it from ubuntu- ...

Score: 3
needHelpToCode avatar
Run cronjobs in different timezones
wf flag

I have some cronjobs that I want to run. I want two of my scripts to run in UTC and the rest in CET. I have tried with cron_tz but it does not seem to work.

Score: 0
David avatar
Set MySQL default-time-zone to Europe/Berlin results to MySQL crash
pt flag

I'm running a VPS with Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0 x86_64) and MySQL 5.7.40.

Until now I always took the following steps to setup the right time zone for MySQL on a new server:

First: sudo apt-get install --reinstall tzdata

Then I selected Europe and Berlin at: sudo dpkg-reconfigure tzdata

Console then prints: Current default time zone: 'Europe/Berlin'

Then I opened /etc/mysql/mysql.conf.d/my ...

Score: 0
Muhammad Habib avatar
Anydesk installation by bash script using wget
bj flag

I'm trying to write a bash script for automating the installation of anydesk by wget with the help of th following code:

echo -e "[ - ] Installing AnyDesk..."
wget --max-redirect 1 --trust-server-names 'https://anydesk.com/en/downloads/thank-you?dv=deb_64' -O anydesk.deb
sudo apt install ./anydesk.deb
echo -e "[ ✔ ] AnyDesk ➜ INSTALLED\n"

I know the error is in wget command but I don't know how to ...

Score: 0
Per Åke Malmqvist avatar
How to remove a wallpaper on 22.04 LTS after applying it?
cn flag

I wanted to choose a wallpaper by right clicking and selecting "Configure Desktop and Wallpapers".

I tested this using a a .jpg image and clicked "+Add Image" and then OK. I didn't like the image, so I started looking for a way to remove the the image but I couldn't find a way. How do I remove a wallpaper image after applying it?

Score: 2
Greg G avatar
I'm missing application search function in Ubuntu 22.04
mk flag

After upgrade to 22.10 gone wrong (so no 22.10 - my current version is 22.04), I lost my desktop. After reinstalling it, everything works fine but:

  • there is no desktop application search functionality
  • there is no Show application (9dots icon)

I guess issues could be related. Does anyone have idea how to bring them back?

ps: I think that this part is not related to the question but any way. As Rishon JR  ...

Score: 0
braisonsCrece avatar
problem when switching audio output device
US flag

I am using ubuntu 22.04, with everything by default. But about a week ago I decided to try the KDE desktop. For this I did the installation from the terminal, and when I rebooted, I was able to log in through the new KDE desktop.

I didn't like it, and wanted to go back to GNOME. Once I uninstalled KDE and went back to Gnome, the audio drivers went crazy.

From then on when I want to change the audio  ...

Score: 0
Add the Kubuntu/Plasma clipboard actions popup list to Firefox
br flag

In Kubuntu 22.10 there is this option of a popup list of clipboard actions when sending a file/folder or link to the clipboard, involving the applications associated with that type of file or link.

enter image description here

In the file manager, Dolphin, when copying a file (which sends it to clipboard), the list coincides with the "Open with" context menu:

enter image description here

If a URL is copied in a browser other than Firefox (tested Falkon ...

Score: 0
joel goldstick avatar
Control key broken in Firefox 108 on Ubuntu 22.04
cn flag

I use ctl+ to zoom text often. Just in the last two days this stopped working. Pressing control seems to send off multiple ctl - signals and it makes the web page so small I can't read it. I removed and re installed -- no luck. I installed with apt install, not snap.

I switched out the keyboard, so its not that. I created a second user on my machine, and the problem is the same on the second user ...

Score: 3
Pedro avatar
Recover Ubuntu Environment on Windows after windows reset
do flag

I am (and was) using WSL and MobaXterm to create a Linux Dev environment on Windows. After being stuck in an Automatic Repair loop that did not allow me neither remove the last updates in my system or access to it in safe mode, I reset my PC, maintaining all my local data intact (although some apps were uninstalled). I recovered everything easily except for my Ubuntu environment, which contained some im ...

Score: 0
Akx avatar
Failed to boot ubuntu 22.04.1 LTS
vc flag
Akx

I have an Asus X507U machine. I tried to install ubuntu 22.04.1 LTS but it failed. Attached are the boot logs.

What is wrong with this? I am suspecting it is due to the graphics card and tried installing with safe graphics which yields nothing.

enter image description here

enter image description here

Score: 0
Ohad avatar
Multiple errors after failed installation
cc flag

I am using Ubuntu via WSL. I was trying to install Rust using this command (taken from the official website):

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Unfortunately, it seems that the installation had failed due to lack of disk space. However, now many things appear to be broken. E.g when I try to use sudo I get Input/output error, when I try to use Conda commands I get FileNotFoun ...

Score: 0
Abdallah Faik avatar
unknown display
uy flag

I changed to the new graphic card

[AMD/ATI] RV730 PRO [Radeon HD 4650]

ubuntu read the card but i got UnknownDisplay and can't change the resolution

I tried to add resolution 1280*1024 by xrandr and didn't work

i tried to reinstall ubuntu and doesn't help when i use command

lspci | grep VGA

 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 PRO [Radeon HD 4650]
 ...
Score: 0
Oralover avatar
Host Windows 10, Guest Ubuntu 20.04 Desktop LTS: copy file in shared folder from command line but can't through file manager gui
tr flag

I have an Ubuntu 20.04 Desktop running as a guest OS in VirtualBox 6.1, which is running on the host Windows 10 system.

I have shared a folder from the Windows host which should be accessible to the Ubuntu. I can see it in Files (file manager GUI) and in /media/sf_SharedFolder where it is owned by the group vboxsf, and my logged-in user has been added to this group. The problem is that I can copy & ...

Score: 1
Muhammad Ibrahim avatar
APT Repository is Not Signed Error, But It's Not Even Installed - Wine
al flag

I just removed the Wine application, and all of its files, from my system. It was installed with the https://dl.winehq.org/wine-builds/ubuntu jammy InRelease repository. I checked /etc/apt/sources.list, and the repository is not listed there.

Whenever I run sudo apt update, I get the following error:

The repository 'https://dl.winehq.org/wine-builds/ubuntu jammy InRelease' is not signed.

Ubuntu  ...

Score: 0
k90mirzaei avatar
Ubuntu 22.04 Failed to execute child process
us flag

I just install ubuntu 22.04 on an external SSD (Samsung t7), on my laptop (Asus G512) and it works fine but after a while suddenly it crashed like bellow image:

enter image description here

which is weird because I do SMART test and repair it, so I'm pretty sure this is not SSD hardware issue.

so now there are some questions.

  1. Is it a good idea to have Linux on an external SSD for daily use?
  2. Is my hardware/Laptop having issu ...
Score: 0
Mi1anovic avatar
Terminal color differences in AWS vs Azure Ubuntu VMs
sk flag

I am seeking for some help.

I have AWS VMs with Ubuntu 20.04 LTS and when I am using SSH I have nice colorful terminal. On the other side Azure VMs with Ubunu 20.04 LTS are almost without any color in terminal.

I checked the .bashrc file on these VMs but there are no differences. Anyway I enabled the #force_color_prompt=yes in this config for Azure VM and it did not helped.

I was wondering if it  ...

Score: 1
jerome avatar
any other terminal than konsole with shift+mouse wheel to scroll faster?
ca flag

I used to have konsole installed, where you can just press shift when using the mouse wheel, which transforms the scroll from "line per line" to "page to page". Are there any other terminals that have this feature ?

(installing konsole is a bit painful as it comes with all the KDE librairies, making it a 200MB install for just a terminal)

Thanks ! (Using Ubuntu 22.04)

Score: 0
dyedfox avatar
Translating ip route add into netplan
ru flag

Would you please help me with one simple question. I would like to have persistent route in my network settings.

How can I reproduce this command in netplan (Ubuntu 22.10):

sudo ip route add 10.0.10.0/24 via 10.0.0.1 dev enp3s0

I just get messed with all these YAML markup. Sorry for this.

Score: 0
Prevent the connection from failing altogether in case when VPN fails?
cx flag

I've set up a VPN and I connect to it automatically when wired or wireless. I've launched the GUI via nm-connection-editor in the command line, and there I choose a connection Settings and check or uncheck the General->Automatically connect to VPN. All works OK.

Problem happens when the VPN for some reason does not work. In that case both the wired and wireless connections fail, the machine consta ...

Score: 0
iamthesleepeater avatar
Mouse cursor not displaying and keyboard not working after update
ke flag

After updating to Ubuntu 22.10, my cursor has stopped showing on my desktop environment. It is still there since I can still move windows around, it is just invisible. The mouse is visible in the lock screen, dock and the app screen. If I open an app, the keyboard will not input anything I type. ctrl + alt + f4 still works, but ctrl + alt + t to open the terminal does not.

I have tried adding "nomodese ...

Score: 0
li_jessen avatar
sudo apt update error: 404 Not Found
ph flag

I'm running on Ubuntu 20.04.

$ sudo apt upgrade

It shows the following error:

Err:2 https://cli.github.com/packages stable/main amd64 gh amd64 2.14.7
  404  Not Found [IP: 185.199.108.153 443]
E: Failed to fetch https://cli.github.com/packages/pool/main/g/gh/gh_2.14.7_amd64.deb  404  Not Found [IP: 185.199.108.153 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-m ...
Score: 0
How do I install firestarter on ubuntu 22.04.1?
gb flag

I use this distro, and I've tried sudo install but it says that the package was not found. Tried through synaptic and also not found. Has it been discontinued?

2-Is there a better front-end firewall?

Thanks

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.