Stack Exchange Network

Stack Exchange network consists of 174 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 [linux]

A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

2
votes
0answers
11 views

Ubuntu 18.04 - Unable to chown ext4 network drive

I have a nested VM running Ubuntu Server 18.04 (mounted via Virtual Machine Manager - KVM). I am unable to change ownership and permissions on a network drive in a Synology server. The drive is ...
1
vote
0answers
5 views

Set up serial pipe between VMware Linux guest and Windows host

I am using VMware Workstation 12 Player. My host is Windows 10, my guest is Fedora 22. I want to set up a COM port between the host and guest. The reason is I have an app running in Windows that ...
1
vote
0answers
15 views

Why does ufw always block the SCTP protocol, regardless of what rules I have?

ufw seems to always block the SCTP protocol whatever rules I have set up: For example, running enabled even with no rules: ufw reset ufw default allow incoming ufw enable I still see SCTP ...
0
votes
0answers
6 views

osx top command - memory usage in bytes

Is there a option in osx to print stats -"MEM" in bytes. I see that it either prints in M or K which is difficult to parse as I need to check for the unit before grabbing the number.
0
votes
0answers
10 views

{Key or TOTP} and password

I'm setting up multi-factor authentication on a Linux box. I have successfully been able to tell the box to accept key-and-password or TOTP-and-password, but I'd like it to allow clients to do either. ...
0
votes
0answers
6 views

Can not clone repository from github | 'localrepository' object has no attribute 'join'

I am a newbie to Linux and recently I have been trying to pull a repository but I keep getting this error. I use the command hg pull -u Error: 'localrepository' object has no attribute 'join' ...
0
votes
0answers
9 views

How to make python use latest SQLite

I already did the following: 1. Going over to this url: https://sqlite.org/download.html I will download 'sqlite-autoconf-3260000.tar.gz' which is version 3.26.0 2. assuming it's in my Downloads ...
0
votes
0answers
11 views

Malicious Outgoing FTP Connection to another server [on hold]

There was a malicious outgoing connection from my Cpanel server to an another server's FTP port. My server has many shared hosting accounts of my clients. How can I check which user/account sent this ...
0
votes
1answer
9 views

find with regex not working as expected

I have a bunch of directories with numerical names, betwen 1 and 1,500 and I wanted to use the find command to find only these that are in range of 1,250 and 1,500, this regular expression should do ...
0
votes
0answers
5 views

how to properly mount cifs share with password

I work in windows company, and have to access windows shares. I can enter into thunar/nemo path: smb://someserver.whatever/serverDirectories I'm prompted for user/pass and it works. Until entry ...
0
votes
0answers
11 views

Remove owncloud server from raspbian

Linux noob here so please be gentle. I followed a tutorial to install owncloud on my raspberry pi with an external hdd. Apparently owncloud doesn't play well with external hdd's so I tried to switch ...
-1
votes
0answers
21 views

How to know if a site are using my computer to mine cryptocurrency?

When I go into a website on Firefox the processing of my computer increases a lot. I'm suspecting that anyone installed some cryptocurrency mining script. I've been looking for something but I can not ...
0
votes
0answers
6 views

GRUB Minimal BASH like after deleting only one linux partition

So I have dual boot Windows 10 and Ubuntu on my hdd and I wanted to deinstall Linux so I started deleting Linux partitons(there were two and also i had issue with smaller one because option to delete ...
0
votes
0answers
14 views

Issues with getting the ODBC driver to correctly work with Wine on Ubuntu 18.04

I am having issues with getting the ODBC driver to correctly work with Wine on Ubuntu 18.04. Under "Wine Control > Drivers" I can see the Windows ODBC Driver 17 however when I try to associate it with ...
0
votes
0answers
15 views

Fedora “only console users are allowed to run the x server”

[diogoferreira@localhost ~]$ startx xauth : file /home/diogoferreira/.serverauth.3282 does not exist /user/libexec/Xorg.wrap: Only console users are allowed to run the x server So I installed VMware ...
-1
votes
0answers
11 views

How do I get specific field of “ls” command?

I am using "system " call to verify my hardware system("ls -l /dev/spi*"); I like to "retrieve" just the "/dev/spi x " string. I tried using "pipe" but have no idea show to manipulate the "buffer"...
0
votes
0answers
8 views

Merging data from multiple files

So in my case i have multiple Linux VM's and each one of them there is a file called: output.txt(or other extension like excel?).They look like: Average download time:8647 Average whatever : 153 Now ...
0
votes
0answers
7 views

How to set up apache running on separate system OL7 to present trac wiki project

I need to somehow set up apache to present a content from tracd running on separate server. I used following config definition: # LB VIP1 - TRAC definition <VirtualHost "IP":8090> # ...
0
votes
0answers
4 views

How to change each page's style in libreoffice writer and impress?

Let's say I want the first and second page don't have page number in footer. Writer can set First page's style to "First page" in order to remove the footer. Here is the question: Q1: How can I ...
1
vote
0answers
11 views

Identical Photon VM's behaving Differently

Hi and thank you for reading, I have several photon VM's in production (https://vmware.github.io/photon/). These are all created from a Template within Vcenter and the config applied is from a ...
0
votes
0answers
4 views

ExFat USB-mount not updated in Docker container

I want to let a docker container access data from a mounted USB external hard drive (ExFat). I mounted the hard drive to an existing and empty /tmp/driveTest folder. Next, I mounted the tmp folder ...
0
votes
2answers
31 views

Manipulate keyboard anti-ghosting

Assume I hold the 3 keys E, R, F at once, in that order. Because of key ghosting, the keyboard cannot distinguish that combination with other combinations (probably ERFG, ERG, or EFG), and assume ...
0
votes
1answer
17 views

How to get original file size from GPG-encrypted file?

I have a large file encrypted with GPG and I also have the key to decrypt it. How can I get the size (in bytes) of the original unencrypted file, without actually decrypting the whole encrypted file?
0
votes
1answer
7 views

Read and store the last line of the command line output of mplayer

I am writing a program to get the output of the video length played (time in seconds) in mplayer. Usually the output of mplayer is Playing video.mp4. Detected file format: QuickTime / MOV (...
0
votes
0answers
10 views

How to translate old 'ip' commands to netplan config for Ubuntu 18.04 on AWS EC2

Previously I had a script to apply my second static IP and route on the default NIC on boot like so: ip addr del 192.168.123.123/32 dev ens5 ip route add 172.25.65.0/24 dev ens5 src 192.168.123.123/...
0
votes
0answers
7 views

Inspecting and filtering vectors in PDF from command line?

I have some PDFs, that are intended for (in this case) laser cutting - so basically, their only contents are some vector lines/geometry, no raster/bitmap content, no text content. Turns out, those ...
0
votes
0answers
10 views

On Fedora 29, all keyboard layouts are ISO but my keyboard is ANSI

ISO layout keyboards (international keyboards) have an extra key between the left shift and the Z key that ANSI (US standard keyboards) don't have. I recently switched to a mechanical keyboard that ...
0
votes
0answers
14 views

copy with hard links only if a file doesn't already have two hard links

I am using the ideas laid out in this article to create incremental versioned backups of my data. My script is essentially doing: rsync -a --delete /data/to/backup /backup/destination/current cp -al /...
0
votes
0answers
11 views

Using projector via wifi from Linux laptop

A local bar hosts a programmer's meetup I organize. Recently they switched out their projectors such that the only accessible connections are now wifi (formerly I used a wire to HDMI/VGA ports.) How ...
1
vote
0answers
18 views

Typing special characters (ö) on Linux command line without using sudo

unfortunately I have broken my system during upgrading Ubuntu 16.04 to 18.04. I can access the command line using ALT + F2, but I to use sudo, I need to type in umlauts, since they are in my password....
1
vote
0answers
6 views

VSCode doesn't open Files imported with absolute PATH

I have a React Application. I am importing some components, and I want to click ALT+File name in the import in order to navigate to it.(Linux Ubuntu). Mapped it to Alt instead of CTRL. In files with ...
0
votes
0answers
9 views

How to run multiuple Python Script, on a Linux Server using a single SSH connection

The question is not about the specif code to write in my specif case. I have bought a server linux based on CentOs. It's my first time I tried to set up and I treat it as a "linux computer". I ...
0
votes
0answers
8 views

I'm trying to intergrate gitlab with active directory and I'm getting this error

This happens when I try to run gitlab rake. Also, the server is showing a 502 error. I'm fairly sure they are connected, but I can't make sense of this error. rake aborted! Errno::ENOENT: No such ...
0
votes
0answers
8 views

Delete a file with php code on MacOS Mojave [on hold]

I'm in macOS Mojave running XAMPP server 7.3.0, and I have an html form to upload some pictures from it and put them in a directory. The pictures are uploaded. But when I want to delete them from a ...
0
votes
1answer
34 views

key file for linux home encryption?

I was surprised to discover, after considerable searching, a particular use case for data encryption is hardly or never discussed in the Linux community, much less readily supported. This case is to ...
1
vote
0answers
21 views

How can I do asymmetric encryption on the command line, without relying on installed keyrings, etc.?

My home computer consists of a VMWare host running Linux Mint, and a number of VMWare clients. I run backups every night that compress my VHDs to a removable hard drive. I'd like to encrypt the ...
0
votes
0answers
27 views

Cannot get 5GHz Networks to appear in Kali Linux (Panda Wireless PAU09)

I run a virtualized copy of Kali Linux on my MacBook Pro and I am trying to use my Panda Wireless PAU09. It is a recommended card and is said to be "Plug and Play" without having to install drivers or ...
1
vote
1answer
13 views

ansible playbook when condition for replay

is there any option for the replay the play in the playbook? I want to write ansible playbook like below. I want to run play2 if any error in the play1_result and after running play1 if play2 is a ...
2
votes
2answers
30 views

Finding the physical sector size of USB / SOLID STATE DRIVE fdisk & stat

Currently trying to find a BULLET proof way to find the sector size of a FLASH based device (testing with USP thumb drive), not getting a convincing reply anywhere else using stat gives me the size = ...
1
vote
0answers
11 views

vnc : why is xeyes working and not gnome-terminal?

I have a script that opens a vnc connection and then runs an application on the remote machine. When this application is xeyes, everything works perfectly but when it's gnome-terminal, I see no ...
0
votes
1answer
18 views

Repair C compiler via telnet

When I try to install a perl mod in cPanel I get this error: Checking C compiler....Could not locate an executable "gcc" binary....Done ** Unrecoverable Error ** The C compiler is not functional ...
0
votes
0answers
13 views

rsync error on sync from local to remote, however can rsync from remote to local

I'm having trouble using rsync and ssh to sync from local to remote. However I can rsync from remote to local as follows: rsync -avzP -e "ssh -i /Users/Bab/Desktop/LightsailDefaultKey-us-west-2.pem" ...
0
votes
0answers
10 views

Boost : pyconfig.h not found

I am setting up boost-python for the python bindings of a library. Previously, boost was installed but linked against python2.7. After some tribulations, everything from the previous boost install is ...
0
votes
1answer
22 views

What does a suspended TCP process in linux exactly do and do not?

Regarding TCP connections using NetGui (and wireshark for analyzing): I set a TCP connection between two PCs using the command nc -p 11111 etc... for the server, and the corresponding one for the ...
0
votes
0answers
11 views

Send data stream over bluetooth [from linux pc to android phone]

I'm working on a project where data needs to be sent over bluetooth (from Yocto linux development board (or EVK) to android phone). (Board running on linux will not have display) (i'll run a script ...
0
votes
0answers
20 views

FTPS - Access Denied (Public Key)

Our costumer is trying to access a FTPS server that we have configured on a Ubuntu server, but always when he try to connect to the server using a username and password, he get's the error message: "...
0
votes
1answer
30 views

How can I install and launch Windows Server in dual boot?

I my Server, I have a sda disk, on it I installed a Windows Server 2008, and a CentOS7.2 system. Device Boot Start End Blocks Id System /dev/sda1 * 2048 209717247 ...
1
vote
0answers
34 views

gnome-terminal exits with status 127 on ubuntu 18.04 but how do I find the stacktrace?

gnome-terminal suddenly stopped working and when I run it via another terminal emulator (termite) it throws an error: > sudo gnome-terminal # Error constructing proxy for org.gnome.Terminal:/...
0
votes
0answers
20 views

Samba client - unix username differ from smb

Problem: Can't map unix user to smb username on client. Scenario: server1 running Windows with smb shares client1 running Debian On server1 is user JSmith On client1 is user jsm When trying to ...
0
votes
1answer
84 views

Fedora KDE 29 random directories in home directory

I have fresh Fedora 29 KDE spin installed. Firefox added, up to date. After each reboot and login an empty folder with random name appears in home directory. Each time name is new and does not look ...