Latest Ubuntu related questions

Score: 1
Jody B avatar
Often can't "Star" a file. Ubuntu 20.04
cn flag

I often want to "Star" a file for quick opening. Sometimes it works and often it doesn't. The type of file doesn't matter; sometimes I can but often not. PDF, jpeg, text file, it doesn't matter. Tonight I starred a PDF file and wanted to star two others. The first one worked, the other two did not. I encounter this all the time. Sometimes after a reboot they will. It's a major annoyance for me.

Score: 0
Struggling configuring LightDM
in flag

I've been trying to customize my lock screen for a while now but I'm running some issues now. I' running Ubuntu 21.10. I installed LightDm with "sudo apt install lightdm" but everytime I install LightDm, it never creates the lightdm.conf file in ¨/etc/lightdm/¨ neither lightdm-gtk-greeter that cames by default as I've seen from some tutorials. Inside ¨/etc/lightdm¨ there's only 2 files: an empty dir ...

Score: 0
Nitin Kumar avatar
expect script not working in cron but runs successfully in terminal
us flag

Here is my expect script named as script.exp which runs successfully when executed from terminal. But it doesn't run when scheduling through cronjob.

#!/usr/bin/expect -f
set timeout -1
spawn ./sql_backup.sh
match_max 100000
expect -exact "Enter password: "
send -- "pass123\r"
expect eof

my bash script named as sql_backup.sh is:

#!/bin/bash
mysqldump -u root -p --all-databases > /home/user1/my ...
Score: 0
Subdomain redirecting me to main domain Apache2
in flag

I have a website running on Apache server. When I try to visit a subdomain, I am redirected to the main domain.

Here is the Apache configuration file:

<IfModule mod_ssl.c>
    <VirtualHost *:443>
        ServerAdmin waheed@azaanjobs.com
        ServerName azaanjobs.com
        ServerAlias www.azaanjobs.com
        DocumentRoot /var/www/azaanjobs/public_html

        <Directory /var/www/ ...
Score: 0
Ubuntu 20.04.3 VMWare Fusion No Internet Connection Issue
cn flag

Everything works fine except I can't get the internet to work. The internet has never been able to work. I tried several methods for other versions of Ubuntu on VMWare fusion, but none of them have worked.

I tried Ubuntu 18.04 internet connection not working (using VMWare Fusion), but it didn't work.

My network adaptor is on NAT and is using internet sharing with my Mac, but the Ubuntu VM wasn't able to  ...

Score: 0
IronWaffleMan avatar
Grey screen with Ubuntu 20.04 and tightVNC
ve flag

I followed this guide to try to connect to my Ubuntu 20.04 machine from my Windows machine; installed tightVNC, changed the xstartup file to show the default Gnome desktop. I start the server with vncserver -geometry 1920x1080 -depth 24.

When I try to connect with VNC viewer however, I see only a blank grey screen. The logs have this line:

/home/username/.vnc/xstartup: 2: def: not found

How can I fix t ...

Score: 0
How to enable grub without dual boot

Yes that's the question so everytime I dual boot there's grub before I boot into ubuntu/windows11 but when I erase my hard drive (no dual boot) and then there's no grub I've install new kernel and I want to change to that kernel

Score: 0
MLBB Scheinder avatar
I keep getting these errors when running "sudo apt-get update" in my Ubuntu 21.04
in flag

I've been trying every method but they just cant fix those.

Screenshot of update error

Score: 0
hldev avatar
Logitech M720 mouse disconnects from Unifying USB Receiver randomly on Ubuntu 20.04.3
id flag

Previously I was using Logitech M720 mouse in my laptop but connected via bluetooth, it worked fine in Ubuntu 18.04. Now I got a new PC and installed Ubuntu 20.04.3, since that PC does not includes bluetooth I tried using the Unifying USB Receiver that comes with the mouse, but the mouse disconnects randomly from it and re-connects right after. What might be causing this? I tried installing logio ...

Score: 0
How to transition software RAID through mdadm from drives to partitions safely
cn flag

I am new to relatively new to linux and a few months ago I created a software RAID through mdadm following instructions I found online.

However, the RAID seemingly randomly drops out leaving the data inaccessible. This problem is resolved on the surface by performing a system reboot and everything works fine again for a few days.

I think I have found the problem but have no idea on how to fix it.  ...

Score: 0
How to "cd $variable" when the variable tries to add "\" before spaces (path contain spaces)?
cn flag

My bash script registers its own path so it can return to its own folder after doing a cd somewhere (kinda if it explores a different forest and is able to relocate its house).

And if the path have spaces, I've used sed to add \ before every space.

But when using cd $SCRIPTPATH to this variable:

./newsed.sh: 11: cd: can't cd to /media/daniell/B/bkp/ST500LM012\

Source: newsed.sh:

#!/bin/bash -e

tmp="$(  ...
Score: 0
Yar Pirates avatar
How to fix admin account file permissions after I deleted and restored it?
iq flag

I deleted my administrator account and restored it using an answer I found from this post (link below).

I accidentally deleted administrator account and the other accounts are asking root password

So everything got restored...but I must have done something wrong because I got both accounts back but my original admin account had a new user ID and belonged to the group of my second one, which had the I ...

Score: 1
knuxyl avatar
Xubuntu 20.04.3 with Compiz
ad flag

I cannot seem to get Compiz (0.9.14.1) working correctly with XFCE (4.14) in Xubuntu (20.04.3).

I have installed compiz, have it running, but it is not loading the window decorator theme.

I enabled Window Decoration, but I get an error saying Failed to find a valid file for 'Adwaita'.

I then installed metacity through apt and still the same error.

I also made a symbolic link at /usr/local/share/themes tha ...

Score: 0
Unable to Mount Windows files in Live Ubuntu
dj flag

I want to recover my data from my Windows O/S. I am booting Ubunto via USB usinf try Ubuntu without Install. I have only one partition in the windows that i am trying to access but unable to mount.

oot@ubuntu:/home/ubuntu# sudo fdisk -l
Disk /dev/loop0: 2.3 GiB, 2470006784 bytes, 4824232 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (mi ...
Score: 0
WIFI not working after fresh Ubuntu install
us flag

I hope you can help me with my Wifi problem. I just installed Ubuntu 20.04.3 LTS 64 bits and the wifi adapter was not recognized. I tried many methods to make it works but nothing helps. The wifi card is Mediatek wifi 6 MT7921 and my laptop is an Asus Tuf Gaming Model FX506L. Then what Can I do to have the wifi card working? or Which version of Ubuntu I must install? Thanks for your help.

Best Regards. ...

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.