Score: 1
janh avatar
Why is Konsole hanging when I switch to it?
ec flag

I'm on Kubuntu 20.04 with Plasma 5.18.5 (running Kwin), Qt 5.12.8 and Kernel 5.4.0.74-generic with an AMD Ryzen 9 3900x, 64GB RAM and an AMD Radeon PRO WX 2100 on an SSD.

After some time of my machine running, some Konsole processes start to hang when I switch to them. I will see the window decoration of Konsole, but not the window content. If I wait for 10-30 seconds, it'll come back to live and ...

Score: 0
VLCboy avatar
remotely installing python and pip packages
cn flag

I'm trying to install python with pip packages remotely on an Azure VM using powershell. The script deployed to the VM:

Start-Process 'F:\python-3.9.5-amd64.exe'-ArgumentList ("/passive", "InstallAllUsers=1", "PrependPath=1", "Include_test=0", "Include_pip=1") -Wait
Start-Sleep -s 120
& pip install urllib3 --no-index --find-links 'F:\urllib3-1.26.5-py2.py3-none-any.whl'
& pip install seleni ...
Score: 0
Hossein Shojaeifar avatar
Brightness not changing and desktop icons not showing randomly
ng flag

Sometimes after I login, brightness controls don't work neither on keyboard nor from settings and notification area; but I can change it using xbacklight.

I've noticed every time this happens, desktop icons also don't show up. Changed desktop icons to nemo, still have the problem, but icons load after changing displays (external only, built-in only, ...)


Notice that this does not happen all the time, ...

Score: 0
jarjarbinks99 avatar
Can't find psqlrc file for Postgresql on Windows
ng flag

Kind of new to IT and trying to learn Postgresql. I was having a problem where my SQL commands weren't outputting to the psql prompt. This was fixed with \pset pager off

That's great! Problem is I have to type it in every time I open the prompt. So I heard about a psqlrc.conf file where I can set variables. Problem is I can't find it.

I tried following this guide - https://mladenuzelac.blogspot.com/ ...

Score: 0
sivasdpi avatar
How to create an Ibus keyboard layout
ru flag

I want to create a new input method for iBus in (ibus-m17n).

Language for Tamil.

Score: 0
Adam Abdallah avatar
Kernel Error When I Start Dell Computer
cn flag

When I turn on my dell computer I get an option for Ubuntu. I click it. (I am currently running Ubuntu 21.04.) Anyways, I click the option for Ubuntu but then I get a list of stuff but the first line is [ 0.334034] Kernel panic - not syncing: VFS: Unable to mount roof fs on unknown-block(0,0)

It stays on that screen and I can’t get to Ubuntu!

I would show a picture but it says the image is too  ...

Score: 0
isil levi avatar
Why we use ./ instead of just typing its name when running the script?
fk flag

when we run a normal command we just type the name of it but why we use ./ instead of just typing its name when running the script?

Score: 0
Redirect removing slash after domain
pw flag

In moving to https URLs for my self-hosted site, I added a redirect to the .htaccess file:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

This redirects to http to https for all pages, except for my blog. The blog is a WordPress installation in a subdirectory called bestpractices. When I click on any link leading to a blog page, the slash is removed  ...

Score: 0
Openstack Neutron - preserve SIP source port
in flag

currently I'm running freeswitch servers on Openstack Ussuri with Neutron linuxbridge. The problem is that the SIP source port got changed from 5080 to random port when sending INVITE to the carriers. If the call is getting long enough, the random port created by PAT will be closed. Therefore, if any SIP message from the carrier sent to that port will not be translated to the original source port (5080) ...

Score: 1
pinekit avatar
how can I get package libz.so.1?
cn flag

I'm trying to make a Minecraft bedrock edition server and I can't make it work cause of a library called libz.so.1. The following error pops up 'cannot open shared library libz.so.1'.

I have tried installing and updating zlib1g but it made no difference.

Score: 1
shortmort37 avatar
Apache file ownership and envvars
lk flag

I use Ubuntu 20.04. I have edited /etc/apache2/envvars to change the run user to userA: export APACHE_RUN_USER=userA

When I run this PHP script from W3 Schools to upload a file, the upload works - but the owner of the file is not userA as I intend. It remains www-data.

Yet: sudo apache2ctl -S reports User: name="userA" id=1002, as set in envvars.

So why does www-data own the file, and not userA? W ...

Score: 0
Kevin Frost avatar
Unable to use Kubuntu supplied Nvidia drivers for MSI GEForce GP108 (GT 1030) card
za flag

I have a custom-built PC with a Gigabyte B450M H motherboard, Ryzen 5 3600 CPU, 16GB RAM and a GEforce GP108 (GT 1030) GPU. I am running Kubuntu 20.04.2 with / on a 256GB NVME disk and /home on a Seagate 3TB hard disk. The GPU driver is the Nouveau driver running two screens (one connected via the display port and the other on the HDMI port). All updates are current. The kernel is the HWE 5.8.0-49210406 ...

Score: 1
I installed Solr for the Search API Solr can someone can give me hints what i could have done wrong?
br flag

I'm currently running a CentOS 7 server with cPanel and Drupal 8. I installed Solr 8.8.1 and I can access the administratrion page where I an able to create cores. I installed the Search API module with Composer.

When I try to use the Solr server via the Search API module, I get a server connection error.

I tried a lot of Drupal configuration, with Basic Auth and standard, via localhost, IP and domain ...

Score: 1
user42517 avatar
Sort a file according to a field starting with string
jp flag

Suppose I have a file so structured

/home/zz/AUTHORBOOKS/Author-Chomsky-Who-Rules-the-World.epub
/home/zz/AUTHORBOOKS/Author-Cioran-Il-nulla.epub
/home/zz/BOOKS/Author-Artemis-Mathematica-Examples.nb
/home/zz/Books/Author-Zigniwe-Hisory-Medicine.pdf
/home/z1/OLDBOOKS1/OLDBOOKS2/Author-Watanabe-Waterloo.pdf
/home/z2/OLDBOOKS1/OLDBOOKS2/Author-Barbero-Lepanto.epub.pdf

I would like a file sorted this way ...

Score: 0
Running NodeJS on a CentOS7 nginx/Apache server
kr flag

I manage an existing ecommerce site that lives on an nginx/apache server, and the host is also the provider of the ecommerce system we're using. I'd like to turn the ecommerce system into a headless CMS, using React with NextJS for the front end.

Is it possible to make this work somehow, all on the same server?

Some notes about the current setup:

  • The site lives on a www subdomain, and it's well establis ...
Score: 1
Efedeacero avatar
I can't share individual windows during skype/GoogleMeet video calls (Ubuntu 20.04)
cn flag

During video calls, Skype and Google Meet only let me share the whole screen (desktop) rather than specific windows. The only option it shows is the Desktop screen as if I didn't have any other windows available to share. I'd appreciate it if you could give me a hand, as I give online classes through video calls, and not being able to share individual windows during them it's quite annoying.

Score: 0
Scottie H avatar
Troubleshooting auditd rules
cn flag

I'm running RHEL 7.x. We have recently installed the DISA recommended rules for auditd.

Since we've installed these new audit rules, we've noticed a significant decrease in system performance.
Ex:
rsyncing the 117Mb firefox files to /dev/shm took 32 seconds. Deleting took 28 seconds.
Deleting should take 0.02 seconds!

We've found 1 or 2 CPUs are pegged at near 100% usage for auditd. Waiting for I/ ...

Score: 0
Server pfsense and hypervisor
cn flag

I am not very experienced with server management and I currently manage a vps with whm/cpanel. I am thinking in a few month when the subscription ends to colocate my own server in the datacenter. So after some research i decided to buy a used dell server and have proxmox as a hypervisor. So i am trying to figure out a way to seperate the host from the vps and also install pfsense so i can have vlans and ...

Score: 0
just_learning avatar
ModuleNotFoundError: No module named 'arcpy'
kr flag

I ran @Borealis code (from here: https://stackoverflow.com/questions/16411468/calculate-ndvi-using-python ) on Ubuntu Mate and although I have installed arcgis with this command: pip3 install arcgis, I got this error:

Traceback (most recent call last):
  File "stackoverflow_code.py", line 3, in <module>
    import arcpy, string
ModuleNotFoundError: No module named 'arcpy'

Any idea what is  ...

Score: 0
Sridhar Patnaik avatar
Redirect tomcat ROOT folder to external URL
cm flag

I have two domains say abc.com and ab.com

abc.com is pointing to a shared hosting (my website) and ab.com is pointing to tomcat9 on VPS.

What I want is - if some user tries to access ROOT of tomcat (ab.com) he should be redirected to abc.com. But if a user tries to access any other webapp apart from ROOT (ab.com/app) he should be taken to corresponding tomcat webapp. Can somebody help how can config ...

Score: 0
Harv avatar
Permissions suddenly changed
jp flag

I've inherited a drupal 7.6 site with a broken css (styles were not loading). Here's what I've done so far:

-set sites/default/files, tmp and cache folder to 777. -flushed all caches

When this didn't work, I deleted the /files folder and created a new one which has done the trick.

I'm still getting "The file permissions could not be set on cache/normal/..." in recent log messages. in the cache folder,  ...

Score: 0
bofa avatar
Higher ping when using OpenVPN on Ubuntu server
ve flag

To summarize the problem I'm having - I have two servers, one 700 miles away from me, and one 200 miles away from me. The server that is 700 miles away from me has approximately 400mbps both ways, and the server 200 miles away from me has 10gbps both ways. While running CentOS and OpenVPN on the first server, my ping is around 70-80 ms to the target server. When I switched the OS to Ubuntu and set OpenV ...

Score: 0
user3105 avatar
Freeradius log - Opening additional connection (rlm_sql)
jp flag

forgive my lack of knowledge but I am new to this topic and there are a few concepts that elude me. When I view the radius logs in my server I get the following information:

root@pabx:~# tail -f /var/log/freeradius/radius.log
Tue Jun  8 17:21:27 2021 : Info: rlm_sql (sql): Opening additional connection (49), 1 of 32 pending slots used
Tue Jun  8 17:21:27 2021 : Info: Need 2 more connections to reac ...
Score: 1
Amirhossein Kiani avatar
Unable to locate package php8.0, bug in installing php8 in ubuntu
vn flag

I've Ubuntu 16.04, and I ran the below command

sudo add-apt-repository ppa:ondrej/php

The final result looks like this:


Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp94jbo60i/secring.gpg' created
gpg: keyring `/tmp/tmp94jbo60i/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp94jbo60i/trustdb.gpg: trustdb created
 ...
Score: 0
poypoy avatar
apache how configure multi domain https redirection?
eg flag

I've an apache running under AWS Elastic beanstalk. I've got several different domains and I want all of them to end in a specific domain name, in HTTPS.

The redirection from other domains e.g. https://domain1.com to https://maindomain.com returns a SSL certificate error.

In apache, I've two virtual host config, one for the *:80, and one for *:443. Both are set for the maindomain.com. They were created w ...

Score: -1
Linux Delete Files Older Than and the Same Time Smaller Than
cz flag

I use this command to delete MP3 files older than 90 days.

find MP3/ -type f -name "*.mp3" -mtime +90 -delete

I want to make it delete those older than 3 days but with file size less than 100KB.

How to write the arguments for < 100KB and is -size good to go or should I use something else as as far as I know the file size itself is different that the size on the disk...

find MP3/ -type f -name "*.mp3" ...
Score: 0
Novice_researcher avatar
LR Oracle for CPA Security for Multiple Encryption
br flag

How does LR Oracle model help achieve the CPA security for Multiple Encryption. I am not able to understand how LR oracle model gives an advantage over the normal encryption oracle.(Reference to Chapter 3 Katz).

Score: 0
Roi1001 avatar
How to export view's translation?
cn flag

I used view translate(/admin/structure/views/view/my_view/translate) to translate a filter's label and saved. When I refreshed the view, it worked. Then I went to /admin/config/regional/translate/export page to export the same language's translation, including customized and non-customized, as .po file. But I couldn't find the translation I made in the file.
So how should I export the view's transla ...

Score: 1
Kunal2007 avatar
Ubuntu Server Disk Space Recommendation
ng flag

I'm installing Ubuntu Server 20.04 for a Home Server and small website hosting. Should 50 GB disk space be enough? How much disk space should i give to my /home and /var partitions? Would it work with SSH?

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.