Latest Ubuntu related questions

Score: 0
Deploying Rails 6.1 Application on Ubuntu 20.04 with Apache
cn flag

My stack:

Ubuntu 20.04
Apache
Rails 6.1.2
Ruby 3.0
Webpacker
Puma (in the Gemfile)

Is anyone aware of a tutorial or article on how to set up my Ubuntu server, and the Apache virtual host section, as well as what I need to do on the Ubuntu server to deploy/start my Rails application? I do not want to use Passenger.

Score: 1
Automatically manage swap / memory
bd flag

When filling up all memory and swap my experience the most recent years has been that:

  • Windows and macOS go "oh, let's fix that for you" and then presumably increase the swap size. Opening e.g. 30 YouTube tabs slows things down for a while, but I can generally still use the cursor if I want to abort the process, and after that the rest of the system (not necessarily the offending app) is pretty mu ...

Score: 0
Randall Wigle avatar
Canon MFC Printer (ethernet) discovered but won't print Ubuntu 20.4
ru flag

The status reported is:

Idle - No suitable destination host found by cups-browsed.

Device URI implicitclass://Canon_MF642C_643C_644C_c9_4d_a4_/

Not sure what else is relevant.

Thanks in advance.

Score: 1
123456 avatar
Ubuntu black login screen with diamon characters
gs flag

I tried upgarding an old PC from 18.04.5 to 20.04.2 I never succeeded getting to any kind of installation from the USB stick. But I did manage to destroy probably a lot of things on the way...

Now on startup I can't get to bios settings and I get to a screen like this:

black login screen black login screen

and I can't exit it

I'm not sure if I dont remember my username or it's because the diamonds.. (when it did startu ...

Score: 1
Eric Millington avatar
Black screen after suspend on Ubuntu 21.04
in flag

I've just bought an 'HP 15s-eq1510sa 15.6" AMD Ryzen 5' laptop; obviously my first job was to install Ubuntu Studio over the top of Windows, all was fine until I shut the lid, when I came to reopen it I just got a black screen, this seems to happen 80% of the time but if I'm lucky the screen shows a bit of junk for a second and then works fine and displays the login screen. I've seen this mentioned as a ...

Score: 1
linux-fan avatar
Unable to run/uninstall/reinstall mysql on Ubuntu 20.04
cn flag

After a regular upgrade of Ubuntu 20.04, I was unable to run mysql again. I got this error.

xxx@xxx:/etc/mysql$ mysql  

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I tried various combinations for about 5 hours but none of them worked. I am happy to get rid of the current databases if at all they exist now.

Here is what I get when I try to uni ...

Score: 3
teodor avatar
Wi-Fi & Touchpad ASUS TUF F15 FX506HM
au flag

I am very new to Linux and Ubuntu. I have been a Windows user all my life, and now, I want to switch to Linux as I hope to become a better programmer. I just got a job as a placement software developer and got a brand new laptop, ASUS TUF F15 FX506HM, and I installed Ubuntu from a flash drive. Unfortunately, I can't seem to make my Wi-Fi connection work. Whenever I am entering the Wi-Fi settings I can s ...

Score: 0
user2001 avatar
how do I fix these error ? $'\r': command not found in WSL
gb flag
./jvm/build.sh: line 2: $'\r': command not found
Running JVM build script
./jvm/build.sh: line 4: $'\r': command not found
: invalid optionline 5: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
./jvm/build.sh: line 6: $'\r': command not found
./jvm/build.sh: line 8: $'\r': command not found
./jvm/build.sh: line 28: syntax error: unexpected end of file
Score: 0
wisess avatar
Realtek RTL8852AE issue on HP 15s-eq2028ur Xubuntu 20.04
nl flag

I have issue with wifi connection on my laptop. I followed other same topics but my issue is actualy.

After this $ sudo lspci -k -nn | grep -A 3 -i net I have got

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:a85a]
    DeviceName: Realtek Wireless LAN + BT
    Subsystem: Hewlett-Packard Company Device [103c:88e2]
02:00.0 Non-Volatile memory controller [0108]: KIOXI ...
Score: 0
eeefa avatar
Icon of Gnome Pomodoro does not show up. How do I fix it?
de flag

I've been using gnome-pomodoro already in Ubuntu 21.04 and it worked just fine (sudo apt install gnome-shell-pomodoro). However, I had to reinstall Ubtunu for some unrelated reason and now pomodoro sort of works, but not properly. The pomodoro-window opens and it does it's basic job, but the app-icon in the top right corner is missing. Thus I don't see if it is running (usually I'd run it with the windo ...

Score: 0
Ismael Rodriguez avatar
Low performance with multiple screen scaling
cn flag

I'm using three screen ( 34", 27" and 13"), and each one needs a different scaling. When i adjust its scaling the graphics performance low if it is compared if all screen have the same scaling.

I mean, if i set 1x scaling factor in the 34" screen, 1.5 scaling factor in the 27" screen and 2x factor scaling in the 13", i can work but the performance is lower (with some delays and flickering) than a ...

Score: 0
Thomas avatar
User account not appearing in setting or login screen
ke flag

After a partial upgrade, I was presented with gnome initial setup where I was forced to create a new user. With this new user I noticed the my old user was not gone, it was just not appearing on the list of users I can log in with, or in the system settings.

I did a bit of digging and found, /var/lib/AccountsService/users and my user was set to SystemAccount=true, changing that and logout, made it sh ...

Score: 9
IamKAKE avatar
Why can't I update my Ubuntu from 18.04 to 20.04?
vu flag

I have been an Ubuntu user for at least 10 years. And I've been through a lot of updates. I am currently using 18.04 (18.04.5) on my PC and I was waiting for the popup message saying "a newer version is available", but it never popped up.

So I visited this page and did the process (ran sudo do-release-upgrade -d), but every time I entered the command it said:

Upgrades to the development release are on ...
Score: 0
user3447014 avatar
Can't kill defunct process or its parent. It never goes away
es flag

I have a defunct process that just simply won't go away, no matter what kill command I run. I have referred to What is a <defunct> process, and why doesn't it get killed? and several other articles as well, but this just simply doesn't work.

For example:

┌──(rootdd651bca9e63447)-[~]
└─# ps -ef | grep defunct | grep -v grep | cut -b8-20 | xargs kill -9

┌──(rootdd651bca9e63447)-[~]
â ...
Score: 0
Cant Return to Computer After Suspend, Ubuntu 20.04
sz flag

I had this problem when i installed Ubuntu 20.04, i manage to solve it by installing Ubuntu again , and installing old drivers. Now a couple months later, i suspend my computer and get a black screen after i come back.

uname -a

Linux noblepc 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Nvidia Driver - 460.80 Cant install old drivers , without them get ...

Score: 0
TRmen27 avatar
How do I connect to Ubuntu Server on the local machine from Ubuntu Desktop?
cn flag

Currently I am running an Ubuntu Server and Ubuntu Desktop on a virtual machines in Windows. My goal is to install Snipe-IT and for this I need to make some configurations on the server. But it seems that I am not able to connect to the server machine from the desktop machine. I am fairly new to servers and troubleshooted a lot but editing the sshd_config file didn't word. I try using ssh to login into  ...

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.