Latest Ubuntu related questions

Score: 0
Mernov Georgiy avatar
Ubuntu 22.04 LTS Lenovo G50 need support [amdgpu, radeon]
ai flag

i need some support. I would like to ask you about, what can i do with my laptop drivers? I can't setup my Hybrid graphics. I read tons of manuals, and how-tos, but still unable to start it up. If i change amdgpu to radeon driver in xorg.conf, the output will be the same.

So. I have Ubuntu 22.04 LTS with 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux,



										
Score: 0
frknl avatar
debugng 2GB AWS server hang with Netbox, Python 3.8
cn flag

I have a AWS t3.micro 2GB 20.04 machine, that i want to use for Netbox software. I created a RDS instance in AWS, so no DB problem on computing, back-end side.

When i complete all steps in the Netbox guide with Nginx and Python3, i'm unable to use VM in no way, no SSH, console etc.

I connected AWS VM serial console port with Putty, i can send break command and sysrq keys, no problem until here.

Both wh ...

Score: 2
guyaloni avatar
Shortcut to specific profile mate-terminal
in flag

As you can see, I have in the upper bar a shortcut to open mate terminal:

enter image description here

Here you can see the shortcut properties:

enter image description here

I have some profiles which I use frequently, and would like to have shortcuts for each one of them. I looked at the command help, but cannot find any parameter which indicates to open a specific profile terminal:

~ $ mate-terminal -h
Usage:
  mate-terminal [OPTION…]

Help Options:
  - ...
Score: 3
Gabriel Mlocik avatar
Encrypted partitions (LUKS) with login password + hibernate
us flag

on my company laptop I have Windows 11, that has encrypted disk, working hibernate, at I need to provide password just once at log-in. I would like to have same on my personal laptop with Ubuntu. RN I have Ubuntu 20.04. with some mess in it, so I would like to do clean install of Ubuntu 22.04. and want to know what is best and easiest way to encrypt partitions (LUKS, or maybe something else?) that will  ...

Score: 0
glebealyth avatar
22.04 thinks my desktop should have wifi, so sets airplane on as I do ot use wifi. This means that bluetooth cannot work. Why?
tw flag

As per the title. Ubuntu 22.04 seems not to understand that my desktop legitimately does not use wifi but has a wired connection. Accordingly, it locks airplane mode on. This suppresses the operation of bluetooth. I need bluetooth.

Score: 1
Can't Create a Permanent Alias In Fish Shell
es flag

I'm trying to create a permanent alias. I've created one long ago, but I don't remember if I did anything differently than what I'm doing now. Be as it may, it isn't working!

I start by opening the terminal and type

nano ~/.bashrc

Then I scroll to the end (just in case, I don't know) and type

alias pd="pwd"

(this is not the alias I'm actually creating).

When I close and save the bashrc file I ty ...

Score: 0
Jeggy avatar
Moving windows lagging
hm flag

I have a massive computer with

  • 100+GB RAM
  • 16CPUs(32Threads)
  • 1TB SSD
  • 3 Full HD Monitors
  • NVidia Graphics card

But after about 1 hour of usage everything works fine, except moving windows on the screen. It lags a lot when moving any window from one location to another.

All screens are about 1FPS in all applications while moving any window.

But while not moving any window, everything is working great ...

Score: 0
Paulo Sergio Schlogl avatar
Need to decompress files and pass the result to a bash script
in flag

I need to use a program that is unable to read compressed files. So I write a script to decompress and then pass the decompressed file to the program.

My script:

#! usr/bin/env bash

dir_in="dir1/$1/$2/$3"
dir_out="Rmes/$1/$2"
mkdir -p ${dir_out}

for file in $(ls -1 ${dir_in})
do
  f=$(gzip -k -c ${dir_in}/${file})
  echo "$f"
  name=${file%.*}
  echo "Calculating the compomd poisson and gaussian dat ...
Score: 0
LaurentM avatar
External monitors detected only when docked
am flag

Dear potential helpers,

With previous versions of Ubuntu, my laptop HP EliteBook 840 G3 (Mesa Intel® HD Graphics 520, SKL GT2) was able to detect my two external monitors.

I installed Ubuntu 22.04 a few weeks ago and now when docked, it detects my two external monitors connected to the dock VGA/DP ports:

(base) HP-EliteBook-840-G3:~$ xrandr --listmonitors

Monitors: 3

0: +*XWAYLAND5 1920/520x1080/2 ...

Score: 0
Mohi avatar
WiFi not working Ubuntu 18.04 (with upgraded Kernel 5.19) on Razer Blade 15 eraly 2022
um flag

I recently got a new Razer Blade 15 2022 (RZ09-0421PEF3-R3U1). Everything works perfectly on Windows 11, but a whole different story on Ubuntu 18.04. The most important issue is with the WiFi card, which is not working. The wifi spec is Wi-Fi 6E, IEEE 802.11a/b/g/n/ac/ax/az

I searched for this issue, and all I could find was to upgrade the Ubuntu kernel to a newer version. I did this solution by upgrad ...

Score: -4
Praveen Kumar avatar
"-bash: line 7: bc: command not found" error in script
in flag

I am having a script file for disk usage and I am getting the following errors:

$ DISKTOTAL=$(df -m |column -t |awk '{print $2}' |tail -n +2|awk '{Total=Total+$1} END{print Total}')
df: '/var/lib/ureadahead/debugfs/tracing': No such file or directory
$ DISKUSAGE=$(df -m |column -t |awk '{print $3}' |tail -n +2|awk '{Total=Total+$1} END{print Total}')
df: '/var/lib/ureadahead/debugfs/tracing': No su ...
Score: 1
HHashi avatar
Ubuntu Core - "EFI sub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path"
ki flag

First of all, I'm new to Linux in general. I did try searching on here but was unable to find anything, but then again, I'm also relatively new to using SO other than stumbling across here via Google. Hopefully I've provided enough information below but please let me know if not.

I need a simple web kiosk for a hobby project, and stumbled across this article that utilises Ubuntu Core + Ubuntu Frame.

Score: 0
Cryztalzone avatar
Ubuntu Server 22.04 crashes without any Logs
tg flag

I am running a private Server using Ubuntu Server 22.04. It's an old PC that I repurposed to a Homeserver which runs various applications via docker.

For almost 2 months now it randomly stops responding to any network requests. When it does, the fans and power LEDs such as PCIe and RAM indicators stay on but it otherwise acts as if you shut it down. The only way to get it back up is a force reset ...

Score: 0
Praveen Kumar avatar
getting disallowed error for top command
in flag

while entering top command from a script getting the below error:

praveen.kumar@MUM:/home/admin$ top -b -n 1 -d1 |grep "Cpu(s)"| awk -F' ' '{print $2}'|awk -F' ' '{print $1}'
top: -d disallowed in "secure" mode
Score: 0
ayoub zinini avatar
SSH access even if your CMD is closed
ie flag

Please I want some help My work manager gives me SSH access to a local server using the command : shh user@local_ip to work on a data sciences project The running time is so long and if I close my CMD, the running process will be stopped And while the code running, if I tried to open another CMD or Powershell window to connect to the server, then using the command : screen -list, the output is 0 s ...

Score: 4
Matin Zivdar avatar
Both HTTP and SOCKS inbounds are not enabled - Qv2ray
ms flag

I'm using ubuntu 22.04 and I want to use Qv2ray for proxy. After importing the server configuration, couldn't connect to it showing this error.
These are the logs in the terminal.

[V2RayInteraction] V2Ray version: V2Ray 4.28.2 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.15.2 linux/amd64)
[V2RayInteraction] Starting V2Ray core with test options
[V2RayInteraction] Config file check passed.
[V ...
Score: 0
Tom Bom avatar
Trying to update Node version: The following packages have unmet dependencies: mongodb-org
jo flag

This is my Dockerfile and it runs without problems:

FROM node:12 as build

# Install mongo in container for mongodump command
RUN wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key add -
RUN echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/5.0 main" | tee /etc/apt/sources.list.d/mongodb-org-5.0.list
RUN apt-get update
RUN apt-get install -y mongodb-org

But when I tr ...

Score: 2
Saeed Neamati avatar
How can I set Region & Language format from command line?
cn flag

I tried sudo update-locale LANG=en_US.UTF-8, but it does not change the Format.

What I do manually to fix it:

  • Open settings
  • Go to Region & Language
  • From Formats, select the current format
  • From Formats dialog, search for United States and select it
  • Click Done
  • Reboot

How can I automate it via command line?

Score: 0
Elvin Jafarov avatar
How to access vpn required server without actually using vpn?
ie flag

I am using Ubuntu server and this server requires vpn in order to access it. There is one database file in that server so I want to access it using google datastudio to visualize some data? I tried nginx, docker network but none of them work since it requires VPN.

I am new in networking sorry for my little knowledge on this. How can I approach to this challenge ?

Score: -1
ElsayedDev avatar
The second screen with hdmi displays incorrect colors
lt flag

When I connect a monitor by HDMI cable with my laptop a faced a problem with Color that not compatible with laptop screen.

Score: 1
mstdmstd avatar
Kubuntu 20 system performance problems
jp flag

working in Kubuntu 20 I periodically have big problems with performance : my system practically stops and I have to waite for some period to resume my work: More details about my Laptop and OS :

Running top command I see :

top - 09:36:02 up  1:20,  1 user,  load average: 9.90, 12.13, 9.24
Tasks: 281 total,   3 running, 278 sleeping,   0 stopped,   0 zombie
%Cpu(s): 54.1 us,  2.6 sy,  0.1 ni, 42.6 id,  ...
Score: 0
Codor avatar
Cable LAN connection issue
mg flag

I have booted Lubuntu 18.04.5 (try out mode from an USB stick, no proper installation) on an old netbook (HP Mini 210-3100) and ran into a LAN issue. First, wireless LAN access works as expected without any trouble (both DHCP and access DNS resolution).

Strangely, not so via the internal cable LAN - apparently DHCP works, an IP address gets assigned and other devices in the network can be reached ...

Score: 0
Metaphysiker avatar
Error on installing Passenger with Nginx and Ubuntu 22.10
co flag

I am using Ubuntu 22.10 and I get the following error when running the command sudo apt-get install -y libnginx-mod-http-passenger:

   The following packages have unmet dependencies:
     libnginx-mod-http-passenger : Depends: nginx-common (< 1.18.1) but 1.22.0-1ubuntu1.1 is to be installed
    E: Unable to correct problems, you have held broken packages.

Any suggestions on how to fix this?

What I tr ...

Score: 0
stradivarius avatar
Install Fedora with VirtualBox
mk flag

I use Ubuntu 22.04 and I installed VirtualBox in order to test other Linux distributions...As mentioned in the title, I would like to test Fedora on VirtualBox. I watched several tutorials and I did some research on the internet but I only found explanations on how to install Fedora with VirtualBox on Windows and not on Ubuntu... Does anyone know how to install Fedora on VirtualBox with Ubuntu 22.04 as  ...

Score: 0
Steven Lu avatar
adding PPA in a 18.04 docker image references "lunar"
cn flag

I have a need to install gcc-10 inside a very specific very old 18.04 docker image.

What happens is that the gcc-10 package is simply not found by apt.

When using the standard procedure involving add-apt-repository ppa:ubuntu-toolchain-r/test, the output in the offending docker build shows as:

#11 [builder  8/58] RUN add-apt-repository ppa:ubuntu-toolchain-r/test
#11 sha256:986838b1775ab762834c16c4e7b70e3 ...
Score: 3
mark avatar
How to configure Ubuntu terminal to jump/select words on Ctrl(+Shift)+Left and Ctrl(+Shift)+Right?
so flag

I use Windows 11, but I also have Ubuntu running in WSL or when connecting with SSH.

In Windows PowerShell terminal, Ctrl+Left and Ctrl+Right jumps a word to the left or right. Adding the Shift key selects the word to the left or right (e.g. Ctrl+Shift+Left).

In WSL Ubuntu terminal, Ctrl+Left jumps one word to the left and Ctrl+Right one word to the right, but pressing Shift does not select.

In SSH ...

Score: 0
Sebastian avatar
Unsupported filetype error on adding GPG key from keyserver to keyring in one command for APT
dz flag

how can I add a GPG key from a keyserver to a .gpg file for APT with one command.

sudo key-add adv --no-default-keyring --keyring /etc/apt/trusted.gpg.d/osquery.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B

The key(s) in the keyring /etc/apt/trusted.gpg.d/osquery.gpg are ignored as the file has an unsupported filetype.

Score: 0
Flesym avatar
Ubuntu failure to install on Virtual Box VM
sh flag

Started with VirtualBox today, and after downloading the most recent Ubuntu .iso file, I ran the install to my new virtual machine. Everything was going smoothly until the install was nearly complete and it showed an error loading, "linux image," or something to that extend. It ended with what appears to be a terminal screen that I cannot navigate because my cursor disappears on capture. The end line se ...

Score: 2
mitch avatar
Ubuntu 22.04 Disabling Wayland shows blank terminal on startup
in flag

I'm trying to switch my display config from Wayland to Xorg - I need to use screensharing almost everyday for many platforms such as Zoom, Meets and Discord . . .

I have seen the most common solution is to change the gdm3 config file and uncomment the line with Wayland=false

I have tried this solution and the result is that my computer begins to start up then crashes before hitting the login scre ...

Score: 0
threehappypenguins avatar
Boot to USB from Shell?
tr flag

I can't boot into the OS (I'm getting Oh no! Something went wrong.). I can boot into grub (and edit grub to open shell), or boot into recovery and open shell from there. Normally, I would just boot to USB and refresh/reinstall the system, but I can't. It's a 2010 MacBook Pro and it doesn't matter how many times I reset PRAM (option+command+P+R keys), it won't show the USB (I've done this several times b ...

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.