Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

7
votes
1answer
799 views

barcode scanner input when running xorg and evdev

When I scan a barcode in a text console (CTRL+ALT+F1 or not running X) I get the correct input, but when I try with an application running on X, I don't get the correct barcode. The scanner is ...
8
votes
2answers
6k views

Cleancache vs zram?

I have an old laptop here with only 512 MB of RAM. Since a few kernel releases, I am using zram to convert 256 MB of it to a compressed ramdisk which is then used as swap. This has proved to be very ...
3
votes
2answers
2k 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: ...
6
votes
6answers
5k views

How can I improve battery life in Fedora 15?

I am seeing a horrible battery life with Fedora 15 (lovelock) with Gnome Shell 3 on my laptop. I keep the screen brightness, back light pretty low. I still get about 1 hr 50 minutes battery life out ...
10
votes
3answers
3k views

How do I log into my Linux laptop if I have forgotten both the login and password?

How do I log into my Linux laptop if I have forgotten both the username and password?
2
votes
1answer
174 views

How can I configure a set of computers to netboot?

I have a number of machines which I'll be deploying in the near future. As suggested here, I could use network booting to get these computers online without even having a hard disk in them. According ...
4
votes
2answers
773 views

Output sound by writing to /dev/dsp

I know that it is possible to write arbitrary data into /dev/dsp and a noise will come up from the speakers. But whatever data I pass to this file the noise is the same. I wonder is it possible to ...
1
vote
1answer
349 views

Native and non-native support of thread/process programming in Linux?

POSIX thread (pthread) and OpenMP are both libraries for thread programming. But is it right that they are not native to Linux, i.e. they have to be installed by user later? If yes, what are the ...
3
votes
4answers
3k views

Recover files from corrupt DVD

I have a DVD+RW containing a lot of images and videos. Multiple DVD drives fail to read or mount it. I tried to follow this to try and recover the files using DVDisaster, and have created an iso file. ...
12
votes
8answers
3k views

How can I build a custom distribution for running a simple web browser?

You'll have to forgive me, as I'm relatively new at doing something like this, but I need to do the following and I know that it has and can be done. Basically, a few friends and me are assembling ...
1
vote
4answers
756 views

tee and grep at the same time (shell)?

I'm trying to run a server that writes to $log (a txt file) and then find all the text in the logfile that starts with '[1]' and put it in another file. Here's my attempt. tee -a $log works along with ...
4
votes
3answers
2k views

Recommended fstab settings

I made a new partition for my home drive by following this guide I have no idea what the fstab setting it suggests mean: UUID=???????? /home ext3 nodev,nosuid 0 2 I ...
2
votes
2answers
613 views

Transparent local proxy to many proxies

In Firefox is add-on FoxyProxy, which makes possible use many proxy with filtering URLs. I need it for any browser, but in many of them it is only possible to set one proxy server. I need a ...
4
votes
1answer
1k views

Linux support for new Sony Vaio Z external graphics card?

The new Sony Vaio Z series laptop comes with a media dock that has a USB connection (Light Peak) to an external AMD Radeon graphics card. What is the support for devices like this in Linux?
19
votes
4answers
4k views

What happens to the output of a process that has been disowned and lost its terminal?

If I close the virtual terminal, where some process was started, does the output just go straight to /dev/null, or can it pollute memory somehow? Can I anyhow grab the output to continue reading it at ...
3
votes
2answers
5k views

ACPI wakeup from keyboard/mouse via /proc/acpi/wakeup after suspend. How to find the correct device?

I'd like to wakeup my system via keyboard or mouse. This can be done via /proc/acpi/wakeup and a simple echo DEVNAME > /proc/acpi/wakeup my wakeup file looks like this Device S-state ...
3
votes
1answer
771 views

Hauppauge TV Tuner Card with Motorola STB and LIRC

I have a MythTV PV VM under Xen which I've spent about 2 weeks getting up and running. Everything seems to be working fine; PCI passthrough gives the card to the guest OS (OpenSUSE 11.4), the digital ...
3
votes
1answer
1k views

Linux compatible motherboard

Where can I find a list with Linux compatible motherboards. I want all features of the motherboard to work reasonably well with latest valilla Linux kernel (ie, clearly document that I need external ...
1
vote
1answer
8k views

How to rescan scsi bus devices?

How can I rescan a scsi bus for new devices under OpenSUSE? I think it contains something like this: echo "- - -" > scan
0
votes
1answer
1k views

How to configure DUAL-WAN on a Linux/*BSD machine?

I have two internet connections. The cables from the two ISP's (dhcp; 1-10/10 Mbit; 2-20/20Mbit connection) are on two interfaces: eth0 and eth1. On eth3 there is a Gbit switch and on the switch there ...
11
votes
4answers
9k views

Find out what device /dev/root represents in Linux?

On linux, there is a /dev/root device node. This will be the same block device as another device node, like /dev/sdaX. How can I resolve /dev/root to the 'real' device node in this situation, so ...
3
votes
2answers
4k views

How to find a writable file owned by root?

How can I find a file on my hard drive created by root that has write permissions?
5
votes
2answers
250 views

Is there a web site to search in the file contents of default installations of different linux distributions?

The text string "Network services, Internet style" is found in the first line of the file /etc/services on a computer running Ubuntu 11.04 erik@laptop:~$ head -1 /etc/services # Network services, ...
4
votes
2answers
323 views

Is there a vanilla kernel configuration?

A question on Ask Ubuntu asks if there's a vanilla kernel for Ubuntu. Its answer is there is a "Mainline" series of kernels for Ubuntu that use vanilla files with Ubuntu configurations. But how ...
5
votes
4answers
1k views

How sudo/root-ness detection works

Programs that make changes system-wide require sudo unless I am already the root user. Now, the question is: how exactly does the system figure out that I am (not) root? Does it: Check to see if ...
4
votes
2answers
2k views

Can I split /boot to a different partition on a single partition system?

I have set up my system, configured it and everything, using only one partition for / (ext4). So no separate home, boot, swap etc. So the question is: Is there a way to go from this configuration ...
4
votes
2answers
642 views

help needed to decipher this Acer Aspire 4830TG ACPI code for Nvidia Optimus

I am trying to make sense of the following NVOP Method from the ACPI tables for an Acer Aspire 4830TG with an Nvidia Optimus hybrid graphics system. The NVOP method on top defines a bunch of ...
3
votes
2answers
2k views

Creating a boot splash screen

I've been designing a Linux distro and trying to incorporate a nice user experience into it in the form of pleasing art and an interface that won't confuse or overwhelm first-time Linux users. The ...
5
votes
3answers
6k views

Moved bin and other folders! How to get them back?

I accidentally moved all folders from root to a subfolder. (/bin, /etc, /home, /lib, /usr... all moved) The only ones that were not moved, since they were in use, are /bak, /boot, /dev, /proc, /sys. ...
1
vote
1answer
812 views

MEncoder install issue

I'm looking for a simple install guide for mencoder on a linux server via SSH. Every guide I've come to so far links me to out of date versions.
7
votes
1answer
357 views

Where should I look for error messages after a freeze-up and reboot in Linux?

I was forced to shutdown (using the power button) and reboot after my laptop froze with just a black screen. After such an incident, where should I look for error messages etc. that might indicate ...
2
votes
2answers
244 views

How to check who is logged in on the currently active virtual terminal?

I want to collect statistics about who is using a computer and for how much time. I can use the users command to see who is logged in but I want to know who is on the currently active VT. I don't care ...
2
votes
1answer
411 views

Debian unstable chroot security issues

This page describes how you can use the debootstrap utility to install a base Debian unstable/sid system on an existing Linux machine. The new install is accessible using chroot. When doing this, ...
5
votes
1answer
5k views

What are some alternatives to virtualbox

I have a lot of trouble lately installing on a box that i can't reboot or change the kernel. Is there any other package that supports gre tunnels (if the os supports ) that i can run on linux? ...
0
votes
1answer
294 views

Where to find this specific source (centos 2.6.18-53.el5PAE)

okay all my looking around on the normal kernel site ftp can't find it. I need specifically, the PAE version. I am compiling virtualbox and if you don't use the right source you get this lovely: ...
3
votes
2answers
677 views

Virtual box for centos PAE

I am trying to get virtualbox to install on a very touchy box. It keeps complaining. /etc/init.d/vboxdrv setup KERN_DIR=/root/linux-2.6.18.5 That runs and gives this error: Attempting to install ...
12
votes
2answers
2k views

Weight-based block IO control for VMs

I use KVM to manage my virtual machines. I am trying to limit the resources provided for VMs. I am able to limit the CPU and memory allocated for VMs using libvirt/cgroups. Now I want to control the ...
7
votes
3answers
3k views

How to set up properly zram and swap

I'm configuring & compiling new 3.0 kernel. One of the goodies I planned to use for some time (by patching) that was merged into 3.0 is zram. Is it possible to set both hdd swap and zram swap so ...
1
vote
2answers
596 views

libxml linker error

I've got an app which won't link, giving error: /usr/lib64/libcroco-0.6.so.3: undefined reference to `xmlGetProp@LIBXML2_2.4.30' /usr/lib64/libcroco-0.6.so.3: undefined reference to ...
0
votes
3answers
316 views

Did I delete the whole debian root server?

I installed a new debian 6 system a few days ago - today I wanted to create a CSR request for a SSL certificate and wanted to delete the CSR file afterwards. In the root of my server I was typing rm ...
7
votes
1answer
4k views

How long is a TCP local socket address that has been bound unavailable after closing?

On Linux (my live servers are on RHEL 5.5 - the LXR links below are to the kernel version in that), man 7 ip says: A TCP local socket address that has been bound is unavailable for some time after ...
3
votes
2answers
3k views

Keep local copy of nfs mount on computer

I mount all my home directories and what ever else on my laptop when it is on my home network. I was wondering if there is a way to keep a local copy of the nfs mount when my laptop is off the ...
2
votes
1answer
2k views

Linux source, where are sys_umount and sys_mount system calls? [duplicate]

Possible Duplicate: Understanding the linux kernel source I am sure that I must be missing something, here. I cannot for the life of me find the source code for these system calls. I can ...
4
votes
2answers
333 views

Sometimes I feel like a directory, some times I feel like a regular file

For organizational purposes I would like a certain filesystem object which most of the time appears as a file, on occasion, to appear as a directory. The basic idea is that generically for cp, mv, ...
0
votes
1answer
541 views

Any LiveCD or LiveDVD Distro whith multi session burning onto LiveMedia

I'm looking for any Distro or LiveLinux for CD/DVD (NOT usb/SD card usage) which does the following: 1) All changes to the filesystem are written to the RAM disk with an overlaid filesystem. 2) Upon ...
15
votes
4answers
664 views

What is new in Kernel 3.0?

I understand this is somewhat less Ubuntu related, but it affects it. So,what is so new about it that Linus decided to name it 3.0? I'm not trying to get information about the drivers that got into ...
0
votes
1answer
145 views

Biostar GF7050V-M7 working with linux?

Do you know if Biostar GF7050V-M7 motherboard works completely with linux?
13
votes
6answers
11k views

How to make a process invisible to other users?

How could you launch a process and make it invisible to the top command? The process is started by a normal user (not root), and should not be visible to other normal users.
3
votes
1answer
1k views

Paritioning Scheme: Arch Linux server & laptop

What would be a good partitioning scheme for an Arch Linux installation, on a server and on a laptop? My current basic scheme: / [root] ext4 /home ext4 swap I know ...
2
votes
2answers
2k views

How can I get a list of long running processes that match a particular pattern?

I know that I can do ps aux | grep cgi to get a list of all cgi scripts currently running, and ps -p [pid] -o etime= can get me the run time for each pid; is there a way to combine the two, or better ...