Latest Ubuntu related questions

Score: 1
Adam avatar
logrotate not removing old files
rw flag

I'm trying to create a logrotate configuration that is the same for all log files. Right now I have

/var/log/* {
   size 100k
   rotate 5
   missingok
   compress
}

I created a shell script that makes dummy log files to test logrotate's capabilities. The script is

for i in $(seq 1 100); do
   echo $RANDOM > /var/log/Random.log.${i};
done;
touch -a -m -t 201512180130.09 /var/log/Random.log*

Howeve ...

Score: 0
Sergio Pantano avatar
cracklib-runtime in cron.daily is crashing Ubuntu 22.04
kp flag

I have found that cracklib-runtime crashes the OS when run by cron.daily. I have to physically reboot the computer.

Why does this happen and what are the implications of not having it in cron?

This is the content (system-default):

#!/bin/sh

set -e

if [ -x /usr/sbin/update-cracklib -a -r /etc/cracklib/cracklib.conf ]
then
    status="$(/usr/sbin/update-cracklib)"
    if [ -n "${status}" ]
    then
  ...
Score: 0
Victor avatar
Unable to set "italic fonts" for user interface and terminal in ubuntu 22.04
cn flag

In earlier versions of ubuntu, you could set any type of font (regular, italic, bold etc.) for the user interface using the tweak-tool. Also, the monospace font (such as in terminal, or the gedit app) could be set to any type of font including regular, italic, bold, or combination of these. But in ubuntu 22.04, you can set only regular type of font as user interface font or monospace font using the twea ...

Score: 1
The Programmer avatar
Rescue help needed - Linux box no longer boots Ubuntu 20.04 and finds and old Linux Mint 17.2 (after recent updates)
ru flag

I went out of town for a long weekend, shutting down the Linux box as a precaution for potential thunderstorms.

When I returned, my Linux box seems to have lost track of it's grub references to Ubuntu 20.04on /dev/sda1 (my current version). The drive also has a Linux Mint 17.02 on the /dev/sda7 partition, and an Ubuntu 18.04 partition. System has two SATA drives, a 1T seagate ST1000 and a 4T To ...

Score: 1
edu_correia avatar
How to restrict a SSH Key user access?
hu flag

So, I have a "personal" server, and it is only being used by me at the moment, but now I want some of my friends to be able to download files through scp using a SSH Key that they will provide to me, but I don't want them to be able to enter my server via SSH nor see the files that I have. Is there a way that I can limit what they can and can't do via their SSH Key? If not, is there other alternative ...

Score: 0
keldorn avatar
Nautilus script in ~/.local/share/nautilus/scripts/ doesn't show any terminal window or output
gb flag

I've created simple script and put it to ~/.local/share/nautilus/scripts/ (script at the end of the post).

I'm able to run with right click in Nautilus->Scripts->myScript.sh, all good so far.

The problem is there is no terminal window presented or any output. I only receive that notify-send message properly filled with path to selected file without any waiting.

I would expect that there will be s ...

Score: 1
Konstantin D avatar
(23.04) OS crashes after waking from suspend/reopening lid
ae flag

Hello! I recently bought Huawei MateBook d16 (on intel i5 12450H, LPDDR4x) and did clean install of Ubuntu 23.04.

Everything is great except when I resume from suspend or when I reopen the lid, the OS either freezes or it completely crashes.

Photo

Things I tried to fix this after googling:

  1. Turning off Bluetooth in BIOS
  2. Turning off Fingerprint Scanner in BIOS
  3. Setting BIOS Setting "Other Wakeup Source" ...
Score: 0
Lothar Langer avatar
Local network addresses unreachable after fresh install of Ubuntu 22.04
br flag

I have two laptops in a wireless network. Internet access works fine for both of them. As long as both were running 'Ubuntu desktop 20.04' they also could reach each other in the local network (ping 192.168...).

Recently i installed 'Ubuntu desktop 22.04' on one of them (fresh install not upgrading). Still both have access to the internet over the wireless router but they can't reach each other a ...

Score: 0
jringoot avatar
openSSL 3.0 deprecation errors when compiling wpa_supplicant-2.10
gb flag

On Ubuntu 22.04 server

I am trying to compile eapol_test from wpa_supplicant-2.10 as found on

https://w1.fi/wpa_supplicant/

make eapol_test

(Following "THE FREERADIUS IMPLEMENTATION GUIDE" (2014 network radius sarl) chapter 6 -EAP authentication, Pg 46,47) https://networkradius.com/doc/FreeRADIUS-Implementation-Ch6.pdf

I've set

CONFIG_EAPOL_TEST=y

in the .config

I get plenty of "deprecated: Since OpenSSL  ...

Score: 0
PuggitFuggit avatar
How do i connect to wifi using terminal on an ubuntu server?
cw flag

I am extremely new to linux and this is my first installation on an old laptop to host a minecraft server for my friends. I don't remember being prompted to add a wifi network in setup, maybe i accidentally skipped it somehow but now i can't run ifconfig to find my ip and when i am prompted to use sudo apt-get install net-tools it tells me it failed to fetch "http://archive.ubuntu.com/pool/main/n/net-to ...

Score: 3
Bugdroid avatar
Ubuntu 23.04 working fine on Kernel 5.19.0 but no WiFi, no Ethernet, no dual monitor support, no bluetooth and a lot more issues on 6.2.0-20
dj flag

Whenever I try to boot with default kernel version in my laptop from grub which is 6.2.0 I do not get any internet - no options to turn on WiFi, Ethernet, Bluetooth, USB tethering also does notw work, I cannot use external monitor. There are no animations and the quick settings menu only has the power mode and the dark style mode option rest have disappeared. However when I boot into ubuntu with 5.19.0- ...

Score: 0
Marrluxia avatar
Backup files : log for keeping track of successfully copied files and errors
cn flag

I am using Ubuntu 20.04 and I want to fresh install Ubuntu 22.04.

I have one partition and I want to copy the files that I have on my laptop on an external ssd.

While copying some files, I encountered some errors (e.g. error copying files, invalid characters (more than >20k files and I don't want to rename them manually or using regex, etc.))

Is there a way to keep a log regarding the files that are ...

Score: 0
Cai avatar
Trouble after update
um flag
Cai

I'm running Ubuntu 23.04 and just made an update (basically answered yes without checking what it did) but after that, my PC will not start as I want(no internet, screen resolution bad etc).

At start, I can still find the older version in GRUB bootloader meny and then everything works the way it should.

Now I would like to find the difference and see why my PC doesnt work with the update. Where shou ...

Score: 0
Aritro avatar
PCIe bus error: severity=uncorrected for ubuntu NetworkManager
de flag

I am trying to connect to wifi in ubuntu then suddenly the wifi adapter stops (ubuntu setting shows no wifi option). When I checked system logs using journalctl -ef I get the following output:

Jun 15 13:58:10 fishnak-ASUS-TUF kernel: mt7921e 0000:03:00.0: Timeout for driver own
Jun 15 13:58:09 fishnak-ASUS-TUF kernel: mt7921e 0000:03:00.0: driver own failed
Jun 15 13:58:09 fishnak-ASUS-TUF kernel ...
Score: 0
Slow wifi which is fixed by restarting wifi
th flag

I have noticed since some time that my internet speed slows down. I will still have high connectivity, but no data goes through. Restarting the computer or turning wifi manually off and then on again fixes the issue -- temporarily. After some times (can't say what triggers it) it worsens again. Other devices with the same network do not have the same issue.

I have looked into pico /etc/NetworkMan ...

Score: 0
AM K avatar
open /usr/local/share/xray/iran.dat: no such file or directory
dz flag

I am Trying to setup a VPN Server With Xray i get this error open /usr/local/share/xray/iran.dat: no such file or directory but when i enter ls -l /usr/local/share/xray/iran.dat the output is -rwxrwxrwx 1 root root 1763147 Jun 14 17:17 /usr/local/share/xray/iran.dat

tried chmod 777 * in /usr/local/share/xray foler

Score: 0
LaurentY avatar
Why lower resolution with nouveau driver on external screen?
ve flag

I have a Lenovo ThinkPad X1 Extreme Gen1 with:

  • Intel i7-8750H CPU
  • NVIDIA GeForce GTX 1050 Ti Max-Q 4GB
  • Ubuntu 22.04.2

I have an external monitor : iiyama prolite xcb3494wqsn-b1 plugged with USB-C cable to PC

When I used :

  • nvidia driver (nvidia-driver-530) I have max resolution of external screen 3440x1440
Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 16384 x 16384
eDP-1 connected (nor ...
Score: -2
How to get the machine specs from the terminal?I
cn flag

Is there a quick way to get the machine specs from the terminal? (GPU model, memory, CPU model, memory etc). I am getting the info bit by bit by different commands such as lscpu and lspci but cant get the complete picture

EDIT:No it does not answer my question since many of the answers are not from the terminal.

Score: 0
Jacob Bischoff avatar
Best configuration for multi-user and network storage that is git friendly
ng flag

I'm setting up a new system that is running Ubuntu 22.04 LTS. The system has two storage devices: an SSD, and a larger HDD device. The SSD is for the boot partition and configuration, system and program data for the OS and users. The HDD will be used for general file storage.

I'm currently trying to decide the best place to mount the HDD filesystem and if there are any special configuration steps ...

Score: 1
Rneel avatar
ACPI BIOS Error (bug) on new build PC
fk flag

I recently build a new PC. Now I'm trying to start my ubuntu (not sure which version) workspace from an usb-drive on this PC and I get the error message (below) when booting. I have no clue what to do... I have no issues with the same USB on a older laptop.

[ 0.302630] ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.GPP7.UP00.DP40.UP00.DP68], AE_NOT_FOUND (20190816/dswload2-163)
[ 0.30263 ...

Score: 0
Rob91 avatar
Battery drain in Dell 5420 Ubuntu 20.04
mq flag

I am using a Dell Latitude 5420 laptop with ubuntu 20.04 for a year. The battery drains out in around an hour or so. Most of the time I have to restart the laptop because power runs out very quickly. I have tried installing tlp, cpufreq, autocpufreq, slimbookbattery, disconnecting bluetooth, adjusting the available settings like brightness etc. However, they have increased the battery life by maybe 20 t ...

Score: 0
Lew avatar
Unable to SSH Permission Denied Public Key
mf flag
Lew

I am going to try and summarize this as best I can and in as most detail as I can. I deployed my first Django site to a Ubuntu (23.04) server on Linode last night after following this Corey Schafer Python Django tutorial. Everything went well and I setup SSH as the tutorial goes over in the video about 23-25 minutes in without issue. I verified everything was working at one point. I exited the server  ...

Score: 0
blckhrt avatar
Mouse drifts when clicking in Minecraft
mz flag

I am trying to play Minecraft Beta 1.7.3, every time I click and move the mouse at the same time, the cursor appears briefly and will unfocus from the game if the movement is large enough. I am using Java 8, Ubuntu 22.04, and MultiMC as a launcher. Please let me know what additional information I should provide.

The issue doesn't happen when I am in fullscreen, but I would prefer to be in windowe ...

Score: 0
adarsh ks avatar
!!SERIOUS BUG!! Closing laptop lid open again shows flickering screen
ck flag

Hello everyone I'm an HP 245 G5 Laptop with following OS and HW config

  • Operating System: Kubuntu 22.04
  • KDE Plasma Version: 5.24.7
  • KDE Frameworks Version: 5.92.0
  • Qt Version: 5.15.3
  • Kernel Version: 5.15.0-73-generic (64-bit)
  • Graphics Platform: Wayland
  • Processors: 4 × AMD A6-7310 APU with AMD Radeon R4
  • Graphics Memory: 6.7 GiB of RAM
  • Graphics Processor: KABINI

Getting this serious error :

Kubuntu 22.04 w ...

Score: 0
Gd Yr avatar
Does anyone know where USG has made the hardening configuration of the USB storage and how to reverse the hardening?
ae flag

Genuine question.

The server has a stock install of the Ubuntu Server 20.04 with the USG cis_level1_server script executed. Right now, I would like to re-enable the USB storage. How can I do that ?

Thank you.

Score: 0
sajid haider avatar
Can't log in to spotify app
lu flag

enter image description here

enter image description here

login screen doesn't appear. I am using snap version of spotify,ubuntu 23.04.

Score: 0
Yasha Karant avatar
Ubuntu 22.04 on HP Zbook Studio G9 laptop
cn flag

Ubuntu for ZBook Studio G8/G9 explains an OEM pre-installed 20.04 installation. Has anyone successfully installed non-OEM 22.04 on a HP Zbook Studio G9 laptop? If the OEM kernel and drivers are required, how does one get these? The unit came pre-configured with MS Windows 11. I intend to remove the SSD -- untouched -- install an unformatted new SSD of larger storage capacity that is supported by the m ...

Score: 0
Sona S avatar
Authentication to open .cache in the same user profile
kr flag

I was running some files in Ubuntu 20.04 (focal). During that time, I have come across an error 13: Permission denied. So I give some files permission with mode 777. But after that I come across other problem which is when I opened .cache folder in home directory, it shows a window of authentication. How to get rid of this?

Can I change the permission of files as it was by reverting system in Ubu ...

Score: 0
Merve Din avatar
Files disappered
be flag

I use Ubunutu 22.04 and Windows 11 all together in my computer. Recently after updating ubuntu, all my files disappered in desktop. In config listing I see my files. However, I cannot open them. Cloud you please help about it?

Score: 0
Xucong avatar
USB DAC not recognized
my flag

I get this from sudo dmesg as soon as I plugin my Fiio BTR5 into my Ubuntu machine:

[209210.911137] usb 3-1: USB disconnect, device number 96
[209217.493244] usb 3-1: new high-speed USB device number 97 using xhci_hcd
[209217.650464] usb 3-1: New USB device found, idVendor=2972, idProduct=0047, bcdDevice= 0.2e
[209217.650474] usb 3-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[209217.650477 ...

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.