Latest Ubuntu related questions

Score: 0
Ubuntu 22.04 can't accept RDP connecting from clients except mstsc.exe
mv flag

Environment:

  • Remote OS: Ubuntu 22.04.02 GNOME
  • Client OS: Windows 10

Ubuntu /var/log/syslog as follows:

Connecting from RDP client of MobaXterm, log:

May 20 16:54:38 bc gnome-remote-desktop-daemon[952]: [16:54:38:934] [952:18610] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
May 20 16:54:38 bc gnome-remote-desktop-daemon[952]: [16:54:38:942] [952:18610]  ...
Score: 0
Keval Shah avatar
Printer not showing Duplex Printing Option in Kubuntu 22.04
nu flag

I have recently brought a printer and connected to my windows PC and duplex was fairly usable and tried installing the same in kubuntu 22.04. The printer installed successfully using CUPS and prints very well. But the problem I faced is that I did not get duplex option at all.

My Printer-Cannon Pixma G4000 Series

Print Dialog

In two sided print drop-menu no options are available .

How can get back the propert ...

Score: 1
Advaith vp avatar
How to use phone as microphone in linux
sz flag

I am using Ubuntu 22.03 LTS currently and I want to know if there is any way to use android as microphone for Linux. I tried WoeMic but it didn't work. I tried following all the instruction in woeMic website,it even shows connected but I can't get any input.

I tried mic over mumble but it is too confusing for me. I got it working but I am not getting another input device in ubuntu settings. I tri ...

Score: -1
Daniel avatar
There is nothing in my $HOME/.vimrc file, is that right?
kr flag

I am using an Ubuntu Desktop I think Focal, version 20 and I need to add some line numbers to my vim and I ran the following command to locate my .vimrc file:

vim --version

which says my file is in $HOME/.vimrc, but when I run vim $HOME/.vimrc, there is nothing in there. is that by default or am I in the wrong place?

Score: 1
Daniel Hatton avatar
Webcam works as root but not as normal user: what permissions do I need to change?
kw flag

When I run cheeseas root, I can see the video stream from my webcam just fine. However, when I run it as a normal user, I get "No device found". The normal user in question is in a group (video) that has read and write permission on the relevant device file /dev/video0. How do I get webcam access as a normal user, please?

Output from cheese run as root is:

(cheese:5512): GLib-GObject-CRITICAL **: 14 ...
Score: 0
Suresh Raina avatar
How to emit signal when scrollbar is moved in scrollview
mf flag

Is there any signal which get emitted when scrollbar moved in the scrollview or else please help me to emit the signal when scrollbar moved. Thanks in advance.

Score: 0
A Sreek avatar
Run wine headless on a docker to run a windows application
ky flag

I want to run a windows application(pyinstaller.exe) on a dockerized Linux (on Linux host), using wine, but I do not have a display connected. I just have an SSH terminal to the host Linux. I am aware of the Xvfb solution, but since I need it on the Dockerfile, I am somewhat confused here.

Score: 0
Wilson avatar
Routing Table Metric With Two Interfaces
lt flag

I've tried for many hours now to find a solution to my issue, but I can't seem to locate a permanent explanation - I'm also an ultra noob, so forgive me if I get the basics incorrect.

I have a server running on LTS Ubuntu 22.04 with two interfaces, eno1 and eno2 - one interface has an internet connection (eno1) which I would like to have priority over the interface without an internet connection  ...

Score: 0
Daniel Krajnik avatar
Exclude inbox from IMAP syncing in thunderbird?
in flag

In mbsync you can exclude any folder from syncing (including Inbox with a pattern like !"INBOX"). Is there any way to exclude Inbox in thunderbird? It would be useful when using gmail, because you can't "uncheck" Inbox from gmail's IMAP and it contains redundant messages that you may want to exclude like gmail's "categories" (labels that filter out spam messages like promotions, social media etc.). ...

Score: 0
Zorglub29 avatar
See actual raw binary content of the full disk block in which a file is written
ma flag

If I have a file on disk (creating a healthy one for the sake of the discussion, but I may have one from before, possibly damaged, in some debugging activities):

/tmp/tmp.gEJmJSc2zQ> echo "hello" > hello.txt

I can see that this file, even if it is small, actually uses a full 4KiB block, as expected (this is the block size on my filesystem, default Ubuntu 20.04):

/tmp/tmp.gEJmJSc2zQ> ls - ...
Score: 0
Philip P avatar
Patch management and cautious upgrades
pt flag

My company runs a handful of Ubuntu servers which are considered mission critical. We can only take them offline for maintenance on very rare occasions. We have had problems in the past with the unattended upgrades system unexpectedly breaking things, so both this and fwupd have been disabled on all such systems.

These machines sit behind firewalls, only exposing essential services with very li ...

Score: 1
JPL avatar
Webcam (Chicony 04f2:b761) video inverted (upside down) after suspend 22.04.2 LTS
nc flag
JPL

Integrated laptop (ThinkPad T14s Gen 3) webcam (Chicony 04f2:b761) video inverted (upside down/vertically flipped) after suspend. It is the right way up after restart. Tested on cheese, zoom and firefox, all behave this way. Note I am using Xubuntu 22.04.2 LTS but also tested on Ubuntu 22.04.2 LTS via bootable USB and got the same problem.

Webcam details:

             *-usb:1
                   descr ...
Score: 1
Yao Li avatar
How to make terminal sushi a file with focus on it?
ru flag

I plan to use sushi as my preview application in Zotero(A famous open source research assistant), it is similar to run a command which is “sushi FILENAME” in shell. it turn out that the preview window does not have focus and is buried under Zotero mainwindow. For finding out possible workaround, I tried to do the following:

  1. Execute “/usr/bin/sushi MyFileName.pdf” in terminal, the preview w ...

Score: 1
Antony avatar
Why has Google Chrome switched to dark mode?
al flag

So I am using Ubuntu 22.04.2 LTS and Chrome 114 which appears to have just updated. My Chrome crashed so I restarted it and not hey presto its defaulted to a Dark Mode. I've tried to go into Settings > Appearance > GTK Button but no affect and even Google search pages are now in black/dark.

I'd quite like to revert it back and wondering what I can do about it?

Score: 0
Grichka avatar
Modify the sleep setting of another user's account via root
tv flag

I'm novice with linux but for my job, I need to change settings (including sleep/hibernation) of another user from the root user.

I work on ubuntu 20.04.

I can't do it directly from this other user because it automatically boots into our software under Chrome and I have no way to get back to the desktop or open a terminal.

Is it possible and how ?

Thanks in advance.

Score: 2
heynnema avatar
Ubuntu 23.04 and Nvidia 530
ru flag

I recently upgraded from Ubuntu 22.10 to Ubuntu 23.04. I noticed that the upgrade uninstalled my Nvidia 530 drivers, and left me with nouveau.

Nvidia 530 doesn't appear in Additional Drivers, and apparently is not in the 23.04 repos (yet).

So I installed Nvidia 525 (proprietary, tested) using Additional Drivers.

Anybody have any ideas when/if Nvidia 530 will appear in Additional Drivers?

Has anybod ...

Score: 0
aparpara avatar
How to fix a partially balanced memory configuration?
vi flag

We have an Intel Xeon Gold 6230 based server under Ubuntu 20.04.5 LTS with a specific memory configuration. It has 2 sockets with 6 memory channels in each and 8 memory slots all filled with 32G DIMM modules, so that 2 of 6 channels have 2 memory modules on them and the rest have only one, as shown here https://www.thomas-krenn.com/en/wiki/Optimize_memory_performance_of_Intel_Xeon_Scalable_systems#D ...

Score: 0
alf avatar
setxkbmap randomly stops working
us flag
alf

I have the following in my ~/.profile:

setxkbmap us,no -option "grp:shift_caps_toggle" -option "caps:escape"

and I am running i3 https://i3wm.org/ under Ubuntu 20.04. I am using shift+caps to toggle keyboard layouts between "us" and "no", and I have replaced my caps lock with escape.

This randomly stops working and I have to run the setxkbmap ... command again in a terminal.

Any idea why this happens?

Score: -1
Birjendra Rawat avatar
how to install "/Downloads/code_1.78.2-1683731010_amd64.deb" file getting this error
az flag

Getting this error

birjendra@birjendra-HP-Laptop-14-bs0xx:~$ sudo apt install ./home/birjendra/Downloads/code_1.78.2-1683731010_amd64.deb
Reading package lists... Done
E: Unsupported file ./home/birjendra/Downloads/code_1.78.2-1683731010_amd64.deb given on commandline

Please help.

Score: 0
officialrewind avatar
Unrecognized COMMAND/service 'chipper,' how to find host package?
tk flag

I'm trying to run a local apache server on a dedicated ubuntu 22.04.1 LTS server machine. However, I can't get apache2 to start. Every time I try sudo systemctl restart apache2 I'm told that it failed to start because another service is listening on port 80.

(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
apachectl
(98)Address already in use: AH00072: make_sock: cou ...
Score: 0
Ashu avatar
Ubuntu 22.04 LTS start-up message/check which delays boot
ru flag

I am having Windows 11 and Ubuntu 22.04 LTS dual boot system. Windows 11 on regular SSD while Ubuntu 22.04 LTS on PCIE NVME SSD. It's Dell XPS 8930 Desktop(2018) where I have made a lot of upgrades and additions. As part of the latest upgrade, I upgraded 512GB PCIE NVME SSD(version 1) to 4 TB PCIE NVME SSD(ver 4.0). I used AOMEI cloning software for this . In the process of upgrading PCIE NVME SSD, I ...

Score: 0
ubudoge avatar
How to see unused hardrive space?
vi flag

Just installed 2TB nvme hard drive and did a default Ubuntu server install. When I run df -H I only see about 136G. Here is my output:

Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              6.3G  3.2M  6.3G   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   98G   26G   68G  28% /
tmpfs                               32G     0   32G   0% /dev/shm
tmpfs       ...
Score: 1
Mustafa Agha avatar
When deleting a file or a folder, it removes the wrong indexed file or folder from the GUI
cn flag

OS Ubuntu 23.04 GENOME VERSION 44.0

enter image description here

As you can see from the above gif is that when I try to remove a file or a folder from terminal or using the GUI, the wrong indexed file or folder is disapeared but not removed.

bcz when I go to another directory and go back to test directory I find the file or folder was actually deleted.

Does anyone know what causing this behaviour and how to fix it?

Score: 0
chone_si avatar
Configuring VNC - Grey screen
gr flag

I'm trying to login to an Ubuntu (20.04.6) PC from Windows 11 using VNC. When I connect, I get a grey screen and can't do anything on the PC. I'm using the GNOME desktop (v3.36.8).

I'm not sure what additional information to provide, but happy to help. I'm relatively new to Ubuntu, so any help is greatly appreciated. I've tried all of the settings the internet has suggested, but haven't been  ...

Score: 0
Ian Nathanael Hadinoto avatar
Installing RabbitVCS on Ubuntu Jammy 22.04
ly flag

I am trying to install RabbitVCS on Ubuntu 22.04 using PPA but I am getting this error:

Err:8 https://ppa.launchpadcontent.net/rabbitvcs/ppa/ubuntu jammy Release

  404  Not Found [IP: 185.125.190.52 443]

Reading package lists... Done

E: The repository 'https://ppa.launchpadcontent.net/rabbitvcs/ppa/ubuntu jammy Release' does not have a Release file.

N: Updating from such a repository can't be d ...
Score: 0
Daniel Krajnik avatar
"Sending of the message failed" when trying to sign a message with a gpg key (Thunderbird 102.11.2) using a gmail account
in flag

I'm trying to troubleshoot why thunderbird may be refusing to send a message when adding a signature to it, but works fine otherwise? Is it possible that gmail is blocking/refusing to process gpg signed emails? Is there any way in thunderbird to get more information on the error?

enter image description here

Score: -1
rory toma avatar
How do I configure libvirt-guests on Ubuntu 22.04
ke flag

In RH-based distros, this seems to be in /etc/sysconfig. It appears it has moved in Ubuntu, but to where?

Score: 0
morpheus avatar
error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
no flag

I was debugging an error on my system (debian linux) and part of that I renamed the libc.so.6 file to something else.

$ sudo mv libc.so.6 libc-2.28.so.6

Now none of my bash commands will work.

$ ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
$ sudo mv libc-2.28.so.6 libc.so.6
sudo: error while loading shared libraries: libc.so.6: ca ...
Score: 0
marcel fiedler avatar
Unable to install linux-tools for perf
bd flag

I want to use Perf, so I tried to install linux-tools-common with the command:

sudo apt install linux-tools-common

However I got this error message:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.19.0-35-generic linux-hwe-5.19-headers-5.19.0-35 linux- ...
Score: 0
Tun Huang avatar
Permission denied when trying to access external harddrive in OpenComic
cn flag

I have an external usb harddrive, which I usually use on a windows pc. It has NTFS. When I connect it with my ubuntu pc, it works immediately. I can access it in terminal and in nautilus. But when I try to open a file/folder from the app OpenComic, I get permission denied as shown in the screenshot. Help appreciated.

Screenshot

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.