Latest Ubuntu related questions

Score: 0
inverted_index avatar
Nvcc is not found while cuda is installed
gn flag

I'm trying to get nvcc working, but it seems that it's not even installed on my system. Although I have installed cuda-10.2 when installing pytorch with conda, but there's no mention of nvcc at all anywhere and which nvcc returns nothing. I searched the related threads and noticed that nvcc should be in path: /usr/local/cuda-10.2/bin/nvcc, but interestingly, there's not any bin/ folder within cuda-1 ...

Score: 0
Configure a joystick in ubunntu 20.04
cn flag

I have a 0079-0006-DragonRaise Inc Generic USB Joystick. It is being recognised by my ubuntu 20.40. On testing with jstest-gtk I found a very odd problem

  • BUTTON_TRIGGER is not recognised
  • Axis 2 is also invoking Buttons 0 and 2 in addition to their original actions
  • Axis 3 is just invoking Buttons 1 and 3
  • BASE buttons are invoking Axises 0 and 1

Is this a problem with my drivers?

Score: 0
Ubuntu 20.04 freezes when plugging in usb-c screen
jp flag

So I have a Lenovo x1 extreme gen2 that I have connected to a dell u3419w screen. This has worked fine for over a year. Since the screen is USB-C I can easily plug in my laptop and automatically my webcam, mouse, keyboard and headset are connected as well. On top of that it charges the laptop, albeit only with 90w instead of 135w.

Now recently since plugging in my laptop the laptop would freeze w ...

Score: 1
donartq avatar
I need some help (my display manager doesn't exist rn)
cn flag

i tried to install bspwm, which I didn't like, so I tried changing the WM in GDM, which somehow didn't work, and didn't let me change back to my old window manager (Mutter). Well, anyways, I tried to delete bspwm, in the hopes that I would be able to get Mutter back. Surprise surprise, that didn't work, and when I tried to reboot, after I logged in (I tried this with the bspwm option and GNOME classic o ...

Score: 0
commandobob avatar
rpi4 - Ubuntu 20.04.2 LTS - NFS drive not mounting on boot
cn flag

I have been having an issue getting an NFS share to automatically mount on boot for a handful of rpi4's all running Ubuntu 20.04.2 LTS.

If I run a sudo mount -a the drive successfully mounts with no issues.

I have tried a variety of fstab options with no success. Below is the current config:

192.168.1.100:/mnt/media /mnt/media nfs _netdev,auto,nfsvers=4 0 0

Running sudo cat /var/log/syslog | g ...

Score: 0
Net Needing Systems avatar
Boot problem ubuntu 20.04
cn flag

last night I had the problem after a sudo apt update; sudo apt upgrade; sudo apt autoremove

It did everything normally but when I rebooted the ubuntu crashed, I tried literally everything I could find on forums to bring it back to life but it was simply not possible. So I will share my solution.

Found the latest ubuntu image today 20.04.2 and with a usb stick first I tried it, and moved my files  ...

Score: 0
Dosbodoke avatar
Need help to undersant the Boot Repair Summary
cn flag

I have a dual-boot system with Ubuntu 20.04 lts and Windows 10, yesterday my Ubuntu stopped and every time I try to boot give me this error:

ext-fs error device sda 7 ext4_find_entry comm gdm3: reading directory iblock 0

I was trying to start ubuntu on an USB-live, install and run boot-ubuntu and on the first try I was not abble because Windows was hibernating, so I boot on windows, did some commands  ...

Score: 0
satch89521 avatar
Would Canonical consider adding smartctl and gsmartcontrol to "try ubuntu"?
cn flag

In other distributions (names redacted to protect the guilty) the S.M.A.R.T tools are included in so-called recovery images. Most of the tools useful to deal with hard disk problems are already in the TryUbuntu image. Missing are the S.M.A.R.T tools "smartctl" and "gsmartcontrol".

During a troubleshooting session, I was able to copy smartctl(8) to a thumb drive formatted for EXT4, and was able  ...

Score: 0
shaunx333 avatar
write command message disabled issue
jp flag

So i was able to send a message using write command from shaunx333 to tempuser(using putty) but I'm not able to do the same from tempuser to shaunx333, its showing me messages disabled prompt. The two users are connected through ssh.

enter image description here

enter image description here

Score: 0
Sole avatar
Headset powerlocus bluetooth microphone xubuntu 20.04
in flag

I have a bluetooth headset but when I connect it to the computer the microphone doesn't work. It seems that it is not recognize as input device but just as output so the only thing that works is the audio. Does anyone has any suggestion to make it work?

Score: -2
Shubhang Kakkar avatar
How to open terminal always with sudo privileges
us flag

I am wondering is there anyway to open terminal always with sudo privileges. And is there a way to open specific file with sudo privileges like windows have "run as administrator".

Score: 0
Jags avatar
Bash: Define a function in bashrc that can be used by any scripts globally
kp flag

I like to define a function in ~/.bashrc and use it in different scripts either via export -f or source .bashrc.

The function:

nano ~/.bashrc

function test_func() {
    yt-dlp -f '299+140' --merge-output-format mp4 -cia List.txt;
}

export -f test_func

The script:

#!/bin/bash

cd /home/admn/Downloads/YT_DL;

test_func --autonumber-start 101 -o '%(autonumber)1d_%(title)s.%(ext)s';

Problem-1:

Afte ...

Score: 0
Cedric Martens avatar
apt repository works for apt update, but symlinks are required to install, why?
ca flag

I have an apt repository using an apache server at /var/www/organization.org/

the file structure is

.
+- Release
+- dists/
     +- stable/
     |     +- main/
     |     |     +- binary-all/
     |     |     |      +- Packages.gz
     |     |     |      +- package1.deb
     |     |     |      +- package2.deb
     |     |     +- binary-amd64/
     |     |     |      +- Packages.gz
     |     |     |    ...
Score: 0
Himanshu Gurjar avatar
Unable to install grub in ubuntu 20.04
eg flag

when i try to install app from terminal i got this error mgs :

Grub installing error mgs

Stuck terminal at this

When i try to update the grub same error mgs pop up.

I tried following commands :

1. sudo update-grub.



2. sudo dpkg --configure -a. (because i killed process i need to manually run this command but the same error came again and again )



3. sudo grub-install /dev/sda.

Even when i tried ...

Score: 0
DrTSPC avatar
Does a backup of a Windows 10 VM (vmware player 16) as part of a Ubuntu 20.04 backup provide a full vm on restore?
ng flag

I run vmware Workstation 16 Player, with a Windows 10 vm on ubuntu 20.04. I include the vmware folder in my backups (deja-dup).

I have been assuming that a fully operational Windows 10 vm will be restored,if needed.

Is that correct?

Thanks, Tim

Score: 1
No video from Logitech Webcam C270 on Ubuntu 20.10
th flag

I have a been using a Logitech C270 webcam for several years without any issues on my system with Ubuntu 20.10 currently installed. But starting yesterday the webcam stopped outputting video in Zoom and all other video capture programs. The light on the camera will turn on indicating it is capturing video. dmesg and lsusb indicate that the camera was detected but no errors are shown. I don't know of any ...

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.