Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
3 views

qmicli & Mobile Virtual Network Operators

I am currently working on a project involving some Sierra Wireless LTE modems which expose a QMI interface. I am using qmicli 1.16.2 on Ubuntu Server 16.04 LTS. In order to get the modem to connect ...
0
votes
1answer
21 views

How to pass parameter (= path with * ) to bash script

can anyone here tell me why the * is not passed to the bash shell script? My script named as top40 is #!/bin/bash sudo du -shx $1 | sort -rh | head -n 40 when I try to run it as top40 /var/* the *...
0
votes
0answers
5 views

How to enable redis service in Ubuntu 14.04

I am trying to write an ansible role for redis stand-alone server installation. I downloaded the tarball from redis repo, extracted it and ran make commands to install it. Then I made changes in ...
0
votes
0answers
33 views

How to send input to process' STDIN from terminal without sending EOF?

I'm studying computer science and doing security exercises at https://ctf101.org/ and exploit exercises in my free time. I want to send input to a program's STDIN (i.e. the payload below) in a format-...
0
votes
1answer
61 views

ssh asking for a password but not accepting it

I'm trying to scp through a virtual machine but when the guest terminal asks for my host user password it simply does not accept my real user password. Is the machine asking for another entry? The ...
0
votes
0answers
18 views

Ubuntu 18.04 and 18.10 doesnt detect external monitors

Since Ubuntu 18.04.2 my laptop (Aero 15x) doesnt detect my external monitors anymore. 18.04 detected them just fine. I tried updating to newest ubuntu (18.10) but they still dont seem to be detected. ...
0
votes
0answers
24 views

systemd service stop always fails

I am converting our service startup script from SysV to systemd. Our "service" is a java server running in Netty. To start the service, in the unit file I have something like: [Service] ...
0
votes
0answers
15 views

Genymotion unable to start because of VBoxManage error?

I installed VirtualBox and Genymotion on Ubuntu 18.04 But, when I run Genymotion it starts to boot and it shows me that it's not able to find VirtualBox, but looking at logs this fails: 2019-03-...
3
votes
1answer
51 views

Why does a systemd unit file at `/usr/lib/systemd/system/` still works for Ubuntu?

I understand that systemd stores unit files at different locations for different versions of Linux. On RHEL, it's at /usr/lib/systemd/system/, whereas on Debian-based machines it's at /lib/systemd/...
0
votes
0answers
31 views

“sudo -i -u user_name” command, can someone detail on it? [on hold]

I know what I do with this command, I kind of understand how it works and so on, but it feels uncomfortable to use a command and not fully and truly understand it
0
votes
0answers
24 views

Is it possible to keep some program running outside screen locking?

Is it possible to keep some program running outside screen locking? For example, some keys on my keyboard are not good to use, making it difficult to type password to unlock screen. so I want to keep ...
0
votes
1answer
20 views

How to keep track of installed software/sys configuration in linux that I can restore after a fresh linux install?

I have been thinking of writing some sort of utility for Linux that keeps track of all my installed software and configuration. Something that after doing a fresh install I can just run it and will ...
0
votes
0answers
8 views

Define <Super>C to copy etc

I am running Ubuntu 18.04 I am trying to remap the default Ubuntu shortcut of Ctrl+C to be Super+C, as well as paste, cut, select all, undo, and redo. I DO NOT want to just change Ctrl to be Super ...
0
votes
0answers
16 views

How can I determine the size of historical apt-get updates?

I'm trying to understand how much raw data one of my Ubuntu 18.x boxes consumes due to updates. Is there a log that can tell me? I see that there's package names in /var/log/dpkg.log but I don't see ...
0
votes
2answers
58 views

Writing to a file horizontally

I have a script that I want to run and then write the output to a file in a specific format Currently when I run the script and direct it to standard output it gives it to me in the format I want. The ...
0
votes
1answer
13 views

Dnsmasq/Ubuntu “NoDHCP or proxyDHCP offers were received”

I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell ...
2
votes
1answer
31 views

Can't login anymore onto my Ubuntu server

I've tried to change the shell for my root user. When I login now with my no-rights user and try to switch to my root users with su root -> password, the login fails because of this message: ...
-2
votes
0answers
13 views

Why apache don't recognize that path /var/www/html/domain.com/main_site/public?

Why apache don't recognize that path, but hes can recognize that path: /var/www/html/domain.com/public/ What's the point? It's always give me an 403 forbidden error or error 500, even IF all config ...
1
vote
0answers
6 views

How to ensure if multipath discovery is complete?

On my machine, the multipath discovery takes random amount of time to discover and map all the disks under /dev/mapper directory. The number of disks to be discovered is not constant. How to ensure ...
0
votes
0answers
28 views

Ubuntu 18.04 intel vga hdmi not listed

I have a Lenovo Y530 laptop running Ubuntu 18.04 with Intel graphics and nvidia. When I use nvidia everything is just fine. I can use external monitor and xrandr detects it. When I use Intel I ...
0
votes
1answer
14 views

can't find one of my hard drives on newly installed linux mint

I just installed linux mint alongside windows and I can't seem to find one of the 3 hard drives. Two of them (sda and sdc) are available under /media/<username>/<drivename> , but the third ...
0
votes
0answers
13 views

How to enable connection to SSH tunnel from network (Ubuntu 18.04 LTS)

I have a reverse SSH tunnel set up that is tunneling into my server. The remote servers web page can then be accessed via localhost:8080 on my server (just tested via curl). I want to make this ...
2
votes
1answer
56 views

Ubuntu Wifi Problems (No adapter found)

So I just installed minimal Ubuntu 18.04 on a Lenovo Legion Y720 to start using it as a daily driver, but WiFi fails to connect to the Internet despite having enabled Wireless LAN in BIOS/Setup. ...
1
vote
1answer
46 views

E: unable to locate package airmon-ng [on hold]

I've been using chromebook with Chrome OS and I installed Ubuntu with this tutorial ( https://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343 ), and now when I want ...
0
votes
0answers
18 views

error: Regular expressions are not functional, you need g++ 4.9.0 or greater

When I install the stacks in my Ubuntu 16.04: ... checking for sqrt... no checking for functional regular expressions... configure: error: Regular expressions are not functional, you need g++ 4.9.0 ...
-1
votes
0answers
16 views

Install Ubuntu as a second operating system [on hold]

I am trying to install Ubuntu on my drive as a second operating system, so I setup my usb drive to be bootable so I can install linux. Now I got boot error message and I can not start windows or ...
0
votes
0answers
17 views

the command don't run in crontab [duplicate]

hi I have problem with runnig this command in crontab mysqldump --defaults-extra-file=/var/www/xxxx/backup/database/.sqlpwd dbName > /var/www/xxxx/backup/database/database-dump-"$(date '+%F').sql"...
0
votes
0answers
22 views

CTRL, ALT & ALTGR dead on Fujitsu Celcius H770 with Linux Mint 19 Tara

My CTRL-L, CTRL-R, ALT, ALTGR and numpad keys don't work anymore. The German layout keyboard was fully functional after installation, but the keys got lost after some reboots. I had problems with the ...
0
votes
0answers
5 views

uArm movement through python 3

import pyuf import time from time import sleep from pyfirmata import Arduino from uf.wrapper.swift_api import SwiftAPI swift=SwiftAPI() port = '/dev/ttyUSB0' board = Arduino(port) swift.set_position(x=...
0
votes
0answers
9 views

About the use of sshfs between multiple servers

For now, I can use ssh -p 2222 username@ip1 to login in a jumpserver, which will have an option to login in target server with ip2 by 1) Enter ID directly login or enter part IP, Hostname, Comment ...
1
vote
0answers
17 views

How do I build the mainline kernel with all default Ubuntu modules?

My normal way of building a mainline kernel has been: $ sudo apt build-dep linux $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ cd linux $ make localmodconfig $ make -...
-1
votes
0answers
29 views

Script that runs forever based off a service [on hold]

Right now I have a PHP script that I run through a localhost website constantly. This PHP script monitors changes made across various websites. Any changes made are dependent made on these websites ...
1
vote
1answer
18 views

Is it possible to view the bytes I sent over a network connection?

I'm on Ubuntu 18.04. I'm debugging an application that communicates with a remote server and I'd like to be able to directly view the bytes sent from my machine (rather than relying on debug output). ...
0
votes
0answers
26 views

Routing outgoing traffic between two NIC

I'm looking for a solution to proxify all the outgoing connections through several network interfaces so that they would appear to come from different IP's and I'm using Ubuntu 18.04 EC2's. What I ...
0
votes
0answers
13 views

Python using deb em package and not pip empy

So I’m running ROS melodic and while running catkin_make I get an error in package conflict. Long story short, I want to use pip‘s empy package instead of em package, but the em package is loaded from ...
0
votes
0answers
22 views

Backup configuration for Ubuntu Server

How can I make a restore point for a Ubuntu Server 18.04? I have a clean install of the Ubuntu Server OS and before installing any Web Server I want to perform a backup and if something goes wrong ...
-2
votes
0answers
46 views

Are the update and upgrade mechanisms of debian stable/testing/unstable similar to Lubuntu LTS? [closed]

I am using Lubuntu 18.04 LTS, and thinking about switching to Debian + LXDE. I am an OS user and may be an occasional programmer of applications. I am wondering whether to choose Debian stable, test ...
-1
votes
0answers
22 views

services on host no longer reacheable from outside, after adding bridge

before adding the bridge, different http services were reachable from other hosts. After adding the bridge, only ssh is reachable from other hosts. All other services are only reachable from the host ...
1
vote
0answers
23 views

How to get CPU “load” of subset of CPU cores?

In my environment, each job is assigned (cpuset) to a subset of CPU cores, almost exclusively. (Actually, it's done by Slurm.) Since the CPU core occupation is exclusive, can I get/calculate the 1-...
0
votes
1answer
42 views

Ubuntu installation Error 15 file not found

For some reason the existing operating system (Fedora is giving kernel panic error) so I decided to install Ubuntu 16.04.5 LTS desktop version. When I boot from a bootable USB it just shows 2 options (...
-2
votes
0answers
15 views

Linux Startup Script Errors

I am trying to make a startup script, but when I run top, I don't see it running. Here is my startup script: #!/bin/bash # /etc/init.d/mystartupscript.sh cd /home/ubuntu/gvite tmux new "sudo ./gvite" ...
0
votes
1answer
28 views

Export text file by some terms

I have in.txt file with over 10000 line, some text in this file between bract like ( this text ) and the text out the bract not export, i want to export all text between ( ) to out.txt, but provided ...
0
votes
0answers
14 views

Dell poweredge running ubuntu server, redundant interfaces

I have an ubuntu server 18.04 with redundant internet interfaces. As of now my ifconfig looks like this: eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.150 ...
0
votes
0answers
24 views

How can I copy sparse files from a ext4 file system to an exfat file system and keep the apparent size?

My issue is that I am trying to copy files from my Ubuntu linux system which uses a ext4 file system to a Sandisk 1TB USB card, which uses an exFat system. In the ext4 system, the entire directory ...
0
votes
0answers
23 views

ERROR: GC Allocation Failure - how to fix this? [closed]

Installed atlassian-jira-software-8.0.2, after added big swap file it is working now, but I getting this error: # cat atlassian-jira-gc-2019-03-16_11-00-05.log.0.current Java HotSpot(TM) 64-Bit ...
0
votes
0answers
29 views

ffmpeg black screen recording

When I record my desktop or recording video with ffmpeg it generates a black video. My operating system is Ubuntu 18:04 bionic kernel 4.16 Here is the command I'm using : ffmpeg -f x11grab -s ...
1
vote
0answers
15 views

System statistics from different utilities don't agree

I am running an Aliyun instance with 8 vCPUs to do some high performance computing, so I want to make full use of the machine. In other words, extremely high CPU usage is not a problem; instead it is ...
0
votes
2answers
183 views

Installing Linux on 2018 Mac Mini [closed]

I have the new late 2018 Mac Mini and want to use as an Ubuntu Server. There is a plethora of contradicting posts on the Internet related to the T2 Chip, some saying its not possible and some say it ...
0
votes
1answer
49 views

Building in different linux-based OS

I'm not experienced in C, qt and cmake. I spent last 10 hours trying to build this project: https://github.com/moonlight-stream/moonlight-qt May main goal is to build it myself and run it on Ubuntu. ...
2
votes
3answers
91 views

Who turned on my Ubuntu box?

I have turned off my Ubuntu PC with sudo poweroff. After several days I found it is running back. How to know, which event turned it on? Computer has no keyboard and mouse attached, and power button ...