Questions tagged as ['18.04']

Seventh LTS (Long Term Support) release of Ubuntu, code-named "Bionic Beaver". Released on April 26, 2018. Will reach End of Standard Support (ESS) in April 2023. Only use this tag for version-specific questions.
Score: 0
dtdas qwf avatar
Cannot install PlayOnLinux - unment dependencies
fr flag

I used the installation instructions on the official website.

sudo apt-get install playonlinux

I got this error message:

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 required packages have not yet been created
or been moved out ...
Score: -1
Pixelated Lagg avatar
Getting rid of a second taskbar
pe flag

linux newbie here.

I recently installed ubuntu 18.04 over windows 10 yesterday, and was trying to make the taskbar somewhat like the windows one. Along the journey I somehow ended up with 2 taskbars and am confused at how I would get rid of it. I have the default one (which I want to keep), and this. I am wondering what extension that gnome has would produce such a taskbar. For some extra information,

Score: 0
Gman063 avatar
Change /var/log/cloud-init.log permissions
eg flag

Trying to change the permissions for /var/log/cloud-init.log to meet STIG compliance. Every time I change them to 0640 and reboot it reverts back to 0644. Spent the last week search for a solution with no luck.

Score: 0
TalkingCatPhotos avatar
Recovering from a failed update
sa flag

strong textI have been running a stable installation of 18.04.02 Desktop for about 30 months. The server wasn't powered on for about 2 weeks so when powered on this morning it went through its automatic security updates. After they had finished I ran the update manager and got these error messages

Evidently the packages are inconsistent. I have checked by running "sudo nano /etc/apt /sources.list ...

Score: 3
unknown avatar
How to update kernel to specific version
eg flag

I would like to upgrade to specific kernel version (5.4.0-81-generic) from following current state on different servers. I would like to use apt package manger to update kernel.

Ubuntu 18.04.3 LTS  4.15.0-55-generic
Ubuntu 18.04 LTS    4.15.0-51-generic
Ubuntu 18.04 LTS    4.15.0-20-generic
Ubuntu 18.04 LTS    4.15.0-106-generic
Ubuntu 18.04 LTS    4.15.0-133-generic
Ubuntu 18.04 LTS    4.15.0-140- ...
Score: 0
Garam Lee avatar
How can I allow access to SSH only at a specific time?
in flag

Based on Ubuntu 18.04,

I want to allow users to access only from 9 a.m. to 5 p.m.(working time) on the SSH server. (used OpenSSH-server package)

I've looked up all the materials I think will help you from user management to PAM settings on Google, but I don't think there's any information to restrict access by SSH time zone.

(But, I have not to use firewall-related services like ufw.)

If you can help ...

Score: 2
Ken avatar
CDDVD drawer opens immediately after closing in ubuntu 18.04
ng flag
Ken

I don't use the internal DVD drive often, but when I used it last night each time I closed the drawer the drawer opens immediately. I thought the drive might have gone bad, but I exactly the same behavior with an external drive as well. Note: I tried the external DVD drive on a different machine running Debian and it doesn't exhibit this behavior.

What I've looked at so far:

sudo setcd -s /dev/sr0

   ...
Score: 0
GQ2022 avatar
Crontab to Restart SQL Server Services ubuntu 18.04
cn flag

please how to add task to crontab

to restart mssql

systemctl restart mssql-server.service
* */1 * * *  systemctl restart mssql-server.service
Score: 1
Ubuntu 18.04 install rtl8821ce 802.11ac PCIe Wireless Network Adapter
in flag

My kernel version is: Linux Speedsters 5.4.0-86-generic #97~18.04.1-Ubuntu SMP Sat Sep 18 03:11:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux And my problem is that I can not find the wifi adaptor after rosdep update. I have followed the instructions online. And their solutions are all stuck at the same place. While I did sudo ./dkms-install.sh or make, errors occurred. Like:

Building module:
cleaning  ...
Score: 0
Yoshi Pat avatar
Ubuntu 18.04 Kernel update to 5.13
cn flag

I am trying to update kernel in Ubuntu 18.04 to 5.13 for having my wifi working? Currently I am seeing that "No WIFI Adapter Found" in settings so I think I would need Mediatek 7961 driver. But from previous posts, I see that updating to kernel 5.13 fixes the problem. When I tried to update I am seeing the following error:

ASUS@ASUS-ROG-Zephyrus:~/Downloads/kernel$ sudo dpkg -i *.deb
[sudo] passwor ...
Score: 0
System Doesn't Recognice External Microphones
de flag

I have a Lenovo IdeaPad 320-15IKB with Ubuntu 18.04. When I try to use any kind of microphones, the system seems to not recognice them.

I tried with wired headphones and bluetooth (both working on other devices) and both appear in "output devices" from Audio Setting, but in input just appear "internal audio" (the mic of the laptop)

I also check on pavucontrol and it's the same as before.

If I write

Score: 2
sid avatar
After installing NVIDIA driver 470, network and bluetooth stop working
id flag
sid

Ubuntu18.04, GPU GeForce 2070S

I upgraded GPU driver from 460 to 470, using commands:

sudo apt-add-repository -r ppa:graphics-drivers/ppa
sudo apt remove nvidia*
sudo apt autoremove
sudo ubuntu-drivers autoinstall

after reboot, no networks and bluetooth ;(

> ping 8.8.8.8
connect: Network is unreachable
> sudo service networking status
● networking.service - Raise network interfaces
   L ...
Score: 0
Theo Jaasp avatar
Nvidia Driver not working on Ubuntu 18.04 ASUS TUD DASH F15 RTX3060
cn flag

After installation of Nvidia drivers on Ubuntu 18.04 the machine does not reboot. Instead of booting it says : hdaudio hdaudioD2: Unable to bind the codec How can I fix this problem?

However I can not fix this problem..

But I noticed I can install ubuntu 20.04 and Nvidia drivers without any problems... But I need it to run with 18.04..

Score: 0
Haidar avatar
How to reset network usage statistics in resource manager app in ubuntu 20.04?
cn flag

I want to reset the statistics of the network usage (they are in the bottom left of the image below i.e. the 2.7 GiB), how to do that?

enter image description here

Score: 2
On Ubuntu 18.04 windows become inaccessible from Dock
fr flag

For example, I can have 2 Chromium windows and I can Alt-Tab between them but there is only one orange dot near the Chromium icon on the dock.

Screenshot

On the screen shot we see 2 shell windows and 2 orange dots near the shell icon on the dock. We also see 2 chromium windows and only ONE orange dot near chromium icon on the dock. Somehow one of the chromium windows is not registered with dock!

Score: 0
Soro avatar
Scripting user account creation and group assignment
cn flag

I have to create a large number of users for a large number of Ubuntu VMs and wrote the following script as a result. This (working) bash script creates multiple sudo users from the USERS array and password field. I have been researching in other threads and across the adduser manual whether or not my process of creating a user, changing the password, and then adding the user to the sudo group is excess ...

Score: 0
TN71 avatar
Gateway between Ethernet and WiFi adapters
cn flag

I'm trying to connect between 3 Ubuntu 18.04 devices (1 Laptop + 2 NVIDIA Jetson Nano) where the 1st Nano acting as the gateway between the 2nd Nano and Laptop.

Currently the 1st Nano have wlan0 10.42.0.1 acting as a WiFi Hotspot (for the Laptop) and eth0 10.42.1.1 Ethernet (for the 2nd Nano) and I can connect between:

[x] 1st Nano <-> Laptop 10.42.0.100

[x] 1st Nano <-> 2nd Nano 10.42.1.100

Score: 0
Theo Jaasp avatar
ASUS TUF DASH F15 RTX3060 not booting after Driver Install
cn flag

My brand new Asus TUF DASH F15 with RTX3060 Laptop stucks on boot after Nvidia Driver Installation. What can cause the problem ?

Score: 0
acmoune avatar
Not booting when inserting HDD in another Dell Latitude E6320 laptop
tv flag

I have a SATA HDD, with Ubuntu 18.04 installed. My former laptop got broken, and I successfully inserted my HDD in a Lenovo laptop.

Now I just got a Dell Latitude E6320 laptop, but when I install my HDD inside, it just hangs on a black window, nothing is happening.

Any idea of what is going on ?

Score: 0
cuneytyvz avatar
Can't login after removing python3 and reinstalling
mm flag

I removed python3 without knowing it might cause problems. Then I reinstalled python3, ubuntu-desktop and gnome in recovery mode and also did package repair. Now i can see the login page but when i enter my password, it reloads the same page and can't login. Also mouse clicks don't work. What should I do to fully recover?

Score: 0
Kracozebr avatar
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. When having 2 gpu on the notebook
de flag

I'm trying to install nvidia drivers for my notebook Lenovo Legion. My GPU is NVIDIA GeForce RTX3060 and the last driver is 470. So I tried different ways to install the driver via downloading the driver (.run) from official NVIDIA site, from Software&Update, installing from terminal. But when try:

nvidia-smi

Got the error:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA ...
Score: 1
makopec avatar
How to reinstall package ubuntu-advantage-tools
de flag

I tried to install FEniCS on Ubuntu 18.04.5 LTS with the following commands (from fenicsproject.org site):

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
sudo apt-get install fenics

The operations completed with an error:

Traceback (most recent call last):<br>
  File "\<string>", line 2, in \<module><br>
M ...
Score: 1
Yoshi Pat avatar
Encountering an error while trying to update the kernel
cn flag

I am trying to update the kernel from 5.4 to 5.14 on Ubuntu 18.04, but I am seeing this dpkg error. Can someone please help with this?

Files under Downloads directory:

linux-headers-5.14.6-051406_5.14.6-051406.202109181232_all.deb
linux-headers-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb
linux-image-unsigned-5.14.6-051406-generic_5.14.6-051406.202109181232_amd64.deb
linux-modules-5.14.6 ...
Score: 0
Joseph Dalton avatar
System shuts off randomly when booting Ubuntu
co flag

I have a C246 mainboard with a Xeon CPU and ECC RAM. Using Ubuntu 20.04, the system randomly shuts off completely, as if power was lost.

At first, I suspected a HW problem. I switched the PSU, I swapped the mainboard (same model) and I ran MemTest to check RAM. The problem can occur when using a USB device (installer) or when installed to a disk. I tried installing Windows and never observed a sh ...

Score: 0
Aravind Viswanathan avatar
How to execute a ConnectAll Application restart script using a cron Job
cn flag

Could you please guide me with the following,

Adding the ConnectAll Application restart script for reference:

#!/bin/sh -e
# JIRA startup script
#chkconfig: 2345 80 05
#description: JIRA

# Define some variables
# Name of app ( JIRA, Confluence, etc )
APP=connectall
APP1=Mule
# Name of the user to run as
USER=root
# Location of application's bin directory
BASE=/mulesoft/connectall/CATomcat/bin
#BASEMu ...
Score: 1
MorganStark47 avatar
nvidia-smi stopped working after installing cuda-toolkit
sa flag

TLDR

I'm trying to get nvidia-smi back up, which was working fine until I installed cuda-toolkit. Uninstalling cuda-toolkit didn't help. How can I restore nvidia-smi output?

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


More details

I've GEFORCE RTX 2070 on my laptop running Ubuntu 18.04 and had successfu ...

Score: 0
Andrew Parsons avatar
Switching to modesetting; Light Display Manager fails to start without Intel driver or xorg.conf.d
cn flag

Goal

I wish to use the modesetting graphics dr-ver instead of the intel graphics dr-ver.


Note

I was only able to get around the automated spam filter by replacing invocations of "driver" with "dr-ver". See this.


Impetus

My current graphics configuration results in two problems:

  • bizarre graphics flickering and artifacting when using three external monitors connected via a Thunderbolt 3 dock
  • the AM ...
Score: 0
Nyi Nyi Lwin avatar
How to copy a file to a pendrive in Ubuntu terminal
au flag

What is the command to copy a file to a pendrive in Ubuntu terminal?

Score: 0
Chris Smallville avatar
Ubuntu 18.04 keep shut down itself and self rebooting after few seconds
cn flag

I have windows 8.1 hp pc, after I installed ubuntu 18.04 , dual boot mode

I faced problem with no grub menu showed itself , boot repair didnt help, bcdedit also didn't help

I'm booting to ubuntu using bios f9 choosing ubuntu from bios devices

When I use ubuntu, it keeps shut down randomly and reboot itself after few seconds , I didnt know how to solve this , and dont know root of the problem

May be it d ...

Score: 1
Ciara avatar
Problems getting a working installation of gsl 2.6
za flag

I need to run some physics software on my laptop, which is very finicky, so I specifically need to use gsl 2.6 (where I normally run I have found this through trial and error).

I run ubuntu-18.04. I had gsl 2.4 installed but could not get it to update further than that. So I went to the gnu website and downloaded 2.7 in the hopes that it would do. I followed the instructions here: https://coral.ise.l ...