Latest Ubuntu related questions

Score: 0
Bermar avatar
How is dump invoked (fifth field of /etc/fstab), can I replace dump?
am flag

Everyone says that the fifth field of an entry in /etc/fstab should always be 0 because otherwise dump would be used and nobody likes dump because it's old, only supports ext2 and ext3, does not meet modern backup needs and is often not even installed anymore.

From what I have read so far it seems that dump was something that usually was invoked manually or with crontab. Is there a good reason not  ...

Score: 0
FedKad avatar
How to configure fail2ban for both TCP and UDP port?
cn flag

I want to ban some DNS requests coming to my named server. The server normally listens both TCP and UDP port 53 and logs the requests to /var/log/named/query.log file. So, I added the following entry to the end of /etc/fail2ban/jail.local:

[named-xyz]
enabled  = true
port     = domain
filter   = xyz
logpath  = /var/log/named/query.log
bantime  = 1d
action   = %(action_)s

However, this only bans t ...

Score: 0
wetgau avatar
Apache Virtual Host 443 error On another driver
jp flag

I edit apache.conf file like this:

<VirtualHost *:80>
ServerName ali.com
ServerAlias www.ali.com
DocumentRoot /media/ali/Local\Disk/Projects

<Directory /media/ali/Local\Disk/Projects>
    Options -Indexes +FollowSymLinks
    AllowOverride All
</Directory>

</VirtualHost>

And I set permission and ownership to the path, But I have 443 error. How I can fix this?

Score: 1
Ibrahim _ avatar
Black screen with white text all over appears when I close my laptop's screen/lid
us flag

So I just closed my laptop's lid and it didn't go into sleep mode, instead my laptop was still running while the lid was closed. Later, when I opened it, there was a black screen with white text/codes all over the screen.

I'm running Ubuntu 20.04.

Score: 5
ImageMagick convert on a multiple files
ru flag

I have 3 files in a directory:

aaa.jpg    
bbb.jpg  
ccc.jpg  

I can scale down an image using ImagkMagick convert:

convert aaa.jpg -resize 1200x900 aaa-small.jpg  

I want to do all the images in the directory, something like:

convert *.jpg -resize 1200x900 *-small.jpg  

but this results in files named like so:

*-small-0.jpg  
*-small-1.jpg  
*-small-2.jpg  

What I want is:

aaa-small.jpg  
bbb-small. ...
Score: 0
smcs avatar
I think I wrote on my boot partition with dd - can I restore it?
kr flag

Today I tried to make an copy of a Micro SD card to another on Ubuntu 20.04. I used dd to first write an image of the first SD card to my hard drive, then switched SD cards and wrote the image from my hard drive to the new card. However it seems I was careless, at some point during the dd operation my screen went black. I suspect that I did not copy to and from the SD cards at all, but copied my b ...

Score: 1
DMT avatar
How to use the default Yaru Gnome-Shell theme on Ubuntu 21.04 in a Gnome session?
de flag
DMT

I did a fresh Ubuntu 21.04 installation, installed the Gnome session (sudo apt install gnome-session), restarted, selected Gnome (tried Wayland and X11) in the login window (where you have to enter the user password to log into the system), installed Gnome-Tweaks (sudo apt install gnome-tweaks) and Gnome-Extensions (sudo apt install gnome-shell-extensions) in order to be able to change the Gnome-Shell th ...

Score: 0
Highlander avatar
bash profile not opening nano editor
kr flag

im wondering why my Ubuntu 18.04 (LTS) x64 is unresposive to sudo commands.

im trying to configure env variables for GO and my command to get in to nano is nano ~/.zshrc

nothing happens and doesnt ask me to log in. Has anyone had this before?

Score: 0
Travis Griggs avatar
How to configure Ubuntu Server instance under Parallels to have a repeatable ip address
cn flag

I'm trying to learn how to use Ansible using Parallels on my macbook pro. I have a target Ubuntu 20 server vm running under parallels. But I would like to have either a static ip address or hostname, so that I don't have to keep editing my ansible inventory file with a different ip address every time I reboot the vm. Is there a good and simple way to do this?

Can this all be done within the vm in ...

Score: 2
Gobinath A L avatar
Stuck in bootloop. Login screen doesn't show up
cn flag

I've recently decided to install kde-plasma-desktop Desktop environment, but it was laggy on my PC and so I decided to switch back to gnome. So I removed the kde-plasma-desktop package and other kde packages using synaptic's package manager GUI. Then I was unable to login with xorg, but I was able to login into Wayland just fine. Today, I booted up my laptop and it doesn't show up a login screen a ...

Score: 0
nolambda avatar
How do I install a specific Focal version like 245.4-4ubuntu3.10?
br flag

I am currently using Docker to install Ubuntu 20.04 like this:

FROM ubuntu:20.04

I ran some security audit and there are a few vulnerabilities and it says they are fixed in version

245.4-4ubuntu3.10

and my current installed version it says is:

245.4-4ubuntu3.7

Are these tags for nightly builds? I am just referencing ubuntu 20.04 as you can see so curious as to how I would install this specifi ...

Score: 0
ITTauber avatar
fstab mount of iSCSI fails before network starts?
my flag

I have an ISCSI target that I connect to and I can mount it after the network is up and I'm logged in, but I want to use fstab to automount but the network is not up when it tries to mount. I'm using the netdev option but still not working. I want to change the order of the fstab to come after the network has been established.

  • /dev/mapper/mpatha /mnt/emmu-test xfs _netdev 0 0

How do I do that. Th ...

Score: 0
rogersjoshmac avatar
Create ping monitor with proxy
br flag

There are 3 sites. One local and two remote.

Local machines can initiate a connection to any site. Sites can initiate a connection between themselves. Remote sites, however, can't initiate a connection to local.

I'm looking for a simple ping monitoring that could be deployed locally, and ping a server in SiteA through SiteB, and report back to local.

I have looked at nagios but it seems like wether I  ...

Score: 0
momo avatar
Proxy connection drops at regular intervals
us flag

My system has Ubuntu20.04 and a LAN connection through an institutional proxy server. It worked just fine up until a month ago. Since then, every 5-6 hours the proxy server refuses connections. It takes disconnecting the lan cable to get the connection back up. Another thing is when this happens, settings still shows that lan is 'wired connected', suggesting that the issue is not hardware related. I tri ...

Score: 0
Saulo Costa avatar
Unknown Display, error after restart
in flag

okay? I come here to orient myself with you to try to find a solution to a problem I'm having with my Linux, currently Ubuntu.

The situation is as follows, I was using a Pop_OS distribution and so far everything was OK. After shutting down the PC and starting it again, it turned to Unknown Display in the settings, and got the maximum resolution of 1024x768 being the normal 1920x1080.

Once this happe ...

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.