Questions tagged [ubuntu]

Please don't use this tag just because your system is running Ubuntu. Use it _only_ if your question is somehow specific to Ubuntu only. Note that https://askubuntu.com is specifically dedicated to Ubuntu questions.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Ubuntu 18.04: unbound seems to stop working after a period of time

I set up pi-hole with unbound on my ubuntu 18.04 machine. I followed the instructions by pi-hole[1]. Clients can reach websites with this method but after some time I get timeouts. Pihole is still ...
0
votes
0answers
22 views

Ubuntu 18.4 not showing full amount of RAM

I have an threadripper system with 16gb of RAM installed. BIOS shows both 8gb sticks of RAM. dmidecode shows both sticks but free -m and top are only showing 7899mb of available memory. root@...
1
vote
2answers
24 views

Start GDM (gnome display manager) session via SSH without root

Is there a way to remotely start a GNOME session without root via SSH? Background I am trying to access the CD drive (/dev/cdrom -> /dev/sr0) of a remote machine via SSH. Remote machine is ...
0
votes
0answers
7 views

ovs-vsctl: Error detected while setting up 'eoip_if'. See ovs-vswitchd log for details

I have a namespace ns1, inside this i run a eoip script which create a interface eoip_if. I also have a ovs-bridge br0 which is in default namespace. When i try adding the 'eoip_if' interface as a ...
1
vote
0answers
18 views

xdotool and new terminal windows

I recently discovered the amazing xdotool command and was going to make a bash-script to open four windows, resize, and reposition them for work. Before, I could use the command xdotool key ctrl+...
1
vote
0answers
27 views

How can/should I kill masscan process

I host a small Ubuntu server with DigitalOcean and recently realized a guest user was compromised. I have been trying to cleanup up my server to stop future attacks and have come across a process ...
0
votes
0answers
18 views

Configure an EFI boot menu for multiple Linux distros on an external SSD? (MacBook Pro)

I’m recently new to Linux but coming from a macOS background, I like the look and feel of Linux and it’s very powerful. I bought an external SSD and installed Kali for a career in pentesting (via ...
0
votes
3answers
40 views

Why can't /dev/sd** be accessible without mounting?

I've been reading other questions and answers, but none have shown me exactly why mounting is absolutely necessary. They say the drive needs a mounted directory for association with the physical drive,...
0
votes
1answer
22 views

How do I update “/etc/fstab” for a usb card-reader?

I inputted a partitioning standard, msdos, and got a message: you may need to update "/etc/fstab". My usb card-reader will not mount now. "lsblk" shows sdb/sdb1, but sdb/sdb1 will not mount. Appears ...
0
votes
1answer
7 views

Gnome 3 : How do I create a launcher in the dock?

First of all, I saw this question and all the others with similar answer and it does not seem to work for me. I use Ubuntu 19.04 and GNOME 3.32.1 I downloaded Postman (a code testing tool) and I want ...
0
votes
2answers
21 views

Restart application after crash

I have some application (net core 2.1 app) which I run like this: nohup dotnet publish/TestApp.dll This application crashes sometimes, and I need to restart it when that happens. What do I need to ...
0
votes
0answers
16 views

Windows to Ubuntu Ethernet Connection

My windows 10 laptop is able to connect to wifi, and I want to use an ethernet connection so my ubuntu computer (18.04) can siphon off the internet. I tried to use this and this. Neither worked and I ...
0
votes
0answers
19 views

how to gracefully handle rsync failing, sometimes, to correctly read a directory?

Running Ubuntu 16.04 LTS fully updated on remote webserver Running rsync 3.1.1 on remote webserver I have a fairly simple setup where I allow some users to manage a set of publicly accessible files. ...
0
votes
1answer
10 views

trouble with byobu custom status

I'm trying to add nVidia GPU utilization to my byobu-tmux status line. I've installed gpustat which returns ~$ gpustat myhost Mon Aug 19 17:26:51 2019 410.48 [0] GeForce GTX 1080 Ti ...
0
votes
0answers
26 views

Using subset in sed for replace with regex

Well consider some data that looks like "2019-12-12 00:00:01","2012-01-01 01:01:01" I wish to replace it so they are valid datetime json values: "2019-12-12T00:00:01+01","2012-01-01T01:01:01+01" I ...
1
vote
0answers
18 views

Can't get to GRUB bootloader

I am trying to get to the recovery mode through the grub bootloader but cannot get in because I have a very fast m.2 and load too fast. Is there any command I can use to boot into recovery mode?
1
vote
1answer
30 views

uncommenting text with sed is not working [duplicate]

I'm trying to uncomment a 4 line section in an (nginx config) file. Using sed. I first tried with grep and the regexp seems to be correct: $ grep ^#.*bny /etc/nginx/sites-enabled/default # ...
0
votes
1answer
41 views

Is SSH enabled on a minimal ubuntu server installation?

I recently bought an APU2 machine from PC Engines and installed Ubuntu 18.04 on it. The APU2 has no graphics output and I had to modify the netboot ubuntu installation to redirect the graphics output ...
0
votes
0answers
11 views

Problem with wine 4 on Ubuntu 18.04 ( libc6 and dxvk, cannot install, broken packages)

Wine 4 requires libc6 and dxvk, but I can't install them. The following packages have unmet dependencies: wine-staging-i386:i386 : Depends: libc6:i386 (>= 2.29) but 2.27-3ubuntu1 is to be ...
0
votes
0answers
19 views

Keeps terminating while using screen with running run.sh file

I'm a newbie on using screen. I'm trying to run my run.sh file from a docker container with screen command. However, it keeps automatically terminating when I typed the below command. screen -S ...
0
votes
0answers
27 views

Is it possible to output sound to speakers over hdmi?

I have a sound bar (Yamaha YAS-107) which has two hdmi ports, described in the manual as follows: HDMI IN jack For connecting an HDMI-compatible playback device such as a BD/DVD player, a ...
0
votes
0answers
10 views

cuda has unmet dependencies but --fix broken install does not help

OS is ubuntu 18.04 This problem has originated from trying to install QGIS. Or I should say reinstalling QGIS, as I have had this package installed before. Somehow it got broken. When I try to ...
0
votes
0answers
27 views

Suspicion one drive is faulty in zpool, but showing four?

I have a server that I am running for myself and my friends. We host games using Ubuntu 18.04 LTS Server on the primary boot drive, and use a RAIDZ2 pool for storing backups of those games, our music, ...
1
vote
0answers
16 views

Processor frequency stuck at minimum despite using performance governor. Kernel and hardware disagree on the frequency?

I am using a MacBook Retina with four processor cores on Linux (Ubuntu 18.04): $ grep -E '^model name|^cpu MHz' /proc/cpuinfo model name : Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz cpu MHz : 799....
1
vote
0answers
62 views
+50

Dual screen alignment problems on Ubuntu MATE 18.04 (images provided)

I have been trying to get two screens with different resolutions to work in the configuration shown in the images below. Plain Ubuntu had no problems making them play well together, yet on my new ...
1
vote
1answer
27 views

WSL distro disappeared after running history | script

I have a Windows Subsystem Linux installation (the distro is Ubuntu). I use it to build a Rails project and deploy branches to the server. Things worked OK for the last year. Today I accidentally run ...
0
votes
0answers
9 views

I am trying to setup Grails 4 in IntelliJ Ultimate in Ubuntu 19.04, but I don't know how. These are things I have completed/tried:

I use SDK manager to install Grails using this command: sdk install grails And I launched IntelliJ, selected Grails for the new project. Selected Java version 11.0.4 as Project SDK Selected /home/...
0
votes
0answers
22 views

Find a list of files that can be copy and pasted into command line [duplicate]

find . -iname "08-17*" -maxdepth 1 I get: ./08-17/1 ./08-17/2 ./08-17/3 I have a python program that takes in directory names as positional arguments. How can I have a nice workflow where I can ...
0
votes
0answers
50 views

Linux usb wifi adapter not working - rtl88x2bu

I recently got Linux installed on my laptop and noticed that I couldn't get wifi connection because "No wifi adapters found", and so I bought a USB wifi adapter online(here). I looked online for ...
-1
votes
1answer
19 views

nginx blocks port even when stopped

after a service nginx stop I checked for ports 80: ps ax | grep nginx 898 ? Ss 0:00 runsv nginx 943 ? S 0:00 svlogd -tt /var/log/gitlab/nginx 4063 pts/0 S+ 0:00 ...
0
votes
0answers
20 views

How to enable the Wi-Fi network adapter “Intel AC 3168 ” in Ubuntu 19.04 when secure boot is enabled?

I have dual boot of Windows 10 and ubuntu 19.04. My Wifi icon is missing in ubuntu if I boot with Secure Boot enabled.But it works perfectly if it is disabled. In case of windows Wifi works perfectly ...
0
votes
0answers
18 views

Random short CPU spikes and short PC freeze

I am having problems with Linux on my PC. I am facing issues with CPU usage I believe. The issue persists with short CPU spikes causing my PC to freeze for short periods of time, around 1 second. And ...
2
votes
1answer
57 views

Failing to untar

I am dealing with transferring large files from one machine to another (600GB+) and I'm tarring them up using tar -cpvzf file.tar.gz -C PATH_TO_DIR DIR Once finished with the tarring process, the ...
0
votes
1answer
26 views

What is the correct way of installing virtualenv for Python?

What is the correct way of installing virtualenv for Python? Should I do sudo apt-get install python3-virtualenv or pip3 install virtualenv? I'm using Ubuntu 19.04.
-1
votes
1answer
29 views

why these dependency error while sudo apt upgrade?

tsheri@DESKTOP-9BSR0SP:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. ...
-1
votes
0answers
22 views

Loops not working in bash when bash script is run with sudo on Ubuntu [duplicate]

I have a very basic script that uses a loop to count to 20: test.sh: for i in {1..20} do echo $i sleep 1 done When I run "./test.sh" on Mac and Ubuntu, it counts to 20 as expected. when I ...
-2
votes
0answers
12 views

Change windows partition from /dev/sda4 old HDD to /dev/sdb4 new SSD contains Windows 10 in GRUB

I had my old HDD dual booted with windows and Ubuntu 18, I recently migrated the windows to the new SSD, but I want the Ubuntu to be in the old hdd, how to change the windows boot loader location to ...
1
vote
0answers
17 views

How can I install texlive-humanities to Ubuntu 19.04

I tried to install texlive-humanitiesto Ubuntu 19.04 but it looks like there is problems with broken packages. How can I solve this issue? (base) jaakko@jaakko-GL553VW:~/Desktop$ sudo apt install ...
1
vote
1answer
25 views

How to install LaTeX package linguex to Ubuntu?

I would like to write a latex document that contains numbered sentences. I was suggested to use package linguex at https://tex.stackexchange.com/a/504304. How can I install it to Ubuntu?
2
votes
0answers
25 views

Nvidia settings only opens a small blank window [migrated]

I am trying to get Nvidia drivers to work, however when I open Nvidia settings only a small blank window opens (shown in the screenshot along with the output from nvidia-smi command). I have ...
0
votes
1answer
40 views

Kensington SD I/O Read Error, not recognised on Ubuntu 19.04?

I have two Kensington SD cards that will not be recognised on my ubuntu 19.04 OS. They are definitely working though, when I plug them into my windows 10 computer they register. I also have an old ...
0
votes
0answers
9 views

Why does acpi_listen show different events for gnome-session vs i3?

When I run acpi_listen while running gnome-session or ubuntu-session, and press the Brightness Up/Down keys on the keyboard, I get output like this: video/brightnessdown BRTDN 00000087 00000000 video/...
-2
votes
0answers
32 views

I replaced my motherboard and now Ubuntu won't load for me

I even tried to reinstall Ubuntu but "Error parsing PCC subspaces from PCCT" appears. I have tried so many things by googling, including deleting the partition that contain all of the Ubuntu data. ...
0
votes
0answers
21 views

How to repair qt5

I keep getting the following errors whenever I try to start the KDE environment on my Ubuntu 19.04 install: ksplashqml: /usr/local/lib/libQt5Gui.so.5: no version information (required by ksplashqml) ...
2
votes
1answer
40 views

How to properly make custom zsh completions “just work”?

Please forgive me if I'm doing something stupid here, the documentation is huge and searching didn't turn up anything yet. I'm trying to create shell completions for my custom script called fab. For ...
-4
votes
1answer
26 views

regarding installation of Git

I was working on Ubuntu 16.04.2 version where I had used "sudo apt install git" The error I am getting is the following: /root/Downloads/Screenshot from 2019-08-14 12-16-43(1).png
0
votes
0answers
16 views

Jupyter notebook is not opening

I am using this command to install jupyter: sudo jupyter notebook --allow-root But is showing xdg-open: no method available for opening 'file:///home/souvik/.local/share/jupyter/runtime/nbserver-...
0
votes
0answers
12 views

Timed out waiting for device dev-mapper-home/user.device

I have installed LVM on a free partition I had and did the following to create home directories on the Volume group: sudo pvcreate /dev/sda3 sudo vgcreate home /dev/sda3 sudo lvcreate -L 100G -n ...
-1
votes
1answer
38 views

Why I get permission denied output why I run, pkexec /opt/lampp/manager-linux-x64.run ? Is it normal?

I was following a link to add Xampp server in "Show all application" section where normally we can see all GUI apps installed. But it's different in case of Xampp. We have to do things manually. So ...
1
vote
1answer
25 views

Adding tags to mp3s for use in music players [duplicate]

I'm hoping this is the correct place to ask. Basically, I'm using cmus and have a little bash script to automate downloading, renaming and moving a mp3. However, cmus just lists the song name as ...