Latest Ubuntu related questions

Score: 0
rudxor02 avatar
how can i 'git fetch' in one line?
cn flag

i hope to use git fetch in one line command because it's so annoying to enter my account and access token... so i used alias like this.

$ alias fetch='cd ~/project; git fetch < ~/gitAccount'
$ fetch
Username for 'https://github.com': 
Password for 'https://@github.com': 

but this command also asked my account and access token although i used stdin < and gitAccount looks like this

$ cat ~/gitAccou ...
Score: 0
Cannot Use Whole Disk after Disk Upgrade
br flag

I upgraded the disk size of my VPS from 20GB to 40GB. I cannot use this newly added 20GB. fdisk -l shows 40GB but du -h shows 20GB!

    root@ubuntu:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           385M  656K  385M   1% /run
/dev/sda1        19G   16G  2.5G  87% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0 ...
Score: 2
Rick avatar
Pinta Keeps Crashing -
cn flag

Pinta keeps crashing on 20.04.2 LTS. I have done what is said on this page here: https://bugs.launchpad.net/pinta/+bug/1786822. A lot of people say updating the monorepos will fix it, like it says here: https://www.mono-project.com/download/stable/#download-lin For me, that didn't help.

Here is the Terminal log when I run pinta

pinta
double free or corruption (out)

=================================== ...
Score: 0
sdbbs avatar
How to refresh/obtain new DNS servers on Ubuntu Server 20.04?
id flag

I work with a "virtual private server" in the cloud, which has Ubuntu 20.04 installed.

I've noticed that - occasionally - when I reboot the server, I cannot ping anything:

$ ping yahoo.com
ping: yahoo.com: Temporary failure in name resolution
$ resolvectl query yahoo.com
yahoo.com: resolve call failed: No appropriate name servers or networks for name found

As far as I understand, since this is Ubuntu 20. ...

Score: -2
Denis Rosset avatar
Conflicts between Ubuntu 20.04 packages and Debian 11 packages
cn flag

I'm having broken packages / conflicts between Ubuntu and Debian. In particular, Thunderbird and Perl cannot be updated.

For Perl, I get something like

$ sudo apt upgrade perl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or i ...
Score: 2
Wang Mengfei avatar
Successfully download R and Rstudio on ubuntu 18.04, but can't open it,enven on web(8787)
pk flag

I want to use Rstudio on cloud server, and I successfully download R and Rstudio on ubuntu 18.04, but can't open it. I think it is because of the wrong environment variable. And I don't know what to do next.

mengfei@iZ2zeh7tqthaheqrfl87z2Z:/root$ R
R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is  ...
Score: 0
Add full disk encryption in place to an Ubuntu 20.04 installation
in flag

I've seen questions for:

But how can I add full disk encryption to an existing installation in Ubuntu 20.04? If this isn't possible to do in place, is there a set of scripts to copy all existing data to another drive with permissions correctly, then encrypt and move it back safely?

I see older questions ...

Score: 0
Jarl Gjessing avatar
Source address automatically removed in user.rules
cn flag

I have added the following:

### tuple ### allow udp 111,2049,4000:4002 0.0.0.0/0 any 0.0.0.0/0 in

-A ufw-user-input -p udp -m multiport --dports 111,2049,4000:4002 -s 10.0.0.0/16 -j ACCEPT

### tuple ### allow tcp 111,2049,4000:4002 0.0.0.0/0 any 0.0.0.0/0 in
-A ufw-user-input -p tcp -m multiport --dports 111,2049,4000:4002 -s 10.0.0.0/16 -j ACCEPT

To the user.rules and nothing to the user6.rules. Th ...

Score: 0
realself avatar
Accidental? upgrade to 20.04.3, Xfce desktop is gone, Gnome is "unusable". What to do?
cn flag

Sorry if this's been asked before, point me there.

I'm on a Thinkpad X230, using Ubuntu Studio, was at 20.04 LTS, ran Software Updater since my internet was good for awhile. I've always selected only LTS upgrades and it's still checked in Software & Updates but today I was bumped up to 20.04.3 for some reason, with a new (Gnome 3.36.5) desktop, and new settings menu, both inadequate IMHO (thi ...

Score: 0
Olivier Audet avatar
No sound on Lenovo Flex 5 13IML05 Chromebook w/ Ubuntu 21.04
cn flag

After a fair bit of hassle getting ChromeOS off my new Chromebook, and replacing it with Ubuntu, most everything works great but I don't have any sound. It seems my sound card (or the integrated sound chip) is being detected, but drivers must not be working properly. At first all I saw as output options in the sound settings was "Dummy Output" but after trying a bunch of fixes (none of which work), it n ...

Score: 0
How to get xfce to share screen?
lr flag

I installed Ubuntu 20.04 from ISO and got screen sharing (viewing on a Mac) working, but I was disappointed with the laggy performance. So I want to try xfce. I installed xfce, and when I restart I can choose Ubuntu, Ubuntu on Wayland, Xfce session, or Xubuntu session. In either of the last two, I see no way to enable/start screen sharing, and the Mac has no Networks choice in the Finder sidebar, and at ...

Score: 0
GoingMyWay avatar
Restricting some sudoer users's printer behaviours
th flag

I tried modifying /etc/cups/cupsd.config to restrict some sudoer users' behavior on adding printers. However, the sudoer users are actually in @SYSTEM group. If I move some sudoer users from the @SYSTEM group, the corresponding sudoer users will lose the sudo privileges. It seems not easy to restrict some sudoer users's adding printer behaviors.

Score: 0
mhly avatar
Failed to start LSB: Starts and stops the iSCSI software target
cn flag

My server crashes a few minutes after startup, which I found in the /var/log/boot.log:

[  OK  ] Started LSB: disk temperature monitoring daemon.
[FAILED] Failed to start LSB: Starts and stops the iSCSI software target.
See 'systemctl status iscsitarget.service' for details.
[  OK  ] Started LSB: VirtualBox Linux kernel module.
[  OK  ] Started OpenVPN connection to server.
         Starting Permit  ...
Score: 0
Pitu avatar
Write error: Cannot write compressed block
vn flag

I'm kinda new in Linux.

I cannot boot. My PC stays in the logo of the motherboard after selecting Ubuntu from GRUB menu. I have been watching some youtube videos to solve this, since my first error was this:

"unable to mount root fs on unknown-block(0,0)"

I've tried a few things from recovery mode, but it won't let me do anything because I get an error that says that my device has no space.

Now  ...

Score: 0
Ethernet not working in Ubuntu 20.04
in flag

I'm a complete novice at Linux. I tried running Ethernet on Ubuntu 20.04 and it didn't run, I got nothing, not even wired unmanaged. Ethernet is working fine on Windows 10. The Output of

lshw -c network 

  *-network
     description: Ethernet interface
     product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
     vendor: Realtek Semiconductor Co., Ltd.
     physical id: 0
     bus i ...

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.