Latest Ubuntu related questions

Score: 1
HaveMercy avatar
How can I install wayfire in Ubuntu 22.04?
US flag

I am facing a lot of trouble in trying to install [wayfire][1], which is a compositor for wayland inspired (or based, idk) in the old, old compiz.

The problem is that this application requires a LOT of dependencies and these dependencies have little to no documentation in how to install them (check the README on github), so I am asking help to see if there is any noble soul who could just show wh ...

Score: 0
Timothyhtomit avatar
Lenovo Legion 5 Laptop video drivers How do I know if both GPUs are functioning?
mo flag

I have the best laptop I have ever bought, a Lenovo Legion 5. Problem is that it has two Graphics processors. One is a Ryzen 5000 series on the CPU processsor and the other is a Nvidia Geforce RTX.

How do I know if both are working on ubuntu? I don't even know if both of them are working in Microsoft Windows. I want to run the DOOM video game on Ubuntu. I paid for it with a steam acount and I'm  ...

Score: 1
gorlux avatar
Video freezing every 3 minutes on Ubuntu 22.04 on Acer R11 Chromebook
in flag

Converted Acer R11 Chromebox to Ubuntu 22.04 using mrchromebox.tech/#fwscript UEFI firmware replacement. Everything works fine except any video player (firefox, vlc) freezes video about every 3 minutes. Clicking on pause and waiting a few minutes then clicking play allows the video to resume, only to freeze again after about 3 minutes. The Acer R11 (C738T Cyan) uses an Intel Celeron N3150, Mesa Intel HD ...

Score: 0
Moshe Stein avatar
Ubuntu software and updates says my wifi adapter is not working
ga flag

does it imply my wifi adapter is broken? I have an old macBook air from 2009, I have installed on it Ubuntu 22.04. it works but very slowly. now I want to use it as a server. I want to use the wifi adapter that's built-in, but it didn't install the proper driver. so I have downloaded the driver using this Youtube instructional video. Now i have come to the Ubuntu software and updates to add the driver o ...

Score: 0
lisa23 avatar
Shortcuts for display gamma/brightness adjustment?
vg flag

Lubuntu 22.04.2 on an old Atom N550 netbook; I can control the display backlight via the settings menu and the hardware buttons, but I need it even dimmer, so I use the lower slider (labeled brightness) in the settings menu, which is, as I understand it, only a software function to adjust gamma. How can one control this using keyboard shortcuts? I tried "lxqt-config-brightness" and "pkexec lxqt-backligh ...

Score: 1
Nojan A. avatar
How to tunnel all the traffic for one interface through another interface
cm flag

I have two working interfaces on my ubuntu machine:

  • tun0 - OpenVPN server with the internal address of: 10.8.0.0/24
  • wg0 - WireGuard peer interface with the internal address of: 10.7.0.0/24 which is connected to an external WireGuard server with a successful handshake.

And I'm trying to tunnel all the requests for tun0 through wg0. So when I connect to the OpenVPN tunnel, it would be as if I'm connected ...

Score: 0
BlueDogRanch avatar
In a bash script, how do I change from root user to another user using su and then exit?
pw flag

I've looked at How do I run a 'sudo' command inside a script? but this seems to be a different issue.

I want to run a script to change from root to the mastodon user using su, run Rails commands, and then exit back to the root account and restart mastodon.

Manually, I can log into root via ssh root@123.456.78.90 which gives me the root@Mastodon:~# shell. Then I use sudo su - mastodon to change to  ...

Score: 0
dju_V avatar
Unable to install RSTUDIO - Cannot install 'libclang-dev'
sk flag

please if you could assist, I have tried to find solution but still unable to install rstudio (ubuntu 20.04 LTS). Getting this output:

sudo gdebi rstudio-2022.12.0-353-amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Cannot install 'libclang-dev'

Then i tried:

sudo apt install ...
Score: 0
Owais avatar
Downgrade Ubuntu 22.10 to 20.04 for ROS
vi flag

I would like to downgrade to Ubuntu 20.04 is it is officially supported by ROS Noetic Ninjemys. What are the exact steps that I can follow without breaking my machine?

Score: 0
Progga avatar
How to update amdgpu properly?
sy flag

Some time ago, i installed amdgpu-installer on my Ubuntu 22.04 system, since my graphics card (RX 6650 XT) is not fully supported (yet) by Ubuntu.

The latest version then (amdgpu-installer) was 22.20. Since this version doesn't seem to receive any updates, i am still stuck on Mesa 22.1.

If i check the current version of amdgpu-installer, it says 5.4, which is strange (Old version is 20.xx, new versi ...

Score: 0
Joosl avatar
Can't connect to snap servers
cy flag

This is my first time setting up a server, and I'm already facing a huge Problem: I can't install software via snap! I'm using the latest version of Ubuntu server.

When I try to sudo snap install Nextcloud, or anything else(like refreshing snapd) i get this response:

error: cannot install "nextcloud": persistent network error: Post
"https://api.snapcraft.io/v2/snaps/refresh": dial tcp 185.125.188.5 ...
Score: 1
RBugman avatar
systemctl status ufw.service failure
io flag
systemd[1]: Starting Uncomplicated firewall...
ufw-init[1232]: iptables-restore: line 5 failed
systemd[1]: ufw.service: Main process exited, code=exited, status=1/FAILURE

systemd[1]: ufw.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Uncomplicated firewall.

any ideas how to fix the error?

where to find iptables-restore line 5?

Using Ubuntu Server 22.04

Thanks

Score: 0
numerous avatar
System randomly freezes; unable to access terminal; restart fixes for a couple days
vi flag

I'm having this weird issue where after a while, my system just locks up. None of the CTRL+ALT+F* keys bring up the terminal or login, and only after a restart do things work again. During the time when things are locked up, I can't connect to any of my Docker containers or via SSH. Right now, all it runs is SSH and Docker on Ubuntu 22.04.2 LTS. I use it mostly headlessly, but I've had an inactive SS ...

Score: 0
zawier avatar
Disk space increased after moving Timeshift out
cn flag

Please let me understand one thing. I'm going to start from the fact that basically I was runing Ubuntu on my computer which was equipped in 120 GB SSD drive. Then I've decided to make back up of my system with use of Timeshift (which is my favourite tool for that). Because of that from longer time my disk was suffering and constantly reported out of space. One time even crushed badly , but restorin ...

Score: 0
simon32 avatar
Lost usb on two ports of my laptop
tt flag

I have lost use of a couple of usb ports on my laptop and I get this with a working port :

dmesg | grep -1 USB
[  546.010255] usb 1-9: Product: AudioQuest DragonFly Cobalt v1.0
--
[  546.010256] usb 1-9: SerialNumber: AQDFCB0101009070
[  551.233652] hid-generic 0003:21B4:0085.0002: hiddev0,hidraw0: USB HID v1.11 Device [AudioQuest AudioQuest DragonFly Cobalt v1.0] on usb-0000:00:14.0-9/input2
[  5 ...
Score: 1
rado avatar
how to force SBC codec on A2DP profile on ubuntu 22.04 bluetooth audio?
cn flag

enter image description here

my headphones always chop audio when reconnecting. and always work normally on the first pairing connection. i've tested this several times. i've tried this but it didn't work. using pavucontrol, i noticed all reconnections use A2DP with SBC XQ 552kbps (choppy audio) and all pairing connections use A2DP with SBC (normal audio). switching the codecs i discovered the only one with good audio is SBC

Score: 0
Animant avatar
Bluetooth problems
ai flag

I have been facing an issues and can't quite figure it out. I have paired my Samsung Earbuds pro to my Ubuntu (latest version), but the quality of the voice is very very bad. I've followed many instructions, but couldn't fix it. A2DP is missing from the sound setting, it only gives me 3 other options (HSP/HFP, codec CVSD, codec mSBC).

Score: 0
Tridip Barua avatar
HTTP request host header using netcat (nc)
us flag

How to use netcat (nc) to set host header in a HTTP request?

Score: 0
Afshin avatar
How to prevent all domain names except one domain?
in flag

I have a server that my users connect to for internet browsing. I want my users can only access a website like domain.com but nothing else. This website is behind Cloudflare CDN. So I can't block the website based on IP address

Score: 0
JanP avatar
Routing not working the same on two internal NIC
ru flag

on mu Ubuntu 22.04 server I have two internal NIC and one external connected to the Internet. I have defined the interfaces with Netplan as follows :

network:
  ethernets:
    eno1:
      dhcp4: true
      dhcp4-overrides:
        route-metric: 100
    enp2s0:
      addresses:
        - 172.16.1.1/24
      nameservers:
        addresses:
        - 127.0.0.53
        - 8.8.8.8
        search:
       ...
Score: 0
FunnyShmunny avatar
USB Flash Drive found, but not mounted
sh flag

My Flash USB stopped working recently, though nothing was done to it during this period. Looks like it's detected, but then can't be mounted properly.

Ubuntu 22.04.2 LTS

udevadm monitor

KERNEL[554.700306] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[554.765191] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[554.765360] add      /devices/virtual/workqueue/sc ...
Score: 0
seriously avatar
vnc server disconnects when unplugging hdmi
cg flag

I am using vnc to share my ubuntu machine screen to windows vnc client and it works fine but when I disconnect the ubuntu machines HDMI to monitor connection the vnc server stops serving the feed and my vnc client display freezes. When I did some research I saw that I have to set hdmi_force_hotplug=1 inside the /boot/config.txt file but this is for raspberry pi os what is the equivalent solution f ...

Score: 0
Fhazal avatar
Can't Run Putty on Ubuntu 22.10
eg flag
    (putty:7413): Gtk-CRITICAL **: 22:5*:*9.028: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(putty:7413): Gtk-CRITICAL **: 22:5*:*9.028: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(putty:7413): Gtk-CRITICAL **: 22:5*:*9.028: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

this error come out in terminal whe ...

Score: 1
Pablo Ruiz avatar
How to initialize Firefox on wayland always by default?
sv flag

I want to initialize firefox on wayland always, also from the GUI, for now I can do it from the terminal using the following command:

MOZ_ENABLE_WAYLAND=1 firefox

That works, and also I know that I can put that as an alias, but what I would like to know is how to do the same by default i.e. When clicking at the icon of firefox at the GUI.

Score: 0
sedsiv avatar
Ubuntu 22.04 - Wifi Manager
us flag

I'm having several problems with the Wifi connection and management of Ubuntu.

  1. In the settings pane under Wi-Fi I can't connect to any other Wifi than "Die Anstalt". When I click any other Wifi, nothing happens and it tries to connect with "Die Anstalt" again (even if I didn't check "Connect automatically").

  2. The Wifi is very unstable in general, it constantly disconnects after some time and then trie ...

Score: 0
jyroman avatar
Upgraded from 20.04 to 22.04 can't startx
na flag

I just did the upgrade from 20.04 to 22.04, using do-release-upgrade

Everything went smoothly but now I am unable to start the graphical interface, I get an error message with a button to logout and I can see this error displaying after that :

xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)

I tried a lot from what I could find on Google, but so far it didn't work, if any ...

Score: 0
BEMZlabs avatar
iMac late 2009 display in non safe mode bug
sz flag

I installed Ubuntu to an iMac from late 2009 that I have fixed up. I wiped the hard drive and installed Ubuntu with a usb stick. The usb black and white menu renders fine but as I enter the try/install ubuntu the screen splits off like this. The OS is completely usable but the resolution is messed up and there are four duplicated displays in each corner.

This issue persists with different Linux distros a ...

Score: 1
s.k avatar
Why does apt-mark showhold show two packages which are up-to-date
cn flag
s.k

On an Ubuntu server with these specs:

user@server:~$ uname -mor
5.4.0-139-generic x86_64 GNU/Linux

user@server:~$  cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLI ...
Score: 0
biglam avatar
Can't boot into Ubuntu 22.04
gb flag

While trying to upgrade python, I've somehow managed to damage something in my Ubuntu setup. I first noticed that the terminal app had disappeared, and using ctrl-alt-Fx wouldn't give me a command line to reinstall it.

I then tried rebooting, but now it won't boot to GUI. I can log in and use the command line, but I have no network access so trying to reinstall ubuntu-desktop fails.

I've tried fixin ...

Score: 0
aucuparia avatar
Wine 8 has started crashing when trying to run yabridge - failed to create wineusb driver
jp flag

I'm using Wine 8.0 to run some Windows VSTs in Ardour. It has been working just fine using yabridge. Today when I tried to start Ardour, wine crashed:

11:17:30 [LABS (64 Bit)-09AGLXaq] Initializing yabridge version 4.0.2
11:17:30 [LABS (64 Bit)-09AGLXaq] library:       '/home/xxxxx/.local/share/yabridge/libyabridge-vst3.so'
11:17:30 [LABS (64 Bit)-09AGLXaq] host:          '/home/xxxxx/.local/shar ...

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.