Score: 0
Glenn Karl Guiyab avatar
Switch from AMD Integrated GPU to Nvidia Discreet GPU on Ubuntu 20.04
ph flag

Im running ubuntu 20.04 LTS on Lenovo Ideapad Gaming 3. The problem is when using ubuntu I cant connect my laptop to external monitor but its works perfect when I'm on Windows 10. I check the about of my System and it shows **Graphics - AMD@Renoir **

I already checked the drivers it installed the recommended one its Nvidia 470 I already checked the prime profiles it shows Nvidia too.

How to switch f ...

Score: 1
catleeball avatar
BTRFS on RHEL8 - compiling kernel module or making userspace tools work
it flag

Context

I recently installed RHEL 8 without realizing that it no longer supports BTRFS.

Unfortunately, I have 4 disks in BTRFS RAID10. I don't have enough space on my other disks to hold the data present on the BTRFS disks, so copying it all elsewhere while booted from a USB drive is out the window.

I have my initial question, then some followup questions regarding the approaches I took that failed. Feel  ...

Score: 1
Dallascat avatar
New to ubuntu, scrolling can be jittery, do I need to update/install video drivers for my card?
ru flag

I have two 27" monitors running 2560 X 1440. Resolution is fine, but when I scroll any webpage in any browser, it streaks. The update drivers in the software module didn't show anything new. Intel graphics card btw. Any ideas/tips? I'm not new to ubuntu, been running it on a laptop for awhile, but recently made the switch from windows on my main PC.

Score: 0
ElectroBrocoli avatar
Setting python 3.9.4 as default
in flag

so i'm currently running ubuntu 20.04 on WSL2 (i'm also a newbie in linux) and i use python inside it, and recently i install python 3.9.4, is there's any way to remove python 3.8 and setting 3.9 as default ? i didn't try anything yet since idk much (yet) about linux especially ubuntu

Score: 1
sanscrit avatar
Estimation of the entropy of keys derived from truly random numbers
ua flag

NOTE: This question is based on my assumption that $X$ is a "truly random number" if and only if it's length measured in bits is equal to its entropy measured in bits. In other words, when every bit of $X$ has been generated by a random coin toss.

Suppose I have a truly random number $R$ of size 256 bits (256 bits of entropy), and a truly random number $S$ of length $n * 256$, where $n$ is some natural  ...

Score: -1
pbuzz007 avatar
DNS setup for no subdomain
si flag

I can't figure out why going to my website, mywebsite.app does not work, while www.mywebsite.app and anythinghere.mywebsite.app works.

Am I missing something in this DNS list?

All these CNAMEs area working

  1. * eg whocares.mywebsite.app points to my main S3 bucket and works
  2. admin eg admin.mywebsite.app points to my secondary S3 bucket and works
  3. api eg api.mywebsite.app points to my heroku app and works ...
Score: 2
Ken avatar
CDDVD drawer opens immediately after closing in ubuntu 18.04
ng flag
Ken

I don't use the internal DVD drive often, but when I used it last night each time I closed the drawer the drawer opens immediately. I thought the drive might have gone bad, but I exactly the same behavior with an external drive as well. Note: I tried the external DVD drive on a different machine running Debian and it doesn't exhibit this behavior.

What I've looked at so far:

sudo setcd -s /dev/sr0

   ...
Score: 0
Evgeniy Berezovsky avatar
Windows NLB: Stability of source IP -> target machine mapping
cn flag

We are using Windows NLB in our production environment to load balance https requests to ten IIS servers.

The settings are:

Setting Value
Port 443
Protocol TCP
Filtering Mode Multiple Hosts
Affinity Single
Timeout (in minutes) Disabled

So as long as there is no change in the NLB cluster membership, i.e. no hosts are leaving/joining the cluster, the same source ip will always be m ...

Score: 0
bob mcgrath avatar
OpenVPN clients still getting assigned same ip with duplicate-cn in server config
eg flag

Clients are still getting assigned same ip as each other even with duplicate-cn in server the config. I can't figure out what I'm doing wrong. I've restarted all the machines involved after changing the config. Here is my server.conf.

port 1194
proto tcp6
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ip ...
Score: 0
Grant avatar
21.04 Multiple monitor mouse jumps out of Steam gaming window
cn flag

I'm trying to play ARK on Linux on my triple monitor setup (game window only on center monitor). I'm running XUbuntu 21.04 with a 3060ti. The center monitor is set as my primary monitor. Whenever I open my in game inventory or the game menu my mouse immediately jumps to the center of my right monitor. I then have to drag it back into the ARK game window.

I have tried setting "click to focus" and  ...

Score: 0
How to set the GNOME idle delay from the command line ubuntu 20.04?
ke flag

I need to set the idle-delay parameter for all users in Ubuntu 20.40, by command line.

Score: 0
JakobyScream avatar
How do I echo a string to a file and call a function to hash it in the same function?
cn flag

I'm trying to create a function where I pass in 2 variables. First a string to be hashed, and then a variable to specify the kind of hash, md5 or sha1. This is the function I created:

hashedWord () {
    echo $1 > pw.txt && $2 pw.txt | cut -d ' ' -f 1 
} > Desktop/hashedWord.txt

It is run as:

hashedWord aStringToHash, md5sum

where aStringToHash is the $1 variable and md5sum (a hashi ...

Score: 0
Stefan avatar
Grafana deploy in kubernetes with Letsencript certificate in ingess
mx flag

I want to deploy grafana in my AKS kubernetes cluster. For deployment I use helm

helm install grafana grafana/grafana --namespace=grafana --set "service.type=ClusterIP,persistence.enabled=true,replicaCount=1,persistence.size=10Gi,persistence.accessModes[0]=ReadWriteOnce,plugins=grafana-azure-monitor-datasource\,grafana-kubernetes-app,ingress.enabled=true,ingress.tls[0]=enabeld,ingress.tls[0].hosts[ ...
Score: 0
Getting Double Game Controller Devices When One Plugged In
cn flag

When I plug in a game controller, Ubuntu returns 2 devices for it. When I plug in my XBox 360 controller, JSTest-gtk shows 2 XBox 360 controllers, but only one of them receives input. When I plug in my Logitech controller, JSTest-gtk shows Logitech and a 360 controller in the list, but again, only one receives input. If I plug in both controllers, I get a list of 1 logitech and 3 360 controllers. These ...

Score: 0
jayfox avatar
When trying to boot Ubuntu 20.04 downloaded onto an external hard drive it does not show up as a boot option
cn flag

I have been using Ubuntu 16.04 for several years on a System76 Gazelle, but after a recent update, the OS will not boot and instead displays either a black screen or error messages. I am now trying to overwrite the OS with a newer version (Ubuntu 20.04) from an external Solid State Drive. The issue I am having is that the SSD does not appear as an option from my Aptio Setup Utility.

Any help is m ...

Score: 0
Philip J avatar
End of tracks missing on Audio CDs burned with Brasero, Ubuntu 20.04
gb flag

When I burn Audio CDs from mp3 tracks with brasero, some of the tracks on Audio CDs are incomplete, the end is missing. I have already reduced burn speed, without any effect. Any solutions for this? I would be very grateful.

Score: 0
Daniel Ilic avatar
How to fix and enable HDMI audio?
cn flag

I have laptop HP Pavilion with geForce gp, and just instaled Ubuntu 20.04.3 LTS (had win10), one Monitor and pair of speakers. My problem is that I can't play audio on speakers. If I plug speakers into laptop, then it works but I want speakers cable to be plugged into Monitor (not in laptop). This is important. In sound preferences is only one output device but no HDMI. I tried PulseAudio also, didn't w ...

Score: -1
fazan avatar
How to remove gnu grub without booting into Windows?
in flag

I'm on edge of tears. I have a dual boot machine for Ubuntu and Windows 7. After POSTing, I get sent into the GNU Grub menu. And recently, my Windows boot broke, and I can not boot into it. However, despite changing the settings in the BIOS and even entering Windows' boot menu, I can not boot neither my recovery dvd's (I made 4 copies just in case) to fix my Windows installation, neither an utility usb  ...

Score: 0
serverNewbie avatar
"CORS Multiple Origin Not Allowed" - using parse-server and apache2
gi flag

I am using apache2 as a reverse proxy for my parse-server. In order to allow Cross Origin Requests I originally tried setting:

Header always set Access-Control-Allow-Origin "*"

in the apache config file together with:

ProxyPass /parse/ http://localhost:1337/parse/
ProxyPassReverse /parse/ http://localhost:1337/parse/
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R= ...
Score: 0
Wifi adapter not found on fresh 20.04 install. (Realtek Device a85a)
ni flag

I am experiencing pretty run of the mill wifi connectivity issues on Ubuntu 20.04 installation. I've read and tried many solutions, but none have worked so far.

I am using a brand new HP 15-dy3008ca Laptop.

In settings, I have to manually search for the wifi settings because they don't appear automatically. The page reads "No Wi-Fi Adapter Found. Make sure you have a Wi-Fi adapter plugged in and tur ...

Score: 1
xproot avatar
No gnome shell on xrandr new display
ng flag

OS: Ubuntu 20.04.3 x86_64 Kernel: 5.11.0-36-generic CPU: Intel Celeron B800 (2) @ 1.5GHz Graphics: Intel HD Graphics

I forced xrandr to output into VGA-1 and it works but what doesn't is gnome in that display, I can move my mouse there, I can drag windows there but there's no background and nothing. It is also not detected by Gnome Settings.

I used xrandr --output VGA-1 --mode 1920x1080_60.00 --right-of ...

Score: 3
Hanno avatar
Protecting AES via Shamir Secret Sharing
ru flag

This is about the paper Protecting AES with Shamir's Secret Sharing Scheme by Louis Goubin and Ange Martinelli which describes how to use Shamir Secret Sharing to obtain masked implementations of AES.

The end of section 3.1 suggests that the $\text{GF}(2)$-affine transformation $A$ involved in the definition of the AES S-Box is compatible with SSS in the sense that if $(x_i,y_i)$ is an SSS sharing of

Score: 1
Battery switches between charging/not charging
cn flag

I have an ASUS Zenbook Pro 15 and have a problem that I've been dealing with since I bought the laptop. The battery seems to switch between charging/not charging every 10 seconds. This only happens on Linux (Ubuntu Budgie). It's a minor issue, but it's an annoyance when my battery is low because every 10 seconds a low battery warning pops up.

My assumption is that is has something to do with ASUS ...

Score: 0
Nothing happens when trying to update from 16.4 to 18.4 with software updater
cn flag

There are many similar questions on this site, still it is not clear to me which answer to these questions applies to my situation, so please forgive me for asking again.

After updating my software with the software updater I get the following message:

enter image description here

Today I pressed 'upgrade' (because I wanted to upgrade) and I was asked for my password (I wanted to screenshot this window also, but it seems impo ...

Score: 0
GQ2022 avatar
Crontab to Restart SQL Server Services ubuntu 18.04
cn flag

please how to add task to crontab

to restart mssql

systemctl restart mssql-server.service
* */1 * * *  systemctl restart mssql-server.service
Score: 0
Grub not loading in dual-boot with Windows 10
cn flag

I've first installed Windows 10 and afterwards the latest Xubuntu version. If I boot now it directly boots Xubuntu. Grub won't be loaded. I also changed the boot style in grub from hidden to menu without success. Then I tried to press the esc key during startup to force the grub boot menu without success either. So it looks like grub isn't loaded at all.

When I change the boot order (in UEFI) to  ...

Score: 1
Werty980 avatar
Menu has both "Discord" and "Discord (Env)". Why 2 versions, and how do I remove the latter?
sa flag

I downloaded Discord from discord.com (chose a .deb file), and installing ended up giving me both "Discord" and "Discord (Env)". Is there a way to get rid of "Discord (Env)"? Snap (which I suppose installs Discord when the .deb is double clicked) only shows 1 "discord".

As requested by N0rbert:

dpkg - l | grep discord returns:

ii  discord                                     0.0.16
amd64        Chat fo ...
Score: 0
FreeIPA: External DNS requests (google etc.) fail for clients on new subnet
in flag

I'm trying to rebuild my home network to make use of FreeIPA to manage some Linux clients. This has all gone well on my main network (192.168.222.0/24) with all clients being able to resolve both internal DNS and external requests for google etc. All clients on that network can SSH (with sudo) using a user I created in FreeIPA.

The issue comes when I try to connect my Wifi network (192.168.30.0 ...

Score: 0
How to fix "Failed to apply 'Node' resource: [update conflict: Node(...)]" while trying to apply Calico node config?
cn flag

I'm playing with Kubernetes and got two VirtualBox machines - master and worker. Every one has two network interfaces - one for Internet and other for communication between each other VM and host machine. And I got troubles with Calico setup because it autodetects wrong network interface. I've made few settings to fix it but one trouble remains - worker takes wrong IP. And I found how to fix it - but it ...

Score: 0
Artin Zareie avatar
dependencies problem with installing wine-32-stable and i386 packages Ubuntu 20.04
il flag

I was trying to install winehq on my Ubuntu 20.04 and came up with a lot of dependency errors. after trying to install each dependeny and getting help from aptitude, I encountered a huge problem. If I want to install packages libicu66:i386 libutempter0 libxml2:i386 xterm, almost my whole packages are going to get removed. This is what I get:

 sudo apt install --reinstall libicu66:i386 libutempter0  ...

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.