Debian is a community-driven GNU/Linux distribution which provides a large range of packages and supports a large range of architectures. It strongly focuses on free software. It has several derivatives, notably Ubuntu and Linux Mint.

learn more… | top users | synonyms (1)

7
votes
2answers
1k views

Is it bad/dangerous/inappropriate to put arbitrary backups in /var/backups?

There's a system-created /var/backups directory on Debian-based systems. I need a place to store backups of several git repositories (the primaries are on bitbucket). If I store them in ...
7
votes
1answer
38k views

How do I install Adobe Flash on Debian Wheezy?

I have tried following http://wiki.debian.org/FlashPlayer but on the very first command: sudo aptitude install flashplugin-nonfree I get: oshirowanen@debian:~$ sudo aptitude install ...
7
votes
2answers
688 views

Program to show keystrokes (shortcuts) on display

I'm going to make a presentation about a software product and it has some key shortcuts, that I want to show. Is there a program, which displays the keyboard-shortcuts, that I have used?
7
votes
2answers
5k views

How do I start Xvfb on startup on Debian?

I’ve got a Debian web server that I’m using for occasional screen-scraping via Selenum and Python. I use Xvfb as a virtual X server for Firefox to run on when being controlled by Selenium. Given that ...
7
votes
1answer
2k views

Why can't I use arrow keys in terminal on Debian 6? (nonroot)

When I am on a non-root user I cannot use ↑/↓ to list my previous commands, and if I am typing I can't use ←/→ to say, add in a directory or to correct the ...
7
votes
2answers
5k views

How to make Chinese characters display properly on Chromium

When I use Iceweasel (Debian version of Firefox), I can see Chinese characters found on this page, but not when using Chromium. I instead see rectangles. This is on Debian 7 (Wheezy).
7
votes
2answers
1k views

Why is exim4 listening on port 25?

Am I misinterpreting the results of netstat -anp --tcp --udp | grep LISTEN wrong, or does the output mean, that the process exim4 is listening to the outside on port 25: tcp 0 0 ...
7
votes
2answers
1k views

Find and install man file manually

I seem to be missing some man pages, notably gcc and g++. It doesn't help that I specify the section. whereis doesn't list man pages for those two, so I think they are simply not there. With Google I ...
7
votes
3answers
866 views

How to keep track of installed software

Every now and then I'm in need of updating a software running on one of our testservers at work (mostly Debian). What really confuses me almost every time is the fact that there is not just one way to ...
7
votes
2answers
1k views

Should I use http or ftp links in apt sources.list

Should I use http or ftp links in /etc/apt/sources.list? What I mean is is using something like, deb ftp://ftp.debian.org/debian/ squeeze main contrib non-free deb-src ftp://ftp.debian.org/debian/ ...
7
votes
3answers
1k views

Create Null Modem Pair linux

I am looking to create virtual serial ports on Debian 6 squeeze. Basic requirements are: be able to connect as if port was a real serial port( IE be able to set baud, stop bits etc) com port pairs ...
7
votes
3answers
7k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
7
votes
1answer
928 views

pm-utils: No network in suspend scripts?

I'd like to put a script in /etc/pm/suspend.d/ that needs network access (for a very short time) before allowing the system to suspend. However, even with scripts named "001_something" in ...
7
votes
4answers
1k views

Managing unofficial repositories on a Debian system

A few years ago I added this repository to my sources.list: http://www.deb-multimedia.org/ because it contained packages like acroread or flash player, which were either missing or out of date in ...
7
votes
4answers
8k views

Fail2ban block with IPtables doesn't work on Debian Lenny. [moved ssh port]

I've recently decided to do some security maintenance. I saw my logs, and there were some tries against my SSH server. At first, I moved away the SSH port from the default 22. After it, I read ...
7
votes
4answers
1k views

Differences in package management between Debian and Arch

A discussion from this post made me curious of differences between Debian and Arch package management. Also, people tend to say that Arch is very light-weight, so I wonder what that has to do with ...
7
votes
2answers
2k views

How to block loading kernel module only in single user boot when blacklist fails?

On a "Linux debian 2.6.32-5-amd64 #1 SMP" installation where loading a kernel module (mpt2sas) is desired to be delayed to be loaded after starting sshd and users can remotely login, the mpt2sas ...
7
votes
2answers
1k views

TrackPoint hard to control after Debian update

I'm on debian testing, and after rebooting (after an uptime of 3 weeks or so, that included a bunch of package updates, I believe including the kernel) the other day, the fine-adjustment - what a ...
7
votes
1answer
4k views

How to launch an application with default “terminal emulator” on Ubuntu?

I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop. Is there some command like xdg-open, but for getting the default terminal emulator? I'm ...
7
votes
3answers
11k views

Postfix doesn't send mail, complaining about “Host or domain name not found”

I followed these instructions in order to send mail and here's the Postfix log: Sep 26 00:46:24 tshepang postfix/smtpd[5728]: 8EE2464931: client=localhost[127.0.0.1] Sep 26 00:47:44 tshepang ...
7
votes
1answer
1k views

Can I use and install Ubuntu packages in Debian?

I'm looking to install Linux Mint on my main work computer. Presently, I'm running Ubuntu 10.04 on it after upgrading from 9.10 (both 64bit). Previously, I have always backed up and formatted my hard ...
7
votes
1answer
788 views

How to enable “Predictable Network Interface Names”?

I decided to check out what name my ethernet device will end up with, but contrary to other distros, Debian doesn't seem to have activated this change (or is holding it back?), * Keep the old ...
7
votes
2answers
10k views

How can I resize my root partition in Debian?

I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
7
votes
2answers
12k views

How do I configure syslinux to boot immediately

I'm tweaking a Debian live system (built with live-build), and I want it to boot straight into the system from syslinux — no menu, no timeout. According to the syslinux documentation, a timeout value ...
7
votes
4answers
18k views

How do I install the latest version of Chromium in Debian Squeeze?

I know that Debian Squeeze has Chromium 6.x only. So I added backports but seems that Chromium is not included. Since Chromium/Chrome development is very fast, version 6.x has sort of become outdated. ...
7
votes
1answer
8k views

rpcbind-“warning” on boot

On my debian testing system, I get these messages in my /var/log/boot file: Starting rpcbind daemon...rpcbind: Cannot open '/var/run/rpcbind/rpcbind.xdr' file for reading, errno 2 (No such file or ...
7
votes
1answer
604 views

Auto-Mounting CIFS Shares on Laptop

I've seen questions similar to this asked before in several variations, but I have yet to locate a satisfactory answer. Here's what I have: A highly mobile Debian laptop that switches networks ...
7
votes
2answers
6k views

console-kit-daemon Hogging CPU and RAM

We have a system that's been a bit sluggish. top reports that console-kit-daemon takes anywhere from 18-30% CPU and about 50% memory. There are only two users logged in, one on X and one via ssh. Any ...
7
votes
1answer
379 views

Disable screen blackout in KDE while watching iPlayer

How can I turn off the screen blackout in Linux when playing a film in BBC iPlayer? I usually use it in Chrome, but if there is a way to do it in Firefox (Iceweasel) than it is good enough as well. I ...
7
votes
3answers
2k views

Proper way to disable tmpfs on /run/shm

How do I disable tmpfs on /run/shm? I searched through initscripts and found that the following code checks the entry in fstab, but what should I change to make it not mount /run/shm? I'm running ...
7
votes
2answers
711 views

Why did dd create a different uuid?

root@debian:/home/tiger# dd if=/dev/sda of=/dev/sdb bs=10240k 11447+1 records in 11447+1 records out 120034123776 bytes (120 GB) copied, 4729.59 s, 25.4 MB/s root@debian:/home/tiger# blkid ...
7
votes
1answer
679 views

Debian: How to delay configuration when installing/upgrading?

One of my Debian systems is rarely upgraded. So when it is time to upgrade, there are loads of packages. Right now I basically have to monitor the upgrade, because every 50 packages or so there is a ...
6
votes
3answers
6k views

Count number of lines of output from previous program

I'm trying to count the number of lines of output a certain program produces. The problem is, the program takes a long time to run, and I want to display the output to the user. Is there a way to ...
6
votes
4answers
5k views

Debian: Which firewall for a newbie?

I have to install a firewall on my server (so without X Server). It's a debian lenny. If it is possible, I want to avoid the use of iptables. Is there a way to install/configure a firewall for a ...
6
votes
3answers
26k views

Changing timezone on Debian keeps Local Time in UTC

I'm trying to get programs to log in local time for my own sanity. I have updated my timezone with: dpkg-reconfigure tzdata But the result of that command is: Current default time zone: ...
6
votes
3answers
235 views

What provides /etc/exports and how do I find that out?

I have two Debian virtual machines that were built from the same netinstall iso, but probably have different packages installed. One of them has an /etc/exports file for nfs mounts but the other one ...
6
votes
2answers
1k views

What is Debian's stance regarding GCJ and OpenJDK?

Both OpenJDK and GCJ are available for install on Debian, and now I wonder what's happening. Don't these provide same functionality?
6
votes
3answers
644 views

Access to original contents of mount point

On my headless NAS I have sdf1 (a flash-card) mounted as / while /home is mounted from lv00 (an LVM volume backed by a software RAID). To be able to access the machine when the RAID fails, I have a ...
6
votes
3answers
11k views

Trust a self signed PEM certificate

I have set up a proxy server with SSL using a PEM certificate. Now, there is a couple of machines of mine that I would like to trust this certificate automatically (without the web browser ...
6
votes
4answers
13k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
6
votes
1answer
2k views

How can I install more recent versions of software than what Debian provides?

Suppose I want a more recent version of software than is available for my current version of an operating system, what can I do? Cases to consider: There are semiofficial/official sources of ...
6
votes
2answers
41k views

How can I easily configure samba share in Debian Wheezy?

I have just installed a new Debian Wheezy and I am trying to create a new share. I am using KDE 4, and there in the folder preferences menu I found option to share the folder with Samba - it doesn't ...
6
votes
2answers
16k views

Installing Debian without GUI for a web server

I'm unfamiliar with Debian (obviously), so I downloaded the live ISO thinking it might help me out. From the live GUI, I doubled click on the install icon on the desktop and proceeded - it gave me a ...
6
votes
2answers
5k views

How do I temporary change my keyboard layout on Debian? (no X)

How can I quickly change my keyboard layout between US and German? setxkbmap does not apply here, as I only have an SSH shell. Persistent changes via dpkg-reconfigure keyboard-configuration ...
6
votes
2answers
182 views

Why do some scripts need constant re-sourcing during debian init?

Studying the init scripts, I'm puzzled as to why some subsidiary functions need to be re-sourced again and again. Specifically the logging functions found in /lib/lsb/init-functions. Every script that ...
6
votes
2answers
10k views

Can't find smbfs package in Debian Wheezy

In squeeze there was a package smbfs for mounting samba filesystems. In wheezy this is no longer present. What is the new package name? Is there a general formula to solve problems like this?
6
votes
3answers
504 views

Distro for a startup?

We run a small start-up in the SaaS industry. About half of our current staff are developers using their own laptops with various Linux distros (Ubuntu, Debian, Fedora) with a few exceptions of ...
6
votes
1answer
4k views

How to make a distro be fullscreen on VirtualBox?

I'm running Debian as host and I fail to get Debian, Ubuntu, and Fedora guests to be fullscreen. Changing video memory didn't help. NOTES: I haven't tried any other distro I didn't create WinXP ...
6
votes
1answer
378 views

Source code of the screens of debian-installer

Where do I can find the source code of the screens of the installation process of Debian? I've tried: apt-get source debian-installer But in this package I do not see the source code. To be more ...
6
votes
2answers
10k views

incoming ACCEPT all iptables rule still appearing

I'm following this guide here: http://isalazyadmin.net/2009/07/02/configuring-a-basic-firewall-for-debian-linux/ And I have the iptables listed shown, but my server still appears to be accepting all ...