Latest Ubuntu related questions

Score: 0
Any way to preseed hostname and domain name for net install?
mx flag
xpt

This is from my preseed file:

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string my-hostname
d-i netcfg/get_domain string my-domain

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what t ...
Score: 1
doggie_breath avatar
Disable Shutdown Warning When System Accounts are Logged In
cn flag

On Ubuntu 20.04 with GNOME3:

We have a system configuration/monitoring process that uses a local account, TEST_ACCOUNT, to ssh into the machine at basically all times. When a user wants to power off or reboot a machine, a popup warning alerts the user that "Other users are logged in", and lists only the system account.

We have already marked it as a SystemAccount in AccountsService, as in:

$ sudo cat  ...
Score: 4
Gnome terminal scrollbar - hover changes width & wraps text
in flag

I'm using Gnome Terminal (under KDE, but I'm not sure if that's important), and when I hover my mouse over the scrollbar, the scrollbar gets wider and causes the text to wrap. Here's a GIF:

Gnome terminal - scrollbar hover causes text to wrap

It's like the terminal is not leaving enough space for the expanded scrollbar, so the text area gets narrower when you hover over the scrollbar.

Score: 0
AronGomu avatar
Ubuntu Core 20.4 can't ping Opto22 Snap Pac Brain
ro flag

I'm working on a Raspberry Py 4 with the lastest Ubuntu Core 20.4 64bits.

I need to be able to reach and use a device, the Opto22 Snap Pac Brain Model SNAP-PAC-EB2. This device is linked to the raspberry with an ethernet cable.

The Brain is fully functionnal. It works on unbutu desktop and window 10, it's recognized and usable, so the problems comes from the ubuntu core.

I tried to open all ports with  ...

Score: 0
Remove login identification Ubuntu 21.10
my flag

I have a special application requiring a "straight" system load, without asking for login credentials. The same process is possible under Windows 10.

Basically, I want to automatically login, without being asked for user id and password, even if my account is admin. I have tried to enable Automatic login through the Configuration -> Users interface, but could not find the recommended lock icon ...

Score: 0
greenik avatar
Webcam is flipped upside down in Asus, how to run MS Teams via LD_PRELOAD v4l1compat.so?
cn flag

My webcam is flipped upside down in Asus K52.

A year ago there was a working solution to make Teams Activator with added Exec command leading to Teams through libv4l:

Exec=env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so teams %U

But after one of last updates this is not working. I can see no 'teams' aplication and it seems to be executed with flatpak.

Below there is Exec from new Micr ...

Score: 0
AinulBedjo avatar
unresponsive black screen after suspend
us flag

I have acer swift sf314-43 that running on ryzen 5500U with integrated gpu

My Ubuntu 20.04 shows black screen after login from suspend.
The screen show login form but as soon as I press enter it shows black screen with no feedback.

I tried to get into TTY mode with Ctrl + Alt + fn + (F1 / F5) but shows nothing.

here's my sudo dmesg -l err, warn log :

[    0.311135] Expanded resource Reserved due to conf ...
Score: 0
Why does the Ubuntu login screen very occasionally show?
us flag

I have a machine set up to run in a sort of kiosk mode, with an application set to start automatically on startup, and with no login required. It's a Jetson TX2 running Ubuntu 14.04 on an ARM chip. Normally it works fine. But very, VERY occasionally, the machine will boot up to the Ubuntu login screen, asking for the default user's password. Once you enter the password the application will start as expe ...

Score: 9
How do I install Windows Subsystem for Linux on Windows 11?
bg flag

How can I install Windows Subsystem for Linux on Windows 11? Any tutorials or guides?

Score: 3
Erich avatar
Bash completion for git branches broken after upgrading to 21.10
nl flag

I can't remember where I got this bit of script from, but my .bashrc contains the following lines:

# set up autocomplete for git aliases
if [ -f "/usr/share/bash-completion/completions/git" ]; then
  source /usr/share/bash-completion/completions/git
  __git_complete gc _git_checkout
  __git_complete gp _git_pull
else
  echo "Error loading git completions"
fi

git_branch() {
  git branch 2> /dev ...
Score: 1
Zain Ahmed avatar
Secondary display option is gone in settings -> display
cn flag

I have a laptop named ASUS Zenbook Pro Duo UX571LV.

The first time I've installed Ubuntu 20.04, the display settings had options to set up the secondary display.

But after a long while of installing tweaks and updates and extended use, My secondary display is completely black, and my performance somehow plummeted. I did try to use back up to an earlier point, but my pc remained the same.

Do you guys ha ...

Score: 0
Brad Thompson avatar
PXE server with NFS
nl flag

Ubuntu 21.10

I setup a functional PXE server but lately I received an error. I supposed the NFS export does not work. The permissions are 777. Can anybody have a solution to that?

I followed this

/etc/exports:

/netboot/nfs *(rw,sync,no_wdelay,insecure_locks,no_root_squash,insecure,no_subtree_check)

this is Ubuntu 16.04 image. enter image description here

I resolved the issue so now, the live media boots over PXE OK.

Score: 2
No network from minimum net install
mx flag
xpt
  • I did a minimum net install, but my new system is not starting the network automatically -- No IP address with my eth0 device.
  • I installed dhclient package myself but that doesn't help. I thought it should have been taken care of by the post-install of the dhclient package.
  • Searching for the answer myself, I found this page, hinting that I have to write such systemd unit for myself.
  • If so, I hav ...
Score: 1
atix avatar
Change terminal-emulator in ubuntu default filemanager
in flag

in the Ubuntu default file manager when right-clicking there is an option to Open in Terminal.

How can I change the terminal-emulator for the "Open in Terminal" option? I have changed my terminal emulator with the following command:

sudo update-alternatives --config x-terminal-emulator

But it did not change for the "Open in Terminal" option.

Score: 0
Nihad Zuher avatar
What are the dev loops? and this is normal
in flag
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            3.8G     0  3.8G   0% /dev
tmpfs           776M  2.2M  773M   1% /run
/dev/nvme0n1p2  234G  9.4G  212G   5% /
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/loop1       11M   11M     0 100% /snap/canonical-livepatch/114
/dev/loop ...

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.