Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
1answer
13 views

Resync NumLock light with NumLock status

I plugged a second keyboard into my computer to test something, and now my NumLock light is out of sync with the lock status (the light is off when NumLock is on, and vice-versa). How can I get the ...
0
votes
1answer
11 views

Jack not recognizing MIDI device

Jack does not recognize my MIDI keyboard, whereas ALSA does. Here are the logs : pi@raspberrypi / $ jack_lsp system:playback_1 system:playback_2 LinuxSampler:midi_in_0 LinuxSampler:0 ...
0
votes
1answer
29 views

Keep a PHP script running indefinitely on a Web Server [duplicate]

I'm having a pretty big issue that I need to get resolved. Basically I have little experience using Linux and I've been working on a project recentley that involves me having to use quite a lot of ...
15
votes
4answers
14k views

How can I tell what version of linux I'm using?

Often times I will ssh into a new client's box to make changes to their website configuration without knowing much about the server configuration. I have seen a few ways to get information about the ...
0
votes
1answer
4k views

How to use Crontab for a java file in linux

How can I use Crontab in Linux specifically for a Java program? I want to run a MIS Script. How can I crontab it and what should the path be?
1
vote
1answer
1k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
1
vote
3answers
4k views

linux command to check POSIX message queue

We can check the details of system V message queue with the help of ipcscommand. Is there any command to check POSIX message queue in Linux?
0
votes
0answers
11 views

How to access a RHEL desktop remotely without unlocking the screen?

I usually leave a lot of processes running on my RHEL 6 workstation, and sometimes need to access the desktop remotely on my Macbook. I have used Screen Sharing on Mac and it works fine, except that ...
10
votes
2answers
576 views

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
0
votes
2answers
85 views

GNU/Linux licensing confusion

I am building a Gnu/Linux distribution. I am keeping the kernel open source but the desktop environment and the programs (the ones built by me) on top of it will be proprietary. Is it possible? The ...
0
votes
3answers
325 views

Fedora, CentOS, Ubuntu Linux all are open source linux, but what about when i want to make my own brand from that?

I have used Fedora/Ubuntu/CentOS all of them, and they are open source linux, free to all users and free to do almost anything. But i do not get this correctly yet. They are open source, and they ...
0
votes
1answer
33 views

openSuse, not running the cron job

I have created a cron job in the /etc/cron.d/dispatchingEmail_I the permissions of dispatchingEmail_I are the following: -rw-r--r-- 1 root root 84 Sep 11 19:52 dispatchingEmail_I content of ...
-4
votes
1answer
36 views

Reboot shortcut

I need to haved a shortcut on my desktop to a URL which reboots my debian server and then says "reboot successfull" in the browser, if that was the case. I do not want a putty reboot shortcut or ...
3
votes
1answer
73 views

Start QT Application on bootup on an Embedded Linux Device (Beaglebone Black)

Below is picture of the display on bootup. Expected display is overwritten by Angstrom screen Expected Display Application is been started as a service. Below is the content of the service file ...
16
votes
1answer
742 views

How to automate Linux server configuration?

Is there any way to automate Linux server configuration? I'm working on setting up a couple of new build servers, as well as an FTP server, and would like to automate as much of the process as ...
-2
votes
2answers
27 views

Apache web server configuration with a DNS server Linux 14.04 LTS [closed]

I need to configure a Apache web server with a DNS server, it can be a simple local server configuration just to practice and see how a DNS server resolves a URL to an ip address and connects to a web ...
1
vote
2answers
39 views

new users can't log in via GUI

I have added 3 new users to the system via a terminal session and defined their password. However at the GUI logon screen when I click on their account and put in the password I get the spinning wheel ...
5
votes
1answer
60 views

Whats the history behind the fork bomb?

I read other question about its work and other things that Fork bombs operate both by consuming CPU time in the process of forking, and by saturating the operating system's process table. A basic ...
7
votes
2answers
9 views

Looking at the source files, where does Linux start executing?

I would like to read a bit of the source code to try and understand how it all fits together, but cannot see where to start. Which file in the Linux source code is the main file used to compile the ...
7
votes
2answers
10 views

How does linux driver update work?

As far as I know no update on a linux machine requires a restart. Windows however needs to restart several times for a update to complete which is understandable because the hardware might be in use ...
1
vote
1answer
4 views

What is the scheduling algorithm of the Native POSIX Thread Library?

According to Wikipedia, The Native POSIX Thread Library (NPTL) is: a software feature that enables the Linux kernel to run programs written to use POSIX Threads efficiently. Which algorithm is ...
11
votes
3answers
9 views

Does fork() immediately copy the entire process heap in Linux?

A fork() system call clones a child process from the running process. The two processes are identical except for their PID. Naturally, if the processes are just reading from their heaps rather than ...
4
votes
4answers
15 views

How does linux handles zombie process

Zombie processes are created in Unix/Linux systems. We can remove them via the kill command. But is there any in-built clean-up mechanism in Linux to handle zombie processes?
3
votes
1answer
12 views

Which process scheduling algorithm is used by Linux?

The Linux operating system switches between running processes to enable multi-tasking. What algorithm is used to determine when to suspend the execution of the currently running process and which ...
3
votes
1answer
5 views

Real-time executive approach, can be run in desktop Linux?

With the real-time executive approach, a small real-time kernel coexists with the Linux kernel. This real-time core uses a simple real-time executive that runs the non-real-time Linux kernel as its ...
5
votes
2answers
8k views

Create and format exFAT partition from Linux

Is it possible to create and format an exFAT partition from Linux?
8
votes
5answers
2k views

How to run part of a script with reduced privileges?

I have the following problem: On every machine running Postgresql there is a special user postgres. This user has administrative access to the database server. Now I want to write a Bash script that ...
2
votes
3answers
1k views

QEMU how to ping host network?

I'm trying to ping from guest to my host network without success. qemu-system-x86_64 -hda debian_squeeze_amd64_standard.qcow2 -netdev user,id=user.0 -device e1000,netdev=user.0 I try to ping a ...
2
votes
0answers
13 views

Configuring default static routes with RIPv2

I am currently working on an assignment managing a smaller virtual network with virtual box and tiny core Linux. (Using quagga) I am supposed to let RIP handle the default routing, though I cannot ...
0
votes
0answers
12 views

How to bind IP address to MAC in autoyast?

Is it possible to bind IP to physical address in autoyast config file? The following code doesn't do the trick: ... <interfaces config:type="list"> <interface> ...
0
votes
1answer
37 views

How to get “undefined references” such as “s_wsfi” and “do_fio” in f77 32-bit Fortran libraries using `gfortran -m32`?

Update: Per steeldriver's suggestion, I have tried to get libf2c, and have posted my new error here. ======== I am new to Fortran, but this is what I know: I am running on Ubuntu 14.04 My ...
0
votes
1answer
1k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
2
votes
1answer
294 views

Do I need to install LIRC separately in Fedora 18?

I just finished installing Fedora 18 and out of the box I noticed that it recognizes my IMON/MCE Remote control. I have had to make some changes to the rc_keymaps/imon_mce file to remap some of the ...
5
votes
6answers
9k views

Change the number of the partition from sda1 to sda2

I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1. It's possible but I don't remember the procedure. i.e. My first partition will be ...
0
votes
1answer
15 views

install OPENCV to Rasbian( Debian Linux )

I installed rasbian(debian) for windows . I want to install OPENCV. I have write the newest link . wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip But ...
0
votes
1answer
372 views

VPN Setup Errors

I'm trying to install a VPN on one of our servers for use within my campus so that we can play some games, but I appear to be getting errors when I try to connect, as shown below. Not quite sure about ...
1
vote
0answers
61 views

bash: /etc/bash.bashrc: Permission denied whenever I open a terminal

On Ubuntu 13.10, when I open a new terminal, I sometimes get the following output on the terminal: bash: /etc/bash.bashrc: Permission denied However, the permissions should be fine: >ls -l ...
0
votes
0answers
7 views

Gnome-keyring iteration count location

I know that Gnome-keyring hashes master password between 1000 and 2000 times. It picks random number. I would like to ask where does it save this number, what is the location of that file? As far as I ...
3
votes
1answer
224 views

Obtaining information about system hardware

If I want to accurately save information about the hardware I am using as a reference, what is the best way to do it? Are the contents of /proc/meminfo sufficient?
-2
votes
0answers
13 views

What is the equivalent of FreeNAS for SAN? [closed]

Does there exist a SAN emulator with FCOE emulation under unix or linux? For example, when I want to emulate a NAS for testing I use FreeNAS or a solution based on CentOS. Is there something ...
3
votes
2answers
751 views

py3compile error - Unable to get the locale encoding

After reinstalled the python3.2, I got the error as below when call py3compile: Fatal Python error: Py_Initialize: Unable to get the locale encoding LookupError: no codec search functions registered: ...
1
vote
1answer
20 views

I am getting nova issue when i ran #nova image-list

I am newer to the openstack, and I am following the link http://openstins.tiddlyspot.com, everything goes smooth but when I ran below command I got error as below. [root@centos6-2 init.d]# nova ...
2
votes
1answer
35 views

Why highest priority threads are displayed with RT in top and htop?

In the top and htop tools, processes (or/and threads depending on display settings) having the highest realtime priority (99 from the userland API point of view) with either the scheduling policy ...
1
vote
2answers
65 views

How to acquire image of disk on Linux computer?

Pertaining to computer forensics, if the suspect's computer (which cannot be removed from the scene), is Linux, can you directly use tools such as dd or dcfldd on his computer to acquire the disk ...
2
votes
2answers
5k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...
1
vote
2answers
53 views

How to kill all processes for a given user that take longer then X time

When I list processes with ps auxf I often see some that are stuck and I need to manually kill them. How can I do it with one command? Example ps result: $ ps auxf USER PID %CPU %MEM VSZ ...
0
votes
1answer
14 views

Unable to install crontab on OpenSuse

I am running the following command as root, on OpenSuse: linux-gn77-PC:/home/harbir/project # crontab -e when the editor opens up I type the following, as I want the command to be run at 2145 hours ...
2
votes
2answers
4k views

using cross-compiled Valgrind

I have downloaded the sources from the Valgrind trunk and built it for using on an embedded Linux system(Montavista Linux) powered by an ARM926(ARMv5t architecture). Everything went well until I tried ...
0
votes
1answer
43 views

Is it possible to use dd to clone only the part of the hard drive which is used?

if only 1/3 of a 300GB hard disk is used. Is it possible to use dd to clone the drive (but only the 100GB that is used)? dd if=/dev/sda of=clone.img
12
votes
4answers
3k views

discribe in details tha boot process of any linux system

I am preparing a document in detail showing light on the boot sequence of Linux right from pressing of Power-on button the host to the login prompt appearance. It would be great if we could combine ...