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

learn more… | top users | synonyms

0
votes
0answers
5 views

with and encrypted hard drive, how can I add more space to /boot

Since the last kernel update, I have been unable to install any other packages because /boot is full : Filesystem Size Used Avail Use% Mounted on /dev/mapper/Temoin--vg-root ...
0
votes
0answers
3 views

Docker tunnel traffic on specific port via VPN

Not sure if this is docker specific or a general networking question. I'm running a Debian Jessie server with serveral docker containers. My understanding is that docker creates a virtual interface ...
1
vote
1answer
7 views

Recording with sound not possible in VirtualBox

Is it possible to not only video capture in VirtualBox but also record the audio coming from the VirtualBox? When I try to select the right device to record I get this, which bascially means the audio ...
0
votes
0answers
4 views

slow scroll in ssh connection in a while

Remote server with screen. After some time any command with a lots of lines of output causes signinificant scroll lag. It happens with diferent terminal emulators: konsole, xterm, lilyterm, ...
0
votes
0answers
3 views

Unable to see broadcast packets with tcpdump

I am launching an application which broadcasts udp packets. I also have a simple python script to confirm that these packets are being broadcast: sock = socket.socket(socket.AF_INET, ...
1
vote
0answers
11 views

RAM not recovered even after shutting down all applications

I am running a cassandra instance on a server with 16GB RAM. The process has crashed after an OutOfMemory error. Now, when I check the memory usage, 11GB out of 16GB is used. total used ...
1
vote
0answers
6 views

How can cpu-intensive processes slow down a system despite having a scheduler?

I've encountered it on both Windows and Linux that if some process is doing some heavy work and the cpu is under a lot of stress, the whole system can sort of freeze, other processes get slow, etc. ...
0
votes
0answers
8 views

2 Nics setup on CentOS 7

I have problem with 2 NICs when I try to setup new webserver on CentOS 7 ==== My goal ==== I have 2 network cards on server, eth0 (for public ip) and eth1 (for internal ip) My goal is my server can ...
0
votes
1answer
6 views

Is it possible to rename linux network namespaces

Is it possible to rename a linux network namespace. I am using ubuntu server 14. I just created a network namespace and configured it, but would like to rename it.
0
votes
0answers
5 views

Running ruby script through php as www-data

I am running a php application on an apache server. From the php application I need to run a ruby script on the command line. I have verified that running the script directly from a terminal as user, ...
1
vote
0answers
17 views

Saltstack best practices documentation clarification

To be clear, I am not asking for the "best way" to use saltstack. I understand that there are tons of ways to use saltstack, and what works for you, works. My question is specifically about the best ...
0
votes
0answers
7 views

Gedit Plugin: How to get the buffer of a newly opened file from another file in Gedit?

I've written a code for a Gedit Plugin which opens another file, self.window.create_tab_from_location(Gio.file_new_for_path(file_path), None, line_number, 0, ...
0
votes
1answer
12 views

A way to tell how much cumulative processing a script uses

I was going to install a script on my web hosting account, and they said they were concerned that it would take too much CPU to run. I know you can monitor the instantaneous use of a process with ...
0
votes
0answers
7 views

WiFi authentication times out

Since today I have this very annoying issue that the WiFi on my HP ProBook is not authenticating anymore. I haven't changed any settings and my mobile phone connects to the WiFi fine. Also trying ...
0
votes
0answers
4 views

Netbeans remote existing project doesn't compile

I'm trying to create a remote existing project in NetBeans. For some reasons, the project is built this way on the remote Linux machine: Project's sources: /home/bob/workspace/myprojectFolder ...
0
votes
0answers
9 views

Should I move my linux swap partition closer to my ext4 partition?

I am installing both linux mint and win 7 on the same disk on an old machine, I first installed linux (I know I should have installed win first so I wouldn't have to fix grub later but well, it's done ...
0
votes
0answers
4 views

Redmine email configuration on Ubuntu 14.04 with gmail

I have an pre-installed Redmine on Digital Ocean, but the email for the application was not setup yet. How can I configure the email with gmail smtp settings in Redmine? The configuration file is: ...
0
votes
0answers
19 views

trying to install windows after ubuntu

Recently I have wiped out my macbook pro and reinstalled ubuntu on it.And now I want to install windows alongside so I can have dual boot.After doing some research online, I have created a partition ...
0
votes
1answer
15 views

Is there a way to check how many jobs a user has in the queue?

I know commands, like qsub, qstat -a, qstat -an, etc. But how can I find how many jobs a single user has in the queue (not all necessarily running) at any given time?
-2
votes
0answers
15 views

making a tiny datacenter in home [on hold]

I would like to create a data-center at home. My goal is to host a file sharing website like mediafire or mega that can handle about 1500 users at the same time. I would like to know if my current ...
0
votes
1answer
12 views

GRUB starts every other time

My ubuntu install only gets to the grub menu every other time (sometimes not even). The other times it shows a blank screen with a strange line of artefacts along the top. I'm not sure how to ...
0
votes
3answers
28 views

How does piping/redirection in Linux work exactly?

I have these three examples of redirection stdin/stdout, only one of them is working the way it is intended to. I would love if someone can explain that to me. The goal is to sort the contents in ...
0
votes
2answers
19 views

tar: How to remove files after packing but keep directory

I want tar to pack a complete directory tar cvjf dir.tbz dir But make it delete all files tar cvjf dir.tbz dir --remove-files However this removes ./dir too. So I tried to cd into directory ...
0
votes
0answers
6 views

Redundant Wine Icons in Many Programs under Wine on Debian (KDE)

I have a wine problem as shown in the image below. All the wine icons (all 3) are due to the launch of the OriginLab (the most left one icon). When you switch to these wine icons, they generally do ...
0
votes
1answer
17 views

Unknown format file is downloaded when url is accessed

I have migrated my website to a linux server. Before it was working fine but now when ever I try to access my website an unknown format file is downloaded every time. I tried to change permissions ...
0
votes
1answer
12 views

Moving a partition without gparted [duplicate]

I need to move (shift) an ext4 partition on my disk in a headless Linux machine, like this: Before: [######### Partition #########][- Free space -] After: [- Free space -][######### Partition ...
0
votes
0answers
11 views

Why is my computer lagging and can't return from suspended mode?

I have a Sony Vaio that sometime is lagging and it won't return from suspended mode. If it goes into suspended mode then I must restart Unity with sudo service lightdm restart. It does not crash but ...
1
vote
2answers
25 views

Can Gnome act as thin client?

I'm wondering if Gnome can be used like VNC. Can the window manager be run on linux box A to work with linux box B? I'm editing some videos, and the system I'd like to use is headless. So if I could ...
7
votes
5answers
677 views

What ports are used by an application [duplicate]

I'm testing an application which opens its own ports (acts as a server for these ports, hence listens at that ports) and where the same application connects to ports bound by other applications (acts ...
0
votes
1answer
14 views

Debian XFCE “Session and Startup” doesn't see all applications

XFCE Session Manager doesn't "see" some of the applications I use regularly. Namely: google-chrome-stable (installed through apt-get, from http://dl.google.com/linux/chrome/deb/) A bunch of ...
0
votes
0answers
16 views

In what state is an external hard drive if it is seen by OS but content is unreachable?

I have an USB external hard drive. If I connect it to my computer which is run under Ubuntu, I can see a new folder corresponding to the hard drive (in both terminal and in the directories browser). ...
0
votes
0answers
21 views

Multiple IP source on single interface in Linux [on hold]

We could set multiple IP addressses on single interface, for example using NetworkManager: How to make any connection to outside of this PC to use different IP? for example if I have 8 IP ...
0
votes
2answers
21 views

Recover Partitions deleted by rm

In my PC I have 3 NTFS partitions 1 for Windows Boot Loader, next one is windows installation directory and the last one is for storing my whole data. They were mounted like this /dev/sda1 => ...
1
vote
1answer
22 views

Does VT-x really need bios support?

I have an old laptop with Core Duo (not Core 2). The CPU supports VT-x but the bios doesn't. (And never, no more BIOS update) Does VT-x really need BIOS support? Can we do it with a Linux kernel ...
0
votes
1answer
8 views

Where are KDE user workspace appearance settings saved?

I have the Ghost theme installed in my KDE desktop, which applies to Application Appearance color scheme, Workspace Appearance window decorations, and Workspace Appearance desktop theme settings in ...
0
votes
1answer
10 views

What does the column after destination in iptables overview show?

If I print the iptables overview with iptables -L I get the following output: $ sudo iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination ...
2
votes
1answer
36 views

Why is the same file larger on my USB stick?

When I copy files to my USB-device, they seem to grow in size. I have a directory called testdir containing a bunch of ascii text files. The original directory: $ du -hs testdir 22M I copied the ...
0
votes
0answers
6 views

Set nautilus up action to backspace

I use arch linux. I had changed the Up action of nautilus from Alt+left arrow to Backspace. But after a full update, it reverted back to Alt+left. I checked the file '~/.config/nautilus/accels' but ...
0
votes
1answer
13 views

Can I use an UART (serial port) as a MIDI device in Linux?

Can I convince Linux (kernel/ALSA/Jack) to use an arbitrary UART or serial port (usually /dev/ttyS* or /dev/ttyUSB* or /dev/ttyACM*) to output the MIDI messages? This is the way MIDI was done on the ...
0
votes
1answer
5 views

Mimetype --stdin always returns text/plain

I am having a hard time getting the correct mimetype info without relaying on the file extension / inode data. When using magic it returns with text/plain ever time regardless of what the file is. ...
1
vote
1answer
13 views

Why doesn't iptables accept IP address as source?

The command sudo iptables -t nat -A PREROUTING -i eth1 -s ! 192.168.178.30 -p tcp --dport 80 -j DNAT --to 192.168.178.30:3128 fails with Bad argument `192.168.178.30' Try `iptables -h' or ...
2
votes
1answer
23 views

Linux: Finding Processes I Started To Kill Them

I am programmatically starting several servers in Gnome terminal with each server in its own titled tab: gnome-terminal \ --tab -t "Server1" -e 'bash -c "export ...
0
votes
1answer
20 views

Finding USB device path in Linux

I am working with a software that needs the path for a device connected to my PC using USB such as /dev/ttyUSB0 or /dev/ttyUSB1 How can I find which one is associated with the device I have ...
1
vote
0answers
9 views

Changing the sda partition number in a clonezilla img

I want to copy a linux system from a computer to mine. That linux system is using two partitions. ("/" and an other one) I used clonezilla to copy thoses two partitions and put them in an image. But ...
1
vote
2answers
24 views

Shell Script User Input Date Validation

How would I go about performing date validation on user input in a shell script? I want to notify the user if they enter the date in the wrong format. The correct format would be YYYYMMDD.
0
votes
0answers
13 views

How to redirect all traffic from one network interface to another on the same linux host

I am writing testcases for a network switch. This involves sending something on one network card (via the switch) and checking that it is received on another network card. I want to disable all direct ...
0
votes
0answers
12 views

Change /Proc/cmdline from initramfs

I have a remote computer on which I changed the LVM partitioning. Everything was working just fine until I tried to reboot. I'm getting this : ALERT! /dev/disk/by-uuid/<uuid> does not exist. ...
0
votes
0answers
5 views

Deskjet 2540 wireless connection Linux

I'm testing the following printer HP Deskjet 2540 which has wireless capabilities. I have connected it and install it no issues via USB using the hplip which is a brilliant bit of software for Linux ...
0
votes
0answers
11 views

How restrict ssh pubkey using 'from=“pattern-list”' when connection goes through tunnel?

My home machine is behind NAT. I want get access to it using pubkey but want restrict that key to some IP. I make tunnel from home to server ssh -f -N -R 1144:localhost:22 user@server Server has ...
0
votes
0answers
4 views

Share a tun0 interface between docker containers

I've successfully built a working standalone openvpn docker container: # docker run --detach --publish 100.1.1.1:443:443 --name foo_openvpn --cap-add=NET_ADMIN --device /dev/net/tun -v ...