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
5 views

Embedding in iframe web-application at a port on another application in the same server

I have an application at say port 5000 which can render embedded iframes. https://host-public-ip:5000/ I have a second application on say port 6000. I would like to embed this page in an iframe in ...
0
votes
0answers
6 views

Is it possilbe to add custom buttons to any window on ubuntu 18.x (Gnome)?

Using the dconf editor I'm able to remove or reorder the windows title bar buttons Ex: :menu,minimize,maximize,close Is the any property or value to add my custom button apart from these, so that I ...
1
vote
2answers
15 views

GRUB still seeing Ubuntu after formatting in Kali installation. How to proper configure boot?

I recently formatted my Ubuntu hard disk to install Kali on it. I formatted the entire hard disk through the Kali installation process. Now, my pc boots to "GNU GRUB Version 2.02" with "grub>" command ...
0
votes
0answers
6 views

Find path to Shared folder on Ubuntu on VMware Fusion running windows 10

I like using Linux, so I am using Ubuntu on VMware Fusion. Is there a special command or tool I have to install just to navigate to Shared Folders(\\vmware-host)(Z:)??? I can cd into the Local Dish (...
0
votes
0answers
7 views

Is it possible to change desktop envroinment if it's already installed? [migrated]

I just installed my first Ubuntu, but Gnome is too heavy for my PC and I don't like it much. Is there a way I can put XFCE instead, without having to repeat the OS installation process?
0
votes
0answers
14 views

Linux command to decompress the files in directories and add them back to one archive

Is there a way to decompress gz files in the directory, sub-directory and then add them back to a new gz archive with the same directory and sub-directory structures. There are more than 8k files and ...
4
votes
3answers
344 views

How do I disable login of user?

I made a user once with the --disabled-login command. I then had to change the password so I could login to the user and test some stuff. I do now want to disable the login again, and I saw this post: ...
0
votes
1answer
26 views

Different behavior between running command with sudo or directly as superuser - PATH is same

I'm trying to install eclipse on xubuntu, I installed java with sudo gdebi <java-package>.deb, I added it to the /etc/environment to both PATH and "JAVA_HOME" then reloaded the environment and ...
0
votes
2answers
20 views

ssh installed but I get the error: Failed to start ssh.service: Unit ssh.service not found

I have ssh and openconnect installed but when I proceed to start or stop the ssh service, I get the following error: Failed to start ssh.service: Unit ssh.service not found. Also, when I try sudo ...
0
votes
1answer
6 views

SMB Not Able to Use Date Command Substitution

smbclient //10.10.101.29/it -W WORKGROUP -U user --password pass -c 'put ./file_$(date +%Y_%m_%d).file ./folder/file_$(date +%Y_%m_%d).file' The above does not work & gives me an error stating: ....
0
votes
0answers
10 views

Unable to mount RAID4 volume in Ubuntu 19.04

Had to move an disk set containing a RAID5 from one server to another. Installed the drives and they spun up. #mdadm --detail /dev/md0 shows the following information: Version : 1.2 ...
2
votes
0answers
27 views

Can't boot Ubuntu 19.04 or Ubuntu19.04 LiveUSB after enrolling MOK [on hold]

(I've asked this question on AskUbuntu with no response after 4 days.) Before showing GRUB, it shows Unable to trigger tcg2 final events table: Invalid Parameter Something has gone seriously ...
0
votes
1answer
16 views

Is it possible to recover overwritten files from another operating System on the current operating system?

On my PC I had 2 operating sytems (ubuntu and windows) and for about 5 days I wanted to reinstall my Windows OS because of some bugs but instead of installing it on the partition where my old version ...
0
votes
0answers
8 views

lsyncd - How to upgrade lsyncd from 2.1.5 to 2.2.3 version

How to upgrade lsyncd from 2.1.5 to 2.2.3 version using the command prompt. Or how to install lsyncd 2.2.3. Does have any idea about this upgrade?
0
votes
0answers
9 views

How to show boot logo only by grub2 theme in Ubuntu 18.04 server kiosk mode?

I need to show our production logo on an ubuntu 18.04 server in kiosk mode. Because the kernel must be booted in text mode with framebuffer disabled, I try to edit a grub theme to show logo png image. ...
0
votes
0answers
11 views

fail2ban unexpectedly “starts” causing duplicate iptables entries and flushlogs running at 99% cpu

I've recently configured a Ubuntu16 server and I'm getting "fail2ban started" emails sent again even though the server did not restart. I noticed this has happened twice, both times the emails came in ...
1
vote
1answer
25 views

startx not automatically running on reboot

When starting up by machine, I am prompted with a terminal asking me to login, rather than the nice GUI that I am use to. When I login in, I am able to run startx and everything works smoothly. I ...
1
vote
1answer
12 views

VirtualBox 6.0.8 menu text small in Ubuntu 16.04; All other programs good. Guest boxes good

I was running Virtual Box 5.2.22 under Ubuntu 16.04. After my employer updated the kernel, VB ceased to work (kernel modules). After following the instructions provided by the error message, I ...
0
votes
0answers
16 views

Gnome-keyring: “Automatically unlock this key whenever I'm logged in”

I don't seem to have the option to "automatically unlock this key whenever I'm logged in" when trying to SSH into another computer. This is a screenshot of my prompt: This is an example I found on ...
1
vote
1answer
25 views

Restricting a user to a certain directory on SSH login

I am having trouble restricting a user to a fixed directory when they connect with SSH I want the user restricted to /var/www/home however I connected myself and they are free to move about the ...
0
votes
0answers
8 views

Mismatch in USB devices listed by lsusb and sys filesystem

I work on a Ubuntu 18.04 LTS PC. I have a need to find out the USB device name that matches a particular USB device ID. When I run the lsusb command to list USB device interfaces, here is the output I ...
2
votes
0answers
27 views

Pmem and huge pages

In my Ubuntu 18.04 Intel system, there are 356gb of DDR. Out of this memory, 300gb, are pre-allocated using the pmem mechanism (since we have an external HW that sends us contiguous data chunks of ...
1
vote
1answer
10 views

Disabling a key in Ubuntu 18.04.2 which doesn't show in keyboard panel

I have a problem that when I'm pressing Alt+Shift (both right and left) Ubuntu changes the language... I want to disable the shortcut of changing a language in my Ubuntu 18.04.2 LTS , but I don't see ...
0
votes
0answers
27 views

lsyncd - How to include specific directories and exclude rest of all directories

I want to include some of the directories in lsyncd process and exclude rest of all directory. I have so many directories in a multisource directory. I want to include only temp and temp1 directory ...
0
votes
1answer
20 views

Ubuntu - Can't execute binaries unless they reside in /var/lib/php/session/

I noticed this weird issue in a Ubuntu 18.04 (Bionic Beaver) box and a couple of other Debian-based systems -- I will take statically linked netcat binary (a unix networking tool) for the sake of ...
2
votes
0answers
22 views

dd copied UUID - How to make GRUB2 find the correct partition?

Using Grub2 on Ubuntu LTS Xenial On sda1, I dd the partition to sdb1(which already has GRUB2 on the MBR) with sudo dd if=/dev/sda1 of=/dev/sdb1 bs=1M. I found that it also copied the UUID. So, both /...
0
votes
0answers
10 views

Alt-tab window list displays Android virtual devices as “Unknown”

I'm running multiple Android virtual devices at the same time. Although all of them have proper names in AVD Manager, on Alt-Tab list all of them are displayed as "Unknown". Is there any way to ...
-1
votes
0answers
44 views

i want to run a python program, but there have a problem in my Ubuntu

I saw an article on the Internet. It's about Python calling clamav. When I did it step by step, there was a problem like this. When I wrote sed -i -e '/^TCP Addr/{s/127.0.0.1/0.0.0/;}' /etc/clamd....
0
votes
1answer
27 views

could not insert 'ip_tables': Operation not permitted

I used the Ubuntu 16.04 system and had problems configuring iptables. How to solve this problem? modprobe: ERROR: could not insert 'ip_tables': Operation not permitted iptables v1.6.0: can't ...
0
votes
0answers
22 views

Laptop cannot detect specific Wi-Fi network [on hold]

My laptop cannot connect to the WiFi network of the café I used to work. The problem arose when I still had Ubuntu 18.04, I recently installed Debian 9 but the problem persists. Actually, the WiFi's ...
1
vote
0answers
21 views

Ubuntu 16 - display port no sound

My configuration: Ubuntu 16.04 LTS Nvidia Quadro K1000M Nvidia driver 418 I want to connect my laptop to TV, but the laptop has only a display port so I have bought hdmi to display port adapter ...
0
votes
1answer
46 views

Ubuntu won't boot

My laptop ran out of power and when I went to plug it in and power it on, Ubuntu no longer boots. I get directed to BusyBox built in shell that looks exactly like: BusyBox v1.27.2 (Ubuntu 1:1.27.2-...
0
votes
0answers
17 views

pactl refuses to take negative percent values?

According to the pactl man page you can supply percentage values to raise or lower the volume relative to its current value: set-sink-volume SINK VOLUME Set the volume of the specified ...
0
votes
1answer
38 views

How to install removed apt

On Ubuntu 18.04.2 LTS, I completely removed/uninstalled my apt-get because of problems I was having. I tried re-installing it with dpkg by runnung: $ sudo wget http://archive.ubuntu.com/ubuntu/pool/...
0
votes
0answers
10 views

Generate postfix log file for current month or last year in 12 log files

I have an issue with my postfix mail server amount of sent emails in 11-5-2019 and when I use pflogsumm command pflogsumm /var/log/mail.log.1 __ /name.txt It generate new days. I need: 1- Command ...
1
vote
1answer
19 views

parallel with quote in command

my original input in linux terminal is bcftools filter -e 'TYPE="snp"' input1.vcf -O v -o output1.filter.vcf bcftools filter -e 'TYPE="snp"' input2.vcf -O v -o output2.filter.vcf bcftools filter ...
1
vote
0answers
22 views

18.04.1-Ubuntu: Mail command unable to set mail body with attachment

I am trying to use mail command to send 2 attachments. The issue which i am facing is unable to send attachment and mail body content. tried following command echo "Hello World" | mail -s 'Test Email'...
0
votes
1answer
13 views

Dirty unmount of nginx cache dir on reboot

I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system. It's fstab line is the following: /data/project/cache.img /...
1
vote
1answer
13 views

KDE crashes with X2Go on Kubuntu 16.04

X2Go won't connect to my Kubuntu 16.04 PC, while MATE and XFCE work well with X2Go. X2Go has an older version of X server built in and doesn't support some newer features; apparently that's why MATE ...
0
votes
1answer
23 views

Ubuntu SSH Auth Log Shows Proxy IP

I am trying to figure out an issue I have been having. I am using a webpanel called TinyCP and there is a table for displaying failed login attemps via SSH. All SSH attempts, failed or successful, ...
8
votes
2answers
627 views

Why does the setuid bit work inconsistently?

I wrote the code: // a.c #include <stdlib.h> int main () { system("/bin/sh"); return 0; } compiled with command: gcc a.c -o a.out added setuid bit on it: sudo chown root.root a.out sudo ...
0
votes
0answers
18 views

Ubuntu 18.04.2 Static IP is set but also accessible via DHCP address

I have set a static ip on my Ubuntu server using netplan and it worked perfectly fine. After a reboot the device is still accessible via the static ip I have set in /etc/netplan/01-netcfg.yaml file ...
1
vote
1answer
46 views

Splash in PID =1

I have just started learning about process in Linux. I have come around this command called - ps -ef (which will shows all the process running ) I get output like this UID PID PPID LWP ...
0
votes
0answers
17 views

occasional boot fail because of error in starting Network Manager

I'm working in ubuntu 18.04 in a stationary Dell computer. Lately I have had a problem at booting where there is an error saying: [FAILED] Failed to start network Manager See 'systemctl status ...
1
vote
0answers
20 views

Solution for Auditing File Movement and Usage [closed]

I am a graduate research student at a children's hospital and they have fairly strict rules on how patient data is handled. The general principle is that the data cannot leave hospital hardware onto ...
0
votes
0answers
21 views

Sudden shutdowns on Ubuntu 18.04 Acer Laptop

I am running Ubuntu 18.04.2 on an Acer Laptop (F5-573G-52PJ). Randomly the system does a shutdown itself. In /var/log/syslog I see the events: May 15 11:24:53 top boltd[1176]: power: got event for ...
1
vote
1answer
37 views

Burning a Linux Ubuntu bootable USB with dd

I am installing Linux on a machine and got the Ubuntu 18.04 LTS image. I formatted a 32 GB Sandisk drive on macOS with MS-DOS (FAT) format and GUID Partition Map scheme. I found the name of the disk ...
3
votes
1answer
140 views

Why does my date output have “STD” as the time zone?

When I run date on my Ubuntu under WSL, it prints: Wed May 15 19:33:37 STD 2019 Why does this have the string STD in it? I can't find a timezone online with the abbreviation STD (for example here) ...
0
votes
0answers
44 views

Why install a .deb package with all dependencies fails [on hold]

As in this question and also here I am trying to install wkhtmltox-0.12.1_linux-trusty-amd64.deb. So tried:- wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12....
0
votes
1answer
37 views

What is the name of the ubuntu server cli installer?

I am trying to debug some ubuntu installation issues from a customized ISO using the source image for ubuntu server 18.04 here: http://releases.ubuntu.com/18.04.2/ubuntu-18.04.2-live-server-amd64.iso (...