Latest Ubuntu related questions

Score: 1
magicbycalvin avatar
Laptop Crashing when using Make - Possible Thermal Issues?
ar flag

I am running Ubuntu 20.04.2 on a Lenovo Thinkpad P52s and sometimes run into issues when I use the make command with multiple cores (using the -j flag). My screen will freeze and the laptop will become completely unresponsive, requiring a forced shutdown in order to bring it back to life. I have left it for a couple hours before in hopes that it will eventually become responsive again, but to no av ...

Score: 0
qbt avatar
Failure to obtain a cuda file whenever I'm trying to download a nvidia driver
in flag
qbt

I've been trying to download CUDA toolkit 11.4 in my Ubuntu 20.04 but every time I try to get it fails because it can't find the following file /var/cuda-repo-ubuntu2004-11-4-local/./libxnvctrl0_470.42.01-0ubuntu1_amd64.deb is there any way to download it separately? This same file has been giving me trouble for a bit and can't seem to find a way to download it.

Score: 1
Chris Drabble avatar
Black squares in Skype Ubuntu 20.04 LTS
kh flag

Screen Example Can anyone explain the attached image? Only happens in Skype. Used to occur in Chromium until I turned off hardware acceleration in Chromium settings. All packages and snaps are up-to-date. Info from system:

    $ glxinfo | grep render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_sw ...
Score: 1
Beatrice avatar
Bluetooth always restarts if I try to connect any device
bv flag

I am using Ubuntu 20.04 and everytime I try to connect any device, the bluetooth will turn off, then on without letting the device connect at all. My computer has windows 10 installed, and it has no problem connecting, what leads me to believe that its not hardware

I tried reinstalling bluez, restarting the service, removing all devices then reinstalling bluez. Nothing worked.

Score: 2
Kevin Berry avatar
How do I stop Cups from auto detecting printers?
cn flag

How do I stop Cups from detecting and installing printers automatically?

When I go to print, I only want to see the printers I have added manually.

When I remove auto detected network printers in the Cups browser page, they just reinstall, which is extremely annoying. Users should approve printers before they just get installed like this.

I have read posts from a couple years ago, but only saw possible ...

Score: 1
sawablo avatar
Activities search box not automatically selected when pressing Super Key
id flag

I've had this really annoying bug for the last few days: when I press the Super key and type, the input appears in the window I was working prior to launching the Activities overview (i.e. not in the "Type to search" box). However, the search box works correctly when I access the Activities overview via the hot corner.

Is this a known Gnome or Ubuntu 20.04 bug? How can I fix it?

Score: 0
Denis Turgenev avatar
Does Asp.Net use his own privilege in ubuntu?
cn flag

I've executed simple Asp.net Razor Web project with root privileges.

root@s11306768:/var/www/# ./CopyWebServer

It performs simple file copy.

As I executed this with root, I expected that it will copy from any folder to any folder.

But Unfortunately, It says

Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
      System.Exception: Access to the path '/var/www/dest' is denie ...
Score: 0
qhx avatar
Ubuntu 20.04 KSM not working
kw flag
qhx

I want to use KSM in Ubuntu 20.04 to achieve memory sharing between to qemu VMs. And I installed ksmtuned as follows:

$ sudo apt install ksmtuned

But I found KSM not working, and systemctl show as follows:

$ systemctl status ksm.service
● ksm.service - Kernel Samepage Merging
     Loaded: loaded (/lib/systemd/system/ksm.service; enabled; vendor preset: enabled)
     Active: active (exited) since Mo ...
Score: 1
Daniel Batería avatar
Architecture Incompatibility with Brother Printer Drivers in Ubuntu 21.04
im flag

The printer is a Brother MFC-J430W, and the OS is Ubuntu 21.04. The conection is by USB cable. When at the beggining I plugged the printer to the computer, aparently it recognized it and installed the drivers, but when I tried to print nothings happened. Although it indicated "printing completed".

Then I went to brother support and download the drivers for this model. They didn't have expecifical ...

Score: 1
How to deal with screen flickering on Dell XPS
in flag

It is a well known issue that Dell XPS laptops with OLED screens can cause screen flickering. I used to have severe head aches before fixing the issue in Windows, recently I uninstalled Windows and moved to Ubuntu. After a week of using I've realised that I'm having headaches just like I've used to initially. However, unlike with Windows I have no idea how this can be fixed on Linux-based systems, hence t ...

Score: 2
Why can't my Snap-installed apps access external drives?
ec flag

I've recently set up a new server using Ubuntu 20.04 LTS. When I try to access images on an external drive using the snap-installed Gimp I get errors that the files don't exist (even if I run Gimp from CLI using the file I can see is there and that other apps can view). So I searched online, and every answer I find tells me I just have to enable access using:

  sudo snap connect gimp:removable-medi ...
Score: 5
DiscoDave avatar
Firefox 89 Hardware Acceleration on Ubuntu 21.04 with Nvidia 460 drivers
us flag

I can't seem to get Hardware Acceleration for Firefox working correctly with the closed source Nvidia 460 drivers.

Playing video (ie youtube) stutters often with dropped frames. I have an i7 6700k with a Nvidia 1070 GPU.

If I disable Hardware Acceleration entirely in Firefox, I don't experience these performance issues.

Has anyone come across this issue before?

Score: 0
Rumesh Madhusanka avatar
start a service only at specified run levels
za flag

I installed proftp service on my Ubuntu 20.04 system. I need it to be only started on run levels 3 and 5. Does using telinit <run-level> to change the run level and using systemctl enable proftp.service is the correct way to do it?

Score: 0
FinleyGibson avatar
Cannot reach DNS server when connected to VPN
in flag

When I connect to my work network over VPN, I gain access to the work network and can SSH to the servers, but lose access to the internet on my local machine.

I believe this to be an issue in finding the DNS server because I can ping both web addresses and IP addresses from the work server via SSH without issue, but from my local machine, I am unable to ping web addresses:

user@local_machine:~$ ping w ...
Score: 0
dmx avatar
Error while deploying Ubuntu via PXE
cn flag
dmx

I am trying to deploy Ubuntu on multiple computer via network using PXE. I found cool tuto for this here is the link. My issu comes on Step 1.5 –Download “UEFI” Packages: I am lost here, I can understand what is supposed to be done here. Any help ?

Score: 1
Maryam X avatar
How to replace strings in the last n-lines of multiple files in linux
vu flag

How can I replace strings in lets say 'last 10 lines' of multiple files?

I have about 100 files with the same extension '.txt' and I would like to replace string 'GLN' to 'LOO' in the last 10 lines of each file. How do I do this? I know how to do it for one file but not for several files. When I use this command ;

for i in `head -3 *.txt  | awk '{print $4}'`
     do
                   sed -i 's/GLN/LO ...

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.