Latest Ubuntu related questions

Score: 0
How to copy a folder recursively to a share?
cl flag

I am trying to copy a folder recursively:

 cp -r build/. '\\qum-oc2-01\rw\stage\Web01\Uploads\cms\'

I am getting the following error:

cp: cannot overwrite directory '\\qum-oc2-01\rw\stage\Web01\Uploads\cms/./static/js/bannerlogo.0ce4c429.chunk.js.map' with non-directory

What am I missing here?

Score: 0
arobase avatar
Unable to login after keyboard configuration
cn flag

I use Ubuntu 21.04. After a sudo dpkg-reconfigure keyboard-configuration command, my AltGr and Alt buttons no longer work. The point is my password need an @, so I can't login again to open a terminal and reverse my bliss. I tried various combinations to make it appear in vain.

For instance, when I tape on AltGr, a symbol that I had never seen before appears. If I tape again it disappears and so on ...  ...

Score: 1
griffin avatar
Automatically Start up in Chrome
us flag

Im using a NUC as a kiosk, is there a way to automatically open to a chrome webpage at startup?

Score: 0
draft avatar
Wireguard does not install on ubuntu 18.04.5
ng flag

I have seen there are many issues with installing wireguard on Ubuntu Server 18.04.5 LTS (and other versions), and I have tried several offered solutions, but the issue stays the same.

I did update and upgrade, next I install wireguard, and this is my output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
  linux-image-4.15.0-20-generic linux-modules-4.15.0-20 ...
Score: 0
Install Windows on ubuntu 18.04 (Currently on ubuntu 18.04) - dual boot
us flag

I am looking at different solution on how can I make a dual boot for my laptop but none of it seems to work. Most of the solution offer pre-installed Windows before they set up a dual boot system with linux. In my case, I'm using Ubuntu 18.04 now and I wanted to have a dual boot system with Windows without deleting any of my data in my Ubuntu 18.04 system.

I am looking for a solution that can set ...

Score: 0
dennismayr avatar
Android Studio emulator only crashes when using `nouveau` driver, OK with `i915` intel driver
in flag

I'm running Kubuntu 20.04LTS on a 1st-gen Optimus-enabled ThinkPad T410s (dual graphics, Intel + NVIDIA).

Whenever I run Android Studio device emulator (installed with dependencies according to official instructions here) using the nouveau driver, the virtual device opens but crashes after the first click on the UI.

When running it under the i915 / intel driver (Intel HD graphics, i5-i540M processor), ...

Score: 0
naughty_waves avatar
Keyboard stops working whenever powered off
cn flag

I recently installed Ubuntu (20.04 LTS) on my laptop (Asus ZenBook 13 OLED UX325). It works for the most part but I realized that whenever I use the power off option, the keyboard will not work upon restart. Basically, I need to (from another question)

sudo apt-get install xserver-xorg-input-all

or

sudo apt-get --purge autoremove xserver-xorg-input-all
sudo apt-get install xserver-xorg-input-all ...
Score: 0
Should I change filesystem back to read only after resetting password?
in flag

I needed to reset my Ubuntu password in VM, so I booted into recovery mode, remounted the filesystem to rw, and successfully updated the password. Then I resume normal boot.

My question is, do I need to set it back to read only? Or does Ubuntu automatically restores it back to read only upon normal boot?

Score: 0
Nhyiraba Bismark avatar
Recovering lost files from a formatted external drive
us flag

I was trying to make a bootable USB drive.

I started it and then became aware that I had the wrong drive selected /dev/sdb I let it run, and then became aware that I had the wrong target.

I meant to target Toshiba sub drive and my external drive was also Toshiba drive which is my external hard drive containing 7 years of memories.

After the process was complete and I realized my mistake, I was still a ...

Score: 0
Neel Dutta avatar
Cannot mount a folder shared via Samba :: is write-protected but explicit read-write mode requested
ma flag

My setup:

I have a server (ubuntu server 20.04) which is connected with a netgear NAS. I have mounted the NAS via iscsiadm login procedures mentioned in a guide-link: Ubuntu 20.04 – How to setup iSCSI initiator

My Issue:

After doing so, I am able to access the NAS drive on my server, and I am able to do all read/write operations. Now I am sharing a specific folder of the NAS drive, named "vod", from t ...

Score: 2
nicks6853 avatar
Authentication token manipulation error after upgrade from 16.04 -> 18.04 -> 20.04
ma flag

Introduction

I recently upgraded the Ubuntu release from 16.04 to 18.04 to 20.04 and after completing the upgrades and fixing outstanding issues with apps that were running on that local development server I noticed the passwd command to change user passwords has stopped working.

What is the error

Here is what happens when I attempt to change my own user's password

joe@machine1:/etc$ passwd
Changing pas ...
Score: 0
Upgrading MySQL from 5.7 to 8 on Ubuntu 18.04 (Bionic)
pk flag

Just as the title said. I tried to upgrade to MySQL 8 on my Ubuntu 18.04 box. I downloaded mysql-apt-config_0.8.12-1.all.deb,updated and then tried to upgrade. The following is the outcome from my terminal:

faiz@faiz ~ > sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb 
dpkg: error: dpkg frontend is locked by another process
faiz@faiz ~ > sudo dpkg -i mysql-apt-config_0.8.12-1_all.deb 
Selecting previ ...
Score: 2
Drosera_capensis avatar
Copy and paste in in Tmux and Vim: have we reach a consensus?
ru flag

I am trying to use Tmux and Vim for better efficiency. Unfortunately, there is a copy/paste issue, as it is not possible to use the Vim visual mode between two panes of Tmux.

Several methods have been discussed in this 9-years-old post, but they are tedious: How to paste text from Vim editor to browser?

I was wondering if a consensus has been reached nowadays on the best method to use?

Score: 0
Ubuntu Studio Cannot Mount External Drive
ru flag

Trying to mount USB NVMe M.2 box to laptop with Ubuntu Studio 20.04 to no avail.

Without the device connected:

$ ls /dev/ | grep sd
sda
sda1
sda2
sda5
sda6

Wit the device connected:

$ ls /dev/ | grep sd
sda
sda1
sda2
sda5
sda6
sdb

So I try...

$ mkdir /media/usb
$ mount /dev/sdb1 /media/usb
mount: /media/usb: special device /dev/sdb1 does not exist.

$ mount /dev/sdb /media/usb
mount: /media/usb: c ...
Score: 0
Steven Bendell avatar
Can't install php7.3-gd on ubuntu 20.04
cn flag

I have php7.3 installed but I can't install the gd module.

I have tried running the following commands:

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.3-gd

I get the following error:

E: Unable to locate package php7.3-gd

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.