Latest Ubuntu related questions

Score: 0
baruchiro avatar
Mount TP-Link network drive
my flag

I have a TP-Link Archer VR600 router, I connected a USB drive to it and I want to mount it to my Ubuntu Server (terminal only).

archer vr600 network drive configuration

I installed cifs-utils.

I tried many variants of sudo mount -v -t cifs -o username=guest,password=,vers=1.0 //192.168.1.1/{Archer_VR600|sda1|volume|volume1|<empty>} /mnt/share, but no luck.

Without vers=1.0 I get CIFS: VFS: cifs_mount failed w/return code = -22

With

Score: 0
Alessandro R72 avatar
Repair disk from live CD
mk flag

I have a PC which do no boot for disk problems, when starting I see messages like ...

  • bulk update request IO error, dev sda, sector (some number)
  • Buffer IO Error on dev sda (I cannot copy & paste the exact message since it remains for too few time) many times, and then last with:
Free initramfs and swith to another root fs:
chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /
...

(initramfs) ...
Score: 0
np8 avatar
Bluetooth keyboard input lag? (goes away if bluetooth mouse disconnected) Ubuntu 22.04
cn flag
np8

I have a lagging problem with a bluetooth keyboard which I can only reproduce by using my computer for enough time (some tens or hundreds of minutes).

Symptoms:

  • The keyboard starts to have significant input lag: The characters come even seconds later the keys have been pressed, and some characters may be even lost.
  • This seems to affect all programs (terminal, browser, notepadqq,..)

System &  ...

Score: 2
Alakananda S avatar
Can we create two different filesystems on a single partition?
cw flag

I'm currently using Ubuntu 20.04 on my machine.

  1. Can we create two different filesystems on a single partition? Why?
  2. Also if the size of the filesystem created in a partition is less than the partition size, can we extend the filesystem size in the future?
Score: 1
qcabepsilon avatar
How to use pdfcrop to crop multiple files in directory?
ke flag

I want to use pdfcrop to crop all pdf-files in a folder, but I am completely unfamiliar with bash. What I have so far is:

for file in *.pdf; do
   pdfcrop "$file" "${file%.*}_Cropped.pdf";
done

The name of the output file should be fine, as this gives the wanted results:

for file in *.pdf; do
   echo "${file%.*}_Cropped.pdf";
done

But for each file pdfcrop returns "!!! Error: Link from 'my_correct_i ...

Score: 1
Ryffo avatar
How to fix networks conflict between WSL and Docker compose?
gd flag

Few days ago, on WSL2 (Ubuntu 20.04), I installed docker compose and created a docker-compose.yml that builds a database based on postgres:12 image. The first time I ran it, everything worked fine.

A few days later, when I ran my docker compose again, the build didn't work. Docker cannot access to internet to pull the postgres image, the connection is refused. Here is what it said :

$ docker compo ...
Score: 0
BlackHawk avatar
Restart systemd service when GPU memory limit is reached
ax flag

I'm using the following systemd service on Ubuntu 22.04 LTS. The service is saved in /lib/systemd/system/myService.service

[Unit]
Description=myService
RequiresMountsFor=/mnt/Data

[Service]
ExecStart=/usr/local/bin/project/main
Restart=always
RestartSec=5
StandardOutput=append:/usr/local/bin/project/stdout.log
StandardError=append:/usr/local/bin/project/stderr.log

[Install]
WantedBy=multi-user.target
 ...
Score: 0
Shakesbeer avatar
How to change size of replace dialog box of pluma text editor
in flag

I am using Ubuntu 20.04 Mate LTS (and I know there is a newer version).

The size of the replace dialog of the Pluma (v. 1.24.0) editor seems to be fixed. I'd like to enlarge it so that I can see complete strings in the search and the replace box even when they are very long. Is that possible?

I also have gedit 3.36.2 installed where that dialog box is resizeable. But gedit seems to lack other featur ...

Score: 0
Rəvan Ağazadə avatar
Korean(Hangul) keyboard doesn't work properly
mu flag

When I type in Korean it types like "ㅎㅏㄴㅏ ㄷㅜㄹ ㅅㅔㅅ ㄴㅔㅅ". So what I mean is it doesn't connect the letters. OS: Ubuntu 20.04 Input Source: Korean(Hangul) Input method system: IBus Keyboard layout: "Dubeolsik KSX 5002" (p.s There isn't "Dubeolsik") Please help me :(( Thanks.

Score: 0
installation of 22.10 on asus ux301 not working, gave up waiting on root... dropping to a shell
ng flag
Uri

after installing ubuntu 22.10 by following (https://ubuntu.com/tutorials/create-a-usb-stick-on-ubuntu#1-overview) on asus ux301, I cannot boot:

ALERT! UUID=<some uuid> does not exist. Dropping to a shell.

the uuid does not match anything in the output of blkid.

stuff I tried:

  1. changing the sata configuration from raid to ahci - that cause no devices to appear in the boot list, so it just tak ...
Score: 0
Preventing Ubuntu from asking for password for encrypted data partition at startup (Ubuntu 20.04)
cn flag

I'm using Ubuntu 20.04.

I have a (LUKS) encrypted partition that I do not want to be prompted to mount on startup (at minimum, not providing a password for it on startup should not block the system from booting), but I can't work out how to disable this. Note that the partition in question is not a root partition - rather it contains optional data not needed by the OS and is not needed to boot the ...

Score: 0
M F S avatar
I want to replace the old 500GB HDD with a 256GB SSD. What is the simple way to this?
tl flag

Can I just physically remove the HDD and connect the SSD in its place (and then do a new install of Ubuntu)?

Sony Vaio laptop 8GB RAM Old HDD is 500GB Nothing on the old HDD is important

Score: 0
ICSdebwin avatar
cubic error with volume ID
us flag

I ran cubic and passed the original iso file "xubuntu-22.04.2-desktop-amd64.iso" but it says "error: the original volume id is required"

What can I do to resolve this error?

Score: 0
jvars avatar
lsusb missing output
dz flag

I use to get detailed output with lsusb. However, the output since recently is being displayed in the following format without any descriptive string(s) which is strange:

$ lsusb
1d6b:0003 (bus 2, device 1)
13d3:56a6 (bus 1, device 4) path: 6
8087:0025 (bus 1, device 3) path: 5
09da:2403 (bus 1, device 2) path: 4
1d6b:0002 (bus 1, device 1)

Did something accidentally changed/deleted which could've ...

Score: 0
Worn-out_home-tech avatar
UBUNTU 22.10 Internal microphone partially working on new Asus Laptop
cn flag

I had to pick up a new ASUS Expertbook B1500 laptop (11th gen). Bought it yesterday, installed Ubuntu 22.10 (minimal install) and added all the apps the family member wanted.

Everything seems to work except the internal microphone. pulseaudio controller reports it as "C-Media(R)Audio" System profiler and benchmark report it as being from ASUSTek, but also says the vendor is SEAGATE.

Here is where it ...

Score: 0
Hossein avatar
Mattermost Ubuntu server stops suddenly
gy flag

My stand-alone Mattermost on Ubuntu server stops and gets frozen suddenly; no ping, no SSH, no service. It is installed on vmware with 8G RAM and 60G storage. In vmware host I see the RAM usage is less than 4G. The storage is less than 20G used. During the fault, even vmware browser console of the vm doesn't work, so there isn't any connection to server.

How can I find the root cause?

Mattermost ver ...

Score: 0
Loda avatar
external USB NTFS drive unmount during file operation
mw flag

I recently installed (with format disk option) a clean Ubuntu 22.04.2 LTS. (all new and shinny, no junk / custom setup of any kind except VS, Unity and other out of the box stuff)

With ultracopier 2.2.4.7, I copied 500gb of files from a exernal usb NTFS drive to another (same model) external disk.

At some point, the copy start failing. I notice the destination drive unmounted. making smaller copy, t ...

Score: 0
s3idani avatar
Opencv crashes on startup
cn flag

Trying to use face recognition on real time on my webcam but opencv crashes just after opening camera. here is the code:

import face_recognition
import cv2
import os
import re


fileIndex = {
    '#png_files'
}

video_capture = cv2.VideoCapture(0)


known_face_encodings = []
known_face_names = []
for n in os.listdir('#path'):
    sp = os.path.splitext(n)
    if re.match(r'^\.(png|jpe?g|gif)$', sp[1 ...
Score: 0
Gogilbert avatar
Wireless Drivers for Inspiron 1420 using Unbutu 20.04
gm flag

Inspiron 1420 wireless config not visible. Need driver & directions to install. Below is screenshot of WiFi board:

Oc:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4321 802.11a/b/g/n (rev 03) Subsystem: Dell Wireless 1500 Draft 802.11n WLAN Mini-card

Control: 1/0- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTX- Status: Cap+ 66MHZ- UDF- FastB2B ...

Score: 3
Sulejman Hoxha avatar
Nala broke my apt package manager
ph flag

I wanted to try out nala un my Kubuntu 22.04 OS. I ran sudo apt search nala and saw that nala was available in apt, so i ran sudo apt install nala . I then ran sudo nala fetch, because that is what many youtubers were running. I selected the first 3 mirrors that were the fasted and then ran sudo nala update and i got errors. I then ran sudo apt update to check if that was only the problem with nala ...

Score: 1
Samppa avatar
I seem to be having both an external GPU (Nvidia) and an internal (llvmpipe (LLVM 15.0.6, 256 bits) in use at the same time, what do I do here?
eh flag

At startup I get a bunch of textcode (200~ lines of code with some mention of Nvidia here and there) after that Ubuntu starts.

When in Ubuntu at times I get a black screen for few seconds such as, when clicking Settings... Also I have had my resolution change automatically in similar times from a larger (native in monitor) to a smaller (user set resolution) by simply opening the Settings etc.

It see ...

Score: 0
luciolencer avatar
Keyboard keeps spammming one letter even in grub/BIOS/boot menu (Ubuntu 22.04)
sj flag

Specs:

  • Multilaser Industrial PC28X Laptop
  • 4,0 GB
  • RAM Intel® Celeron(R) N4020 CPU @ 1.10GHz × 2
  • Mesa Intel® UHD Graphics 600 (GLK 2)
  • 62,5 GB
  • Previously Had Windows 11, removed it and installed Ubuntu 22.04

Internal drivers -Input Devices- (From system profiler and Benchmark)

  • Lid Switch
  • Power Button
  • AT Translated Set 2 keyboard
  • Intel HID events
  • Intel HID 5 button array
  • ALPS0001:01 0911:5 ...
Score: 1
a.t. avatar
Automatically spawning a clean Ubuntu 22.10 installation in Qemu?
us flag

After having manually set up an Ubuntu 22.10

Installation

sudo apt install spice-vdagent # To allow copy paste into QEMU Ubuntu
sudo apt-get install qemu-kvm
cd ~/Downloads

Then one can manually download the latest Ubuntu 22.10 release from Ubuntu.com and store it into ~/Downloads/ubuntu.img. And proceed with:

qemu-img create ubuntu.img 20G
qemu-system-x86_64 -hda ubuntu.img -boot d -cdrom ~/Down ...
Score: 0
Matteo Triossi avatar
I cannot sign in in Dropbox
us flag

I'm using Ubuntu 22.10 with Dropbox desktop application. It has worked normally until I decided to make a fresh reinstall of the OS to show a friend how to do it- I have reinstalled the application and clicked on "signin". Well nothing happens. I've tried with the installer from the Dropbox website, from the Ubuntu Store and from Flatub, with no success. After each attempt I have purged the system from  ...

Score: 0
battery avatar
Xorg: Changing display resolution manually via xorg config file
tl flag

I am using Ubuntu 22.10 I want to: set my display resolution to 1080p using xorg config file as xrandr didn't work for me. Solution worked before: In /usr/lib/X11/xorg.conf.d/10.nvidia.* i changed the values of #HorizSync 28.0 - 65.0 #VertRefresh 57.0 - 63.0 But i can't remember the values now.

Also, suggest me the correct way to change the config file. I have done this already and system got unboo ...

Score: 1
Nvidia install built new kernel with no networking. How do I get back to a previous kernel?
cn flag

I have a MSI MS-1653 laptop which was running Ubuntu 20.04. I tried to install NVidia CUDA with sudo apt install cuda. For some reason the install built a new kernel, and now when I boot into that kernel I have no networking.

I need to roll back to a previous kernel, but I can't get the boot menu that will allow me to go to Advanced options and boot a previous kernel as shown here.

When I try to re ...

Score: 0
Ivn Alfonso Pizarro Montenegro avatar
Ubuntu Gnome Terminal Fullscreen

This has been asked before, but I am not sure that the solution provided (it was a 7 years old post) works.

Basically, I want that every time I open the terminal, it does on fullscreen. I tried writing a command on the profile, but I got a weird glitch.

Anyway. I am open to suggestions. Thanks.

enter image description here

enter image description here

Score: -2
Maaz Ali avatar
CSGO immediately crashes on Ubuntu 22.04 when opening from Steam
ck flag

I recently had an issue with CSGO having a frozen black screen during startup. I looked around the internet and I found a libtcmalloc solution but when I installed the package and used ln -s in the csgo bin folder it made it so that CSGO won't bootup at all anymore. I believe this a common problem so I would appreciate if anyone knows a solution or could help diagnos the issue.

I using a Nvidia 1 ...

Score: 0
UlrikHD avatar
Upgrading ffmpeg from v4.4.3 to v6 with apt in 22.04
pw flag

I'm trying to install the latest ffmpeg version on Ubuntu 22.04. Using ubuntuhandbook's guide proved no success. The commands in the guide are:

sudo add-apt-repository ppa:savoury1/ffmpeg6
sudo add-apt-repository ppa:savoury1/ffmpeg4
sudo apt update
sudo apt full-upgrade

However I'm still stuck on v4.4.3. Restarting the computer has no effect. I've also tried linuxcapable's guide without it worki ...

Score: 0
John avatar
Why Did File Owner Change?
sd flag

Ubuntu Server 22.04 Encountered the following problem during a Linux class:

First lesson: User Management:

sudo useradd -m kaylee

sudo passwd kaylee

su - kaylee

Exited user kaylee, and started the next lesson (compiling source code):

  104  ll
  105  wget https://ftp.gnu.org/gnu/hello/hello-2.5.tar.gz
  106  ll
  107  sudo mkdir /usr/share/hello
  108  sudo cp hello-2.5.tar.gz /usr/share/hello/
  ...

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.