Latest Ubuntu related questions

Score: 0
merakliseyit avatar
Resolution problem when connecting with Anydesk
za flag

I am using dl380 gen 9 server. the screen is not connected. I am connecting to ubuntu with anydesk. but i can get 1024x768 image. I can hardly see anything. Does anyone have a solution suggestion for this? Is there a way to increase the resolution?

Score: 0
Mozhi avatar
How to repackage/create ubuntu iso image with custom initialization script?
us flag

UseCase

  • I have a requirement to create a custom ubuntu image from base ubuntu 20.04 , idea is that I want to package code along with OS such that I can create qcow2 file and use it to start the new VM. Upon importing qcow2 file it should run the packaged code binary on startup.

Question

Any inputs on how to package image with code using qemu ? Much appreciated. Thank you.

Score: 1
Help - VNC Server - Ubuntu focal 20.04 AWS S3
cn flag

I'm coming to you because I have a problem with TightVNC installed on ubuntu (under AWS S3). From one day to the next, I can no longer log in and display my virtual machine. The connection can't be established.

My version of ubuntu :

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

My version of Tightvncser ...

Score: 0
Cerclique avatar
Full Disk Encryption (/boot included) - Ubuntu 18.04 LTS
ng flag

Trying to do "Full Disk Encryption" using LUKS/dm-crypt on Ubuntu 18.04 LTS with "/boot" partition encrypted as well.

I've found this tutorial that is explaining quite well how to do it with Ubuntu 19.04. After following all step multiple times, I can't make it working on my disk.

Each time I reboot, at the end, the next boot ends up on grub command line without showing me an error or something. I ...

Score: 1
Nobilis avatar
Many "Unknown" devices in Bluetooth settings tab, keep growing over time
cn flag

On startup, when I go to connect my wireless headphones to my laptop, I notice that there are a couple of "Unknown" devices alongside ones that my laptop has picked up (neighbours' or mine). And puzzlingly, the number of "Unknown" devices grows over time (it starts off with a couple but just keeps adding more over time). Is there anything I can do to prevent this? Clear them up periodically at least? Is ...

Score: 0
rogersjoshmac avatar
Linux - set next boot kernel
br flag

I have multiple kernels installed. I'm trying to create a script that would temporarily set the the next boot to the stock Ubuntu kernel.

From my online research, I understood that the kernel order is the result of the following command awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg, where the first line is 0.

This is the output when I run the command:

root@server150:~# awk -F\' '/menuentry /  ...
Score: 0
saeed asalisaf avatar
Extending root partition on /dev/vda with space on /dev/vdb
us flag

I have a VPS which has this drive structure:

drive structure

Is it possible to extend vda to take all space (375G) and remove vdb?

Score: 1
how can i print a 21x42cm picture on a "custom" 21x42cm paper without getting it shrink to (A4) 21x30cm?
ng flag

from Gimp 2,10.22 on Ubuntu 21.04 GNU/Linux, i'm trying to print a 21x42cm picture on a 21x42cm custom paper size, but in the end it gets printed shrink ("distorting" pixel ratio) in the 21x30cm beginning of the printing area, leaving the remaining area totally blank

i was expecting only having the paper margins unprinted, that wouldn't be larger than 1.5cm, but the lowest part gets larger than 1 ...

Score: 1
martins16321 avatar
Ubuntu keeps changing my DNS to 127.0.0.53
ng flag

I installed expressvpn with Chrome extension. And even when I disable the VPN my system keeps changing my DNS to 127.0.0.53 and I have to manually change it back to 192.168.1.1 for internet to work. And I have to do this every hour or so.

Ubuntu changes /etc/resolv.conf to this

# Generated by NetworkManager
nameserver 127.0.0.53

What I have tried: I tried to set DNS globally but it didn't help

/etc/s ...
Score: 0
drummeress avatar
VS Code doesn't open from command line as root
ph flag

I'm using Ubuntu 18.04.5 LTS (Bionic Beaver). I'm trying to run VS Code using these commands:

>> sudo -s
# mkdir ../user-data-dir
# cd <project_path>
<project_path># code . --userdata-dir ../user-data-dir
<project_path>#

I used to launch VS Code using these commands as root before, but now it is not working. I get no errors in the command line.

code . does open VS Code if I'm n ...

Score: 0
enescngz avatar
Ubuntu 18.04 fps problem when plug off the power cable and plug in
br flag

I have HP Omen 15 laptop with nvidia rtx 2060. Installed driver version is 440.33 with cuda 10.2

Im working on artifical intelligence.

When i plug off the power cable fps getting very low on my ai model.No problem on desktop or other applications. Then, when i re-plug in the power cable fps is not increasing.

I set all nvidia settings to performance mode and when i checked, selected graphic card is app ...

Score: 0
X Zhu avatar
pitcture display failure in LibreImpress
me flag

I am using ubuntu 20.04lts in a laptop with 20GB RAM. When the RAM usage is full around 15GB, the slides in LibreImpress can not display correctly. All the figures in slides can not been seen clearly (see https://imgur.com/eia3mrS https://imgur.com/DrrmlMV). How to solve this issue?

Score: 2
Can't install nvidia-driver in ubuntu 20.04.2 kernel version 5.8.0-55
us flag

Problem

I can't install nvidia-driver-460 in newly installed ubuntu 20.04. I ran command sudo ubuntu-drivers autoinstall then I got errors bellow.

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some  ...
Score: 1
SteffenM avatar
Ubuntu and NVidia Quadro P400
cn flag

I'm quite new to Linux, but I have to ask about a problem, that was probably asked a zillion times before, since I could not solve it with pure research - sorry for that!

Until Friday 4th of June I was happily running a Ubuntu 18.04 LTS, then probably some update did prevent me from booting and got me a "kernel panic". I don't know how to get a log of that to show it to you.

The system is a HP Z420  ...

Score: 1
DBX avatar
Cisco VPN connection active but not access to server
bq flag
DBX

What a double click on windows does turns out to be a nightmare on ubuntu. I've received a .p12 certificate to connect to the server I'm working at.

What I've done with that file:

  • openssl pkcs12 -in certificate.p12 -out DB.pem -clcerts
  • openssl pkcs12 -in certificate.p12 -nocerts -nodes -out db.key
  • Open Network -> Add new VPN (+) -> Select Cisco AnyConnect
    • Details: Make available to other us ...
Score: 0
Nginx with Docker : nginx: [emerg] unknown directive "enable" in /etc/nginx/nginx.conf
ms flag

I have 2 servers one is on the Digital ocean the other is somewhere else. I have one project and it is working well with all apps on that server. But, I wanted to create a droplet and move it to the digital ocean so I was copied all files to the new server(digital ocean) via sudo scp command. All services are working well except Nginx is returning Exit code 1 as below image. The whole codes are the s ...

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.