Latest Ubuntu related questions

Score: 2
Monitor connected via eDP goes black for 1-2 seconds whenever I call xrandr
cn flag

On my hardware there is only one single monitor attached at eDP-1. And whenever I call xrandr --query the monitor turns black for 1-2 seconds, although the command completes without an error. Also, I did not see any relevant error messages elsewhere. (syslog, dmesg, ~/.xsession-errors).
The effect is not just a flicker, but a complete outage.

My theory is that either monitor firmware or something on  ...

Score: 0
Arno avatar
CUDA toolkit seems intal but tensorflow don't see GPU
cn flag

I have a laptop with an RTX3060, I use tensorflow >= 2.6.0 on ubuntu 20.04. I have installed nvidia drivers version 495.44

I installed dependencies following tensorflow tutorial. I have installed cuda 11.5 in /usr/local/cuda-11.5 and cudNN for cuda 11.5 and set path in zshrc.

When I import tensorflow in a program I have no warnings/errors but when I try to list them I have this :

tf.config.lis ...
Score: 0
Manuel Jordan avatar
How add group write permissions for a mounted shared directory? (client/server case)
kz flag

I have a MacOS with a shared directory. I am able to access in Ubuntu Linux with:

# From Linux to MacOS
sudo mount -t cifs //192.168.1.X/directory_shared
                   /mnt/192.168.1.X/directoryname
                   -o username=username,
                   rw,
                   uid=####,
                   gid=####,
                   nounix,sec=ntlmssp

The problem is that if I do ls -l in the  ...

Score: 0
chrisnd2 avatar
I get an 'update has failed' notification - when it has actually worked
cn flag

This started with Ubuntu 21.04. I expected it to be sorted out with 21.10 - but the error persists. The scenario is that I get daily notifications of various updates to ubuntu itself or the apps. I click install and the updates are installed but then I get a message to say the updates have failed when in actual fact they have succeeded! I've got used to this, and it doesn't really bother me, but it w ...

Score: 6
George Sloata avatar
VLC won't work on Ubuntu 20.04.3 LTS with NVidia card
de flag

VLC will not work on Ubuntu 20.04.3 LTS.
It randomly freezes the image, but the audio keeps going.
Or it randomly crashes.
Or it randomly freezes the whole PC.

I have first tried the snap version of VLC.
I have then switched to the sudo apt install vlc in order to start it from terminal and log some errors:

$ vlc 4.mp4 

VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
[000055fc808f56 ...
Score: 0
samir avatar
error readlink: missing operand
cn flag

I used this command: sudo apt-get remove --purge opera-stable and now I can't use my terminal.

readlink: missing operand
Try 'readlink --help' for more information.
stat: missing operand
Try 'stat --help' for more information.
E: Problem executing scripts DPkg::Pre-Invoke 'stat -c %Z $(readlink -f $(which opera)) > /tmp/opera.timestamp'
E: Sub-process returned an error code
Score: 0
Mar z avatar
the ways to install nvidia driver and cuda
tm flag

I want to install nvidia driver and cuda and cuDNN. I am using ubuntu 18.04.6 LTS. I'd like to run deep learning algorithms. I am a little confused with the ways of installation. Could you help me with that to make sure I do the right thing.

  1. First way is to follow the steps provided here for installing cuda 11.2 on Ubuntu 20.04. As follows:
sudo apt-get update
sudo apt-get upgrade

# install other impo ...

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.