Latest Ubuntu related questions

Score: 1
Wayne Gregori avatar
Chrome remote desktop, Ubuntu 20.04, login to an existing session
cn flag

When I try to access my remote Ubuntu server via remotedesktop I'm presented with two login options,

  • Default Launch the default XSession
  • Ubuntu This session logs you into Ubuntu

The first option works provided that I am logged out of the remote system. Option two does not work. I cannot access a current session.

Is there anyway to access a current session?

Thanks

Score: 0
Onlyartist9 avatar
How do I backup a failing disk?
cn flag

I'm trying to recover some information on a failing disk. At this point, it won't let me log in(asks for a manual fsck run which gets stuck during runtime). I'm guessing I can access some of the files using a recovery disk. How do I proceed from there on?

Score: 2
LinuxRsa avatar
Ubuntu 20.04 Wont Connect to my Local REPO
sk flag

Iv setup a local REPO where I have downloaded all the packages from Ubuntu.

root@vm-repo-server:~# ifconfig | grep inet
        inet 10.0.0.4  netmask 255.255.255.0  broadcast 10.0.0.255

root@vm-repo-server:/var/www/html/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu/dists/focal# ll
total 40472
drwxr-xr-x 6 root root      146 Jan 24 12:31 ./
drwxr-xr-x 8 root root      123 Jan 24 12:31 ../
-rw-r--r--  ...
Score: 1
A. Que avatar
Leave SPDIF enabled
de flag

I have optical S/PDIF output as my primary sound output. Problem is, it takes about 1/2 second between when sound starts and when my output device starts the playback. I assume it is because the audio receiving side (a Logitech Z-5500) needs this time to detect the signal type. That means I miss the first 1/2 second of audio. Mostly a nuisance, especially for messages which have a short ping to i ...

Score: 2
Momin Adnan avatar
Nested sequence of directories
in flag

I am making nested directories using a command like this:

mkdir -p 1/2/3/4

However, for many nested directories it takes too much time.

If I want to create 100 directories, what should I do?

Score: 1
ilove cupcakes avatar
what are the lenses still available for ubuntu 20.04 unity desktop environment?
au flag

i want to install multiple lenses that would let me search the web through my unity dash. can you tell me what lenses are still available today in 2022 ? and tell me how can I install them? no links please, answer in details.

Score: 0
JellicleCat avatar
Restarting networking after flushing routes (systemd-resolved won't restart)
lu flag

I flushed my kernel routing table and wanted to return to using the network but found every server unreachable. I ended up rebooting my computer to restore functionality. Can you help me identify what I could have done, short of rebooting?

My actions were as follows:

# Write my current routes to a file
ip route show > "saved-routes.txt"
# Flush the routing table. After this, `ip route show` outputs n ...
Score: 0
Farhan M. avatar
Setting Up PostgreSQL DB with bash script using variables from .env file
ca flag

I'm trying to set up PostgreSQL with a bash script which takes the variables from an .env file.

My code -

#!/bin/bash

DB_NAME=$(grep DB_NAME .env | cut -d '=' -f 2-)
DB_USER=$(grep DB_USER .env | cut -d '=' -f 2-)
DB_PASSWORD=$(grep DB_PASSWORD .env | cut -d '=' -f 2-)

echo $DB_NAME;
echo $DB_USER;
echo $DB_PASSWORD;

sudo -u postgres psql -c "CREATE DATABASE $DB_NAME;"

sudo -u postgres psql -c "CR ...
Score: 0
jxw avatar
Network manager forgets static ip setting upon restart
lk flag
jxw

I am using Ubuntu 21.10 Desktop version, and I have an ethernet connection between my PC and a printer. There seems to be multiple issues with Network Manager such as:

  1. When I specify a static IP address for my computer, it doesn't take effect immediately

  2. The biggest problem is even though I managed to set a static ip address on my computer to communicate with my printer, upon a reboot, I lost all my  ...

Score: 1
Paul avatar
Is it possible to change 'From: root@example.com (Cron Daemon)' to conform to RFC 5322 angle-addr or name-addr format?
us flag

When my server sends messages generated by cron jobs, the all have the following From: header:

From: root@relayclient.example.com (Cron Daemon)

Based on answers in this Server Fault question I am concluding this is a legacy format that SHOULD NOT be used based on this note in RFC 5322 3.4.1:

Note: Some legacy implementations used the simple form where the addr-spec appears without the angle ...
Score: 0
Issues with 8021q while installing vlan
us flag

I am having issues using the vlan package on Ubuntu Server installed on a Raspberry Pi 4. I am running Ubuntu 21.10.

I will run the command sudo apt install vlan and the package will download. When I run sudo modprobe 8021q I am getting this error

modprobe: FATAL: Module 8021q not found in directory /lib/modules/5.13.0-1015-raspi

I have done research on this error and have not found anything that h ...

Score: 1
capt_zipoc avatar
Ubuntu 18 - Stuck at grub rescue
es flag

Stuck at rescue mode

grub rescue> set                                                                
cmdpath=(hd0)                                                                   
prefix=(hd0,msdos1)/boot/grub                                                   
root=hd0,msdos1
                                                             
grub rescue> ls                                          ...
Score: 1
ilove cupcakes avatar
How can I install the youtube lens for Unity 20.04?
au flag

I am seeking to search YouTube via my unity dash, but I can't seem to find a way to install it. I have tried sudo apt-get install lens-video scope-youtube but it's not working. I am getting an error saying:

E: Unable to locate package lens-video
E: Unable to locate package scope-youtube

How can I remedy this?

no release file

searching in Dash does not show YouTube videos

missing dependency

dependency on python-requests not satisfiable

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.