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

2
votes
1answer
570 views

Bumblebee (Optimus) Service Won't Start w/ 3.4 Kernel on Fedora 16

I'm using an ASUS laptop (MUXless graphics) w/ a GT 630M (re-branded 540M) GPU and only Fedora 16 installed. I installed bumblebee and the NVIDIAdrivers using the instructions described here: ...
3
votes
2answers
103 views

How long could I work with stable release after it is no more supported?

I'm still working on Debian squeeze which will be supported for only about 1 more year (it is server with KVM). How long is it possible to work on an old version of Debian (after Debian gets old) when ...
3
votes
2answers
1k views

What difference is between ARM Debian for Raspberry PI and Ordinary debian x32/X64 for desktop?

I would like to know, how big is difference between ARM debian for Raspbery PI and x32/x64 debian for desktop. I would like to buy in future some ARM mini pc like raspbery PI and use it as for ...
3
votes
1answer
5k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
4
votes
2answers
236 views

Why buffers equals to used memory?

I'm using Ubuntu 11.10, virtualized by OpenVZ. That output of free -m shows that buffers is always equal to used. total used free shared buffers cached Mem: ...
0
votes
0answers
415 views

Undervolting in Linux

Could you recommend me something different like Linux-PHC for undervolting in Linux? I would like to undervolt my AMD Phenom 9850 CPU. I am using Debian squeeze x64. For underclocking I use ...
2
votes
1answer
811 views

Setup PPTP VPN connection with no GUI [closed]

I want to configure a remote linux (Ubuntu Precise) to use a PPTP VPN. I can only access to it using ssh, so I don't have a graphical interface (neither do I want it). Some hours googling: Guides ...
2
votes
0answers
1k views

How to set ssh access for user on debian?

I set groups: usermod -G ssh username and then I've checked account info: id username the result is: uid=1000(username) gid=1001(username) groups=100(username) Anyway if I try to login using ...
1
vote
1answer
337 views

Firewall/routing rule in Centos for this setup

I have two ethernet interfaces, namely eth0 and eth1. I want to implement an advanced routing rule but I am totally new to firewall/routing rules in CentOS. Here is what I am trying to do: Both my ...
-3
votes
1answer
236 views

Implementing patch for changing a CPU frequency governor [closed]

I am a beginner in Linux. I want implement patch for changing a CPU frequency governor.But I don't know what is patch and Governor in Linux and I don't know where I can start from? Please help me with ...
10
votes
5answers
1k views

Best way to do full disk encryption?

I have got a bit lost and am not sure which technology to choose for full disk encryption. It is hard to tell if the information out there is still up to date. Is there a current best practice ...
7
votes
2answers
1k views

Overclocking tools in Linux

I am trying to overclock my machine. All the changes are made on the BIOS level, but then one needs to check all the temperatures, voltages, etc and test the stability of the overclock. Most tutorials ...
2
votes
1answer
197 views

Access the Shift-Insert clipboard from script

How do I access the Shift-Insert (paste) clipboard from a script? You can see what I use here. Edit: A demonstration how it works, with xclip: echo hello | xclip -selection secondary xclip -o ...
0
votes
1answer
371 views

SW-RAID 5 - how much CPU time and performance can it take?

I have Debian squeeze 6.0.4, 4x WD RE4 500Gb 7200RPM, Athlon II X4 600E and 24GB RAM DDR3. Since I work with SW raid 5, it takes much more CPU, than I think is enough. How can I get know, how much ...
1
vote
1answer
1k views

How to limit CPU performance for KVM VM?

imagine 1 Virtual machine with 2 shared cores on quad core CPU 2Ghz speed. Is it possible to limit this Virtual Machine for 500Mhz of CPU power on both cores? Or to reserve 1Ghz on 1 core for this ...
16
votes
3answers
7k views

File system compatible with all OSes?

I use Linux and Mac OS X on a regular basis, and sometimes I have to use Windows. I need to use a flash drive on all three, and I need a filesystem that will work well on all of them. None of the ...
5
votes
3answers
1k views

How can I tweak the kernel for total swap out?

I would like to deploy the following swapping policy: By default all pages in memory should also be in swap space. When a page in memory is changed (i.e. dirty), the page should be written out as ...
12
votes
2answers
376 views

How updated and relevant is “The Linux Documentation Project”?

I have been advised by many senior Unix/Linux Administrators to go through "The Linux Documentation Project" on the site www.tldp.org. Its undoubtedly a very rich site, but I saw many tutorials (as ...
6
votes
3answers
1k views

Difference between commands in bash script and commands in terminal

Are there any differences between commands that you type into the terminal and commands you include in a script?
3
votes
2answers
7k views

Unable to boot VM: Error 13: Invalid or Unsupported Executable Format

I used VMWare vConverter and everything converted fine, but when I try to boot I get an error: The physical machine boots correctly, so I don't think it is a source machine issue. I am not sure why ...
-1
votes
0answers
30 views

how implement patch for change a arbitrary Governor in linux [duplicate]

Possible Duplicate: Implementing patch for changing a CPU frequency governor I am beginner in linux.I want implement a patch for change a arbitrary Governor in linux.not important what ...
3
votes
5answers
475 views

Print non-existent files from a pipe input

I have a directory of lots of .PDF and .JPG files. There should be a .JPG file for each .PDF with the same name. I'm trying to use a command to find .PDF files that doesn't have a .JPG file. My ...
12
votes
4answers
39k views

SSH login with clear text password as a parameter?

I need to login to a user that I've created on a remote host running Ubuntu. I can't use an ssh key because the ssh login will happen from a bash script ran within a server that I wont have access to ...
2
votes
1answer
3k views

how to allow different users of same group access/edit files/directories created a user of same group

here is my example, here I am logged in as root created a group using groupadd command called as devel. created two users dev1 and dev2 using useradd command. useradd -g devel dev1 useradd -g devel ...
2
votes
1answer
384 views

Does SDL require any sound server like PulseAudio to play audio?

I'm trying to make an MP3 player on top of the Linux kernel and busybox using the SDL and SMPEG libraries. Does SDL work on top of the kernel or it needs PulseAudio? I have just built a C program ...
1
vote
0answers
153 views

iSCSI on startup

I've configure iSCSI but CentOS 6.3 is unable to recognize if on startup. Here is fstab config: /dev/sdb1 /home ext4 _netdev 0 0 Here is iscsi.conf ...
0
votes
1answer
168 views

How do I get started with linux? [closed]

I am a programmer but have only used Windows as the development environment till now. I work on Java. I wanted to start developing on Linux and would like to know where to start. More specifically: ...
1
vote
2answers
889 views

Kernel not detecting multicore cpu

Kernel Version 3.3.4-5.fc17.x86_64 CPU info: sashan@dhcp-au-122 ~ $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) ...
1
vote
0answers
69 views

list of vitualization technology that run on linux [closed]

We decide to select a solution for virtualization. Is there any benchmark for comparing them by eachother? I have list of vitualization technology that run on Linux
3
votes
0answers
101 views

Restricting D-Bus access to the logged-in user via ConsoleKit or systemd

I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?
2
votes
1answer
2k views

Cron daemon error : Permission Denied

I am having trouble setting up a cron job. My set up is as follows: crontab -e */10 * * * * OTP_ProJect/PandaServerInfo/SVN/PandaQueueMonitoring/trunk/submit_cron_test.sh the shell script has ...
3
votes
4answers
4k views

setpci - Making a script to manually change brightness

I can use something like setpci -s 00:02.0 F4.B=XX replacing 00:02.0 with your device address (obtained via lspci | grep VGA) and XX with a value between 00 and FF (FF = 100%, 7F = 50%, etc...) to ...
1
vote
2answers
144 views

Having Latest Versions of all Apps in Ubuntu 12.10

As we all know that Arch Linux repository is updated with all the latest releases of all the softwares. But in Ubuntu, The repo is not updated that often resulting in user using the older versions of ...
6
votes
2answers
3k views

How to place / store a file in memory on linux?

I have read somewhere that one can put a file on a linux system into memory, and loading it will be superfast. How do I do this? How do I verify the file is loaded from memory?
2
votes
3answers
195 views

Connecting Debian webserver to network

I am currently running a webserver with Debian 5.0.2. It has been working (more or less) fine for the past 2-3 years but recently it went down due to some power-outage. Ever since I have brought it ...
2
votes
2answers
3k views

Fatal error: Class 'HttpRequest' not found

Whilst trying to make this request I have this error. I have tried to run "sudo pecl install pecl_http" but always fails. Could not find curl/curl.h After I have tired(yum instead of apt-get ...
4
votes
1answer
168 views

A Linux OS as Single Display Groupware

For use in extreme programming environments, the idea of single display groupware has become rather interesting. I understand that applications need to be retooled in order to function as single ...
1
vote
0answers
92 views

parrot VM on linux

Any Linux distros or applications that mainly use/run on parrot vm? I"m asking because in windows, there is .NET and libraries written in C#, F#, VB will work together. parrot can do the same. ...
0
votes
2answers
187 views

Backup & restore from Linux to Windows while Linux is running

I have a lab with some Linux machines, some are Red Hat 5.1 machines installed on HPDL580 HW, and some are Linux installed on BLADE IBM machines. Also I have laptop computer with Windows XP. My ...
5
votes
2answers
886 views

Linux (3.4) SSD swap partition usage causes extreme latency - how to eliminate?

I'm running on 4G RAM with an extra 6G swap partition, SSD is a pretty decent SAMSUNG MZMPA128HMFU model. System responds very well to workloads when things stay in RAM, but as soon as things reach ...
1
vote
1answer
64 views

deal with file names with “-” as beginning on linux [duplicate]

Possible Duplicate: How do I delete a file whose name begins with “-” (hyphen a.k.a. dash or minus)? I'm using linux I have some files with file names like -0fdlfld -xfifd I want to ...
3
votes
1answer
587 views

wait for autossh connection to complete

I'm trying to create a script that runs a few commands that take a long time to execute and require a constant connection, but autossh user@server wait $! #or wait ${!} commandA commandB doesn't ...
1
vote
0answers
25 views

How can I access (including read and write) a linux file system from a windows machine on the same network [duplicate]

Possible Duplicate: How to share files between Linux and Windows? I have a Linux virtual machine (Hyper-V) acting as a web server on my network. I would prefer to browse it's file system ...
4
votes
1answer
2k views

recovering deleted file held open by apache?

suppose an apache log file gets deleted but its held open by apache then this is what i am doing. pid=$(lsof | grep text.txt | awk '/deleted/ {print $2}') fd=$(lsof | grep text.txt | awk '/deleted/ ...
4
votes
1answer
384 views

Linux: Current correct/recommended use of games-group?

What is currently considered the correct/recommended/best-practice use of the games-group... As a "device group" for game-ports and joy-sticks, unassociated with the games-user (except for being one ...
12
votes
2answers
3k views

Why are the grsecurity patches not included in the Vanilla Kernel?

What are the reasons that grsecurity patches (or the security features it brings) are not included in the kernel by default. When looking at the benefits for security it seems the vanilla kernel is ...
3
votes
0answers
512 views

How do I let an SDL app (not running as root) use the console

I want to use an SDL-based program to display graphics on the console, without having to log on from the console, and without running the program as root. For example, I want to be able to run it via ...
1
vote
0answers
99 views

Display Issues in KDE on laptop at startup (it happens when I plug and unplug the AC adapter)

I have a display problem in KDE, sometimes at startup everything goes black except the mouse. It only happens in the Login screen or in the boot screen. Lilo displays correctly and once I have loaded ...
3
votes
1answer
6k views

Create and control start up scripts in BusyBox

I have compiled a custom linux kernel in BusyBox. BusyBox init does not support runlevels. When the kernel boots up in BusyBox, it first executes init which looks for the specified runlevel in ...
4
votes
1answer
382 views

How to block glyph fallback on Linux?

I want to block font substitution in specific apps on Linux, but my research indicates that it might be controlled only at the system level, probably with fontconfig. I have found some discussion of ...