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
2
votes
3answers
105 views

dpkg and egrep on Ubuntu 18

Trying to use dpkg and egrep commands to list packages whose names starts with q. Already tried: dpkg -l | egrep -l q dpkg -l | egrep -l ^q dpkg -l | egrep q dpkg -l | grep q What is going wrong?
0
votes
1answer
49 views

Variables behave unexpectedly in while loop

This is a repost of the same question in Bioinformatics (https://bioinformatics.stackexchange.com/questions/10519/how-to-edit-the-headers-of-multiple-fasta-files-from-multiple-folders-recursiv). The ...
-1
votes
1answer
24 views

Fix MBR after installing Windows on Linux partition

I have a server with two disks (each with a single ext4 partition): lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G 0 disk └─sda1 8:1 0 223.6G 0 part / sdb 8:16 ...
0
votes
0answers
22 views

Docker IP forwarding for bridged container with Apache

I am using LAMP image for my DOCKER container and in my apache access.log all of the requests are from same ip address: 172.17.0.1. This is bridge ip. My question is: is there a possibility to forward ...
0
votes
0answers
8 views

Copy & Paste locks up process in KVM virtual machine (Ubuntu) when RStudio is being used

Setup: Fedora 30 with a KVM/qemu virtual machine running Ubuntu 18.04.1. (This setup because I want to run RStudio and on my Fedora 30, it just barfs & dies immediately somewhere in the graphics ...
1
vote
0answers
20 views

Monitoring directory using incron

I am using incron to monitor the file creation event of a directory. It working fine but once for 4 or 5 days its getting freeze. Once it's freeze, it's not monitoring the file creation event. It ...
2
votes
1answer
3k views

Restarting a service remotely with ssh and sudo errors

I am using the following command to try and restart a service ssh username@server "systemctl restart storeapp.service" However I am getting the following error message. Failed to stop storeapp....
3
votes
2answers
160 views

How to rescue Ubuntu Server 16.04 which is getting shut down by systemd script?

I wrote a program which automatically shuts down a Raspberry Pi 3b (Ubuntu Server 16.04) as soon as a button is pressed. It's nothing than a small bash script which reads a GPIO pin of the Pi every ...
30
votes
3answers
32k views

Remmina can't remote into Windows Server

I'm trying to use Remmina on Ubuntu to remote into one of the servers at my work. However, after entering the connection information in I get the following error: "You requested an H264 GFX mode for ...
1
vote
0answers
44 views

Recreating a RAID4 / RAID0 array

At first, there was a RAID0 array, to which I've added a new disk by issuing mdadm --add but when I've done that, the drive started to fail because of the power issues and the array has not started ...
0
votes
1answer
13 views

Ubuntu Core switch WiFi between AP and STA

I’m using Ubuntu Core and I’m new to Snappy. I’m using the snap package “wifi-ap” to enable Access Point. I’m also using “NetworkManager” when I want to use Station mode. I’m struggling to switch ...
1
vote
0answers
17 views

New LCD screen with random black screen

I bought a new LCD screen and my computer's screen goes black for 1 second randomly while using Linux distributions. I was using dual boot having windows 8.1 and Ubuntu. Windows 8.1 worked without any ...
3
votes
1answer
2k views

fcitx fails to start to use

I have installed fcitx to input Chinese method in my ubuntu 16.04 but it fails to start. panda:~$ (WARN-25191 /build/fcitx-PSoVA1/fcitx-4.2.9.1/src/lib/fcitx-config/fcitx-config.c:172) missing value:...
1
vote
0answers
17 views

How to list the packages from 90-updates-available?

The script /etc/update-motd.d/90-updates-available provides a summary of system updates, for example: /etc/update-motd.d/90-updates-available 281 packages can be updated. 209 updates are security ...
0
votes
0answers
43 views

Cannot modify system configuration

why i cannot add user after install vnc and add the polkit? if i remove the polkit i able to add user from console but rdp didn't work. please help. here is the capture: i am using ubuntu 18.04, ...
8
votes
3answers
18k views

How to check from terminal if any GUI installed in UBUNTU

I'm looking for command to check from terminal, is any GUI installed to my UBUNTU. I couldn't find any satisfying answer
0
votes
2answers
27 views

How do I resize this AWS EC2 ubuntu 18 instance from 16GB to 100GB

I need to resize /dev/nvme0n1p1 15G 10G 6G 64% / Filesystem 1G-blocks Used Available Use% Mounted on udev 16G 0G 16G 0% /dev tmpfs 4G ...
0
votes
1answer
27 views

Cannot connect to the Docker daemon at unix:///var/run/docker.sock

Nothing has changed that I know about. Upon running the command: docker ps the shell reports: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? ...
0
votes
0answers
4 views

devices on genymotion cannot be started

when I want to start the device a warning like this appears what should i do to fix this?
0
votes
3answers
2k views

rsyslog seems to have vanished from my system

I'm debugging an issue where I think my server is spamming other servers because it is infected but all my logs stop in august last year, and rsyslog is missing from the system /etc/rsyslog.d still ...
2
votes
1answer
31 views

chrome-gnome-shell fails due to json Python module conflict

Quite recently, the Gnome Shell Integration plugin started failing on both Firefox and Chrome. After some investigation I updated the requests module from pip3 but got another error: File "/usr/...
0
votes
2answers
30 views

Incoming/Outgoing seperation for VPN (hacker protection only)

So I have looked at existing questions and answers, and nothing matches. Very simply all I want is inbound connections to pass through the vpn, and outbound connections to bypass the vpn altogether. ...
0
votes
0answers
26 views

Language doesn't change on Ubuntu

I change the language to Russian or Armenian but when I type it's always in English
1
vote
0answers
20 views

bash script - preventing terminal invocation

I have a bash script that uses zenity to pop up messages rather than output to terminal via echo. How can I prevent a terminal screen popping up? The script is launched by application launcher (....
4
votes
1answer
145 views

Why does Ubuntu resolve the name `_gateway` to the default gateway instead of `gateway`?

When I run the route command, the default gateway resolves to _gateway. I can ping _gateway, which resolves to my default-gateway and replies as such. Why does Ubuntu 18.04 prepend _ to gateway?
0
votes
1answer
23 views

How to copy log of backup activity?

I'm very new to shell scripting and to Linux, and I need help with an assignment. The task is to write a shell script to help user backup their folder/files. But this task also needs us to show what ...
0
votes
3answers
40 views

Text File Generation From Mailing List Following Given Hourly Interval Range

Here's a sequence of email files, output from $ ls --time-style=long-iso -la: 23:12 1570840157.M399816P376041.br472.hostgator.com.br,S=300488,W=304621:2, 23:41 1570840228.M85932P379995.br472....
1
vote
2answers
7k views

Grub not loading config file or booting into linux automatically

I was trying to dual boot elementary os with windows on my laptop (Asus Zenbook UX305). To do that I shrank the windows partition using the windows disk manager, and then used the Elementary installer'...
0
votes
1answer
961 views

Understanding network problem (syslog)

I am running a lubuntu 14.04 server and its always worked well, except for the last couple of days it keeps dropping off the LAN. I am using a couple of powerlink adapters to connect it up as WiFi was ...
1
vote
1answer
2k views

error: disk lvmid/… not found Entering rescue mode

I deleted the partition containing Fedora to install Ubuntu (in Win 10), but after I rebooted I'm getting the following error message: "error: disk 'lvmid/Xe53HM-hHmX-fDKu-BCLf-Oa9w-n4Dt-7f9UdA/WE42Po-...
2
votes
1answer
2k views

No wifi adapter found [dell precision 5530 & ubuntu]

On my laptop I have trouble with wireless networking since I installed linux. Sometimes when I start the laptop (1 of 3 times) my wireless card doesn't work. Wifi option is missing when I click on ...
0
votes
0answers
28 views

Can't use remote server because too many open files in system

I'm running some python programs in the background of a remote Ubuntu machine. The program opens too many files that exceed the system limit. I want to ssh to the remote server now, but I can't ...
0
votes
1answer
1k views

Change Owner From “root” in VMware's Shared Folder

I'm running a Xubuntu from a Windows 8 host. I can't change the owner of shared files from xubuntu by any sudo chown ... command. Is there any other way I can change the owner from the root to the ...
1
vote
1answer
55 views

Network manager goes bad after hot unplugging an external usb wifi adapter

While my Lubuntu 18.04 is connected to a wifi network via an external wifi adapter, I hot unplug the external wifi adapter. Symptoms of the problem: When I plug the external wifi adapter back to my ...
0
votes
2answers
51 views

How to copy files from windows virtual machine to ubuntu host machine?

I have ubuntu installed in my work laptop and windows installed in my virtualbox. I installed windows in virtual machine so that I can download origin games on it. I want to copy those origin game ...
1
vote
0answers
21 views

SSH Fails at “kex_exchange_identification”

I'm trying to connect over ssh to an Ubuntu 18.04 VM running in VMWare on my local machine. Local machine has openssh server up and running. Apple's default ssh binary fails connecting to VMs in ...
1
vote
0answers
20 views

Raise the Elephant not working with Ubuntu 18.04.3 LTS?

I recently upgraded from Ubuntu 16.04 to Ubuntu 18.04.3 LTS. This was not a fresh install, but rather an upgrade. My question regards a keystroke combination that I would use when the browser would ...
1
vote
2answers
1k views

Unable to recognize old interfaces after motherboard update

I updated motherboard on x240 computer node, now the ethernet interfaces show up as eth2 and eth3 previously it was eth0 and eth1. I tried to delete /etc/udev/rules.d/70-persistent-net.rules file but ...
1
vote
1answer
38 views

Ethernet router not working on Ubuntu 18.04 system

I have an Ethernet router that is not working on Ubuntu 18.04. The Ethernet connection did not work on the installation media, so I figure it can’t be the Ubuntu installation. Different ports don’t ...
7
votes
4answers
6k views

Apt-get error : Writing more data than expected (7643558 > 7643216)

I am getting some weird errors with an ubuntu docker container: "Writing more data than expected (7643558 > 7643216)" Retrying the operations succeeded. I got this several times. I am running the ...
0
votes
1answer
34 views

Being 100% sure whether or not there are any encrypted files on the system just by accessing grub during boot

Is there a way to know whether there are ANY encrypted files or directories on an Ubuntu 14 machine running in VirtualBox? The password for the account is lost, therefore I would reset it by booting ...
0
votes
0answers
18 views

How to wield update-alternatives properly?

I was just trying to install vanilla-gnome-desktop by means of apt install vanilla-gnome-desktop ... in order to get a more vanilla GNOME experience than the default on Ubuntu Desktop 18.04. It ...
0
votes
0answers
7 views

How to fetch the source for gcc-arm-linux-gnueabi?

I am on a Ubuntu 18.04 and deb-src lines in sources.list are in place for all the package repos I am using. I installed gcc-arm-linux-gnueabi and got gcc-7-arm-linux-gnueabi and gcc-7-arm-linux-...
0
votes
0answers
48 views

Can I make a laptop access the Internet via another laptop?

I have a laptop with a nonworking internal wifi adapter, and a sometimes not working external wifi adapter (the problem can be solved by restarting its Lubuntu). I can access another laptop which has ...
2
votes
3answers
5k views

rsync with different user

I'm working with two ubuntu instances on AWS (which I use a pem key to access them). I set up rsync for both instances, and it works if I use the default user which is ubuntu@ipaddress. However if I ...
-2
votes
0answers
44 views

Install gcc 9 on debian 9 [on hold]

just a very basic question from a (relative) linux noob: I have a system running on Debian 9, and I would like to get gcc 9 installed there. I found a way to do it, but it took quite some effort and ...
1
vote
2answers
584 views

svn checkout without tags

How to checkout the repository without tags in svn. Created tags in repository. Now whenever client users do svn checkout that tags also downloaded. So I need to svn checkout the repository without ...
0
votes
2answers
2k views

Unable to SSH but able to ping it

I am using Ubuntu 16.04. The problem is I am able to SSH other machines from my system but I am unable to SSH my system from another machine. However, I am able to ping my system from other machines. ...
1
vote
1answer
26 views

Cannot extend partition

I am running out of space on the hard drive I am using for an AWS Ubuntu instance. df -h Filesystem Size Used Avail Use% Mounted on udev 488M 0 488M 0% /dev tmpfs ...
1
vote
2answers
2k views

How to use afl-fuzz (American Fuzzy Lop) with openssl

I am trying to use afl-fuzz with openssl in Ubuntu. A normal usage of afl-fuzz would be: afl-gcc test.c //-- this will produce a.out mkdir testcases echo "Test case here." > testcases/case1 afl-...