Latest Ubuntu related questions

Score: 0
I need to know how to set up an old computer to be a multiple instance Ubuntu Server
am flag
Max

This may sound quite ignorant, I'm not by any means an expert on this subject, so forgive me if I ask something that's quite easy for you all.

I've been searching for multiple instances I need for a scrapping job. I need 12 servers running 2G 2C 20Gb each, and I've done my math, and I'm better off using an old computer I have laying around. It's an old 1600 AF stacked with 16GB and an ssd, so it' ...

Score: -4
How to count all folder and sub folder in a directory recursive way
in flag

The task is: Output when running the file will be the number of subdirectories (counting all subdirectories in the tree) in the entered directory.

I know how to recursive a dir using -r but how can i count all these number in a shell script file?

Score: 0
Displayname71 avatar
Is the "linux-firmware" package actually required on a XEN VPS?
co flag

This package is half a gigabyte so I'd like to determine if it's truly needed.

I'm having trouble understanding why it would actually be required on a VPS, and no other packages depend on it, however, I'm still worried because if removing it somehow renders the server unbootable, it will be difficult to recover from.

How can I determine with certainty whether I actually require this or not?

# uname -a
Li ...
Score: 1
can't load DistUpgradeViewGt3
au flag

When upgrading 18.04 to 20.04 the terminal stops by telling me: *

can't load DistUpgradeViewGt3 (No module named 'DistUpgrade.DistUpgradeViewGt3')

What can I do to get reddy with the upgrade?

Score: 0
scribe avatar
Help troubleshooting thunderbolt 3 on Dell
mx flag

I have a Dell XPS 9370 and many people have had issues with the left two USB type C thunderbold 3 ports. No aforelinked solutions quite worked.

In my case, the two left side type C ports charge the laptop and can connect to an external monitor but seem to not connect any flash drives, keyboards or webcams. I know that the flash drive, keyboard and webcam work because they do so in the single USB 3 po ...

Score: 1
Luis Henriques avatar
Problems running carla on UbuntuStudio 21.04
es flag

I don't know why carla is not working anymore on my system.

This is the error msg:

Carla 2.3.2 started, status:
  Python version: 3.9.5
  Qt version:     5.15.2
  PyQt version:   5.15.4
  Binary dir:     /usr/lib/carla
  Resources dir:  /usr/share/carla/resources
Traceback (most recent call last):
  File "/usr/share/carla/carla", line 46, in <module>
    host = initHost(initName, libPrefix, Fals ...
Score: 0
pvdboom avatar
install joomla 4 ubuntu 21.04
cn flag
$ sudo apt install apache2 libapache2-mod-php openssl php-imagick php-gd php-imap php-intl php-json php-ldap php-mbstring php-mysql php-pgsql php-smbclient php-ssh2 php-sqlite3 php-xml php-zip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php-smbclient is not available, but is referred to by another package.
This may mean that the package is missi ...
Score: 0
makerio avatar
systemd not starting ssh server
ps flag

attempting to start ssh returns Failed to start ssh.service: Unit ssh.service not found.

trying to install it retuns E: Package 'openssh-server' has no installation candidate.

ubuntu 20.04 LTS

Score: 3
Shell script keeps executing even if was true
in flag

I have a simple shell script to check if the user exist, if not, add that user

#!/usr/bin/bash
echo "Enter user"
read -r user
if [ "$(id -u "$user" &>/dev/null)" = 1 ]; then
  echo "user existed"
else
  useradd "$user"
  echo "add password"
  passwd "$user"
  echo "$user" &>>text.txt
  echo "saved"
fi

But it does not display the "echo user exist". instead it displays like so:

Enter user ...
Score: 0
pvdboom avatar
Attempting to install mariadb-server on Ubuntu server 21.04 throws an error
cn flag

When I try to install mariadb-server on Ubuntu 21.04 using:

sudo apt install mariadb-server

It shows this error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been creat ...
Score: 0
How can one let two users share the same home directory in Xubuntu 20.04
in flag

I want to create two users (e.g. adm1 and adm2), because each of them wants his own password, to which he is used. They shall share the same home directory however, let's call that admx.

Is this possible?

If it is: How does one achieve it?

(of course they both will belong to the same group=admx)

Score: 1
Lightdm gives black screen after logging out
cn flag

I am using Ubuntu 20.04 with lightdm.

Everything is fine except that if I log out, the screen turns black. And I have to press Ctrl + Alt + F2 to get the console and issue sudo lightdm to get the login screen.

Two further observations:

  1. This problem goes away if I switch to gdm3. But I require lightdm to use x11vnc.

  2. I am using nvidia-driver-450. I tried several versions of nvidia driver; the pro ...

Score: 0
Jacob David C. Cunningham avatar
CUPS-PDF Help figuring out which configuration file is being used
cn flag

I cannot seem to figure out which configuration file is being used. My printer keeps working. This is a remote setup, I don't have the admin interface setup.

I have just done a batch find on my printer server for .ppd files and listed them all out like this:

/usr/share/ghostscript/9.50/lib/cbjc800-tmp.ppd
/usr/share/ghostscript/9.50/lib/cbjc600-tmp.ppd
/usr/share/ghostscript/9.50/lib/ghostpdf-tmp.p ...
Score: 0
user2693460 avatar
map url to local server
cn flag

I have several webapps in different aws servers. They communicate via webservices. https://myserver1.com https://myserver2.com https://myserver3.com

I hnow if I put all that apps in the same server they continue working with no problems. From app1 I call the webservice in app2 (myserver2) and it responds correctly. If I call app2 from app1 in the same server, is there a waste of time checking dns addre ...

Score: 3
KneadToKnow avatar
I have Ubuntu 20.04.3 but not Linux 5.11, what's up?
us flag

I've confirmed that I got the point release update to 20.04.3 LTS with lsb_release -a, but uname -r shows that my kernel is still on 5.4.0-81-generic. Should I not be on 5.11? My machine running Ubuntu 21.04 is on 5.11.0-31-generic.

I found an old thread here which proposes using apt to install linux-generic, but I wanted to make sure it was still good advice.

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.