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
1answer
14 views

Creating bash script for auto-mailfetching and extraction to a specific location

I'm new to bash scripting and I've read tons of manuals for programs like mutt, procmail, ripmime, and such and still have no clue how to this script or even use these programms properly. If someone ...
0
votes
0answers
18 views

Glob files matching a search pattern and feed as sequential input to python program

I have these directories after "ls": 08-21-resume-numrelblocks3-nqh2-numblocks2-stackonlyFalse-dockimgnegativereward-gpfg-uniformxy 08-22-32-nqh2-alpha-stack1-stack2-numrelblocks3-nqh2-...
0
votes
0answers
13 views

Touchpad and Wireless not working with Lenovo ideapad 330S and 18.04.03

So I've installed Ubuntu 18.04.03 with legacy support because I was having problems while UEFI was enabled. Now I can't get the WiFi nor the touchpad to work. I've updated the Kernel to the most ...
0
votes
3answers
32 views

Uncertainty with Symlinks

I've done a quick search but I can't find anything specific about this scenario: Let's say I have a directory (let's ignore the path) and call it A. Now, I create a symlink to directory A called S. ...
2
votes
1answer
28 views

Cannot mount hdd

So I have a HDD which I have connected with an adapter via usb to my Ubuntu laptop. On connection a sound is made, but the disk is not automatically mounted. After executing fdisk -l I get these ...
0
votes
0answers
10 views

Every time I log in byobu reverts to first window

Updated from ubuntu 16.04 to 19.04. Now when I reattach to my session, it flips me back to the first window. Also curious is that it shows the same buffer of what was there days ago. Example: if i do ...
-2
votes
0answers
28 views

Should I upgrade from Ubuntu 14.04 to 16.04? [on hold]

I am planning to (attempt to) migrate my data to a CentOS 7 server from my current Ubuntu 14.04. Would there be any risk of my website breaking with a server upgrade? Would it be useful for me to ...
0
votes
0answers
15 views

Mate for Jetson Nano

Sorry if a stupid question, but I would like to ask if I install some other distribution (like Ubuntu Mate) to Jetson Nano will I be able to access stuffs like Nano's temperature cat /sys/devices/...
0
votes
2answers
31 views

apt (resilient)

I need to install a package list. The problem is that if a package does not exist in the repository it simply stops. I need some alternative to apt where it just ignores when a package is not in the ...
0
votes
0answers
14 views

Bonjour/Zeroconf not working properly on Ubuntu 18.04

I have a raspberry pi (Raspian) running a nodejs http page. The pi has a hostname and uses Avahi to advertise it. I have the Bonjour service running on my Windows PC and I can access the page just ...
0
votes
0answers
25 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
28 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
31 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
9 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
20 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
29 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
44 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
10 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
22 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
20 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
45 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
14 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
2 views

Ubuntu 18. Sound disappeared

I have a problem with sound on Ubuntu 18.04.3 LTS, with KDE. Sound disappeared completely. My sound devices in tray disappeared and "Dummy output" has appeared instead. I tried everything I was able ...
0
votes
0answers
20 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
30 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
1answer
30 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
17 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....
4
votes
1answer
127 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 ...
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
51 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
61 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
27 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
18 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
26 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 ...