Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

5
votes
4answers
4k views

Is Ubuntu LTS binary compatible with Debian?

RedHat and CentOS are binary compatible. So everything that works on the one will most propably work on the other (same RPMs, same libs, same versions, same dependencies)... Does the same hold true ...
2
votes
0answers
640 views

PPPoE connection problem

I have just installed Backtrack 5 R2 and I'm finding it difficult to make a DSL internet connection. What troubles me is that I think I have all the steps figured out, and after completing them, the ...
8
votes
1answer
468 views

Finding the library versions a library was linked against

I have a library that was compiled on an unknown Ubuntu machine, And I'd like to determine what version of Ubuntu that machine had at the compile time. My idea was to try and find the versions of ...
2
votes
1answer
844 views

Run an application under Tomcat

I have an application that needs to run under Tomcat. I have installed Tomcat but I don't know where can I put the directory of the project.
1
vote
1answer
189 views

Rake - “bundle exec” - how can I avoid `bundle exec` with my `rake spec`

When I try to bundle exec I'm getting You have already activated rake 0.9.3.beta.1, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this. ... I have rake, version 0.9.3.beta.1 ...
1
vote
3answers
2k views

How can I share a desktop / log in graphically for an Ubuntu that I have ssh but not console access to?

http://www.ubuntugeek.com/share-your-ubuntu-desktop-using-remote-desktop.html tells how to share a desktop by setting multiple features from within a GUI. Is there such a HOWTO that is based on ssh ...
2
votes
0answers
159 views

Forcing X to recognise video ram, saving the file 99-vesa file

So I was looking at a question about forcing X to recognise video memory to achieve 1080p resolution, however when I finished the following piece of code: Section "Device" Identifier ...
1
vote
0answers
98 views

Have network always wait for a network connection?

Just as the title says, is there a way to tell Ubuntu Server to constantly wait for an ethernet connection after it gets disconnected? Use case: Ethernet cable gets unplugged (intentionally) for a ...
1
vote
0answers
239 views

Dual/Triple Booting with dmraid and non-raid disk

I currently have 3 hard drives in my computer The first two disks are in a RAID-1 array, using an Intel P55 chipset, and accessed through dmraid, with the third drive partitioned like so: Filesystem ...
8
votes
3answers
18k views

Applying changes to xorg.conf without restarting

I'm using Ubuntu 12.04 and making some changes to /etc/X11/xorg.conf. I now need to restart X server to apply the changes, but I don't want to restart my machine. I know restarting the display ...
4
votes
1answer
3k views

In Ubuntu, is there a way to virtually merge two folders without unionfs or aufs?

I've got a source control system at work that I can't modify which scatters a bunch of files in unfortunate places. My IDE expects these folders to be in a single unified location. Normally I'd just ...
2
votes
1answer
1k views

Lm-Sensors: Run specific commands when temperature goes above/below limits

I have a pretty badly ventilated computer whose temperature reaches 100º C in some occasions. The poor thing can't be ventilated any better ("put a bigger fan" is not a suitable solution). When the ...
1
vote
0answers
240 views

Unable to login due to invalid screen resolution

I changed the screen resolution on Ubuntu 12.08 using the GUI, but I think I've changed it to an unsupported resolution, and now the system logs me out immediately after I login. I tried using xrandr ...
1
vote
1answer
1k views

Partitioning scheme for a virtual machine host

I am planning to use an Ubuntu Server 12.04 with KVM to create 2 virtual machines. Reading some docs on the net, I have found that a good approach is to use LVM based VM, so my idea is to have: 1 ...
4
votes
2answers
11k views

(L)ubuntu 12.04 syslog to custom file (not /var/log/syslog but /var/log/mylog) - ubuntu 12.04

I successfully tested the following syslog "hello world" example on ubuntu 12.04: // gcc giuspexample.c -o giuspexample #include <syslog.h> int main(int argc, char *argv[]) { ...
5
votes
2answers
11k views

How do I resize GNOME shell top bar

I am on Ubuntu 12.04 and installed gnome-shell, but I found the top bar is larger than it normally is, how can I change its size?
3
votes
1answer
550 views

how do I enable fluxbox instead of Gnome by default in Ubuntu

I'm working on a VPS which I can control with PuTTY and FreeNX. I don't have enough RAM for Gnome, so I want fluxbox to start by default instead of Gnome. how do I do that?
5
votes
5answers
4k views

A system-wide way to set or get $JAVA_HOME in Ubuntu?

I wonder whether Ubuntu itself provides a system-wide way to find the current JAVA_HOME or whether there is right place for setting JAVA_HOME. Mac OS X does well in this, for /usr/libexec/java_home ...
0
votes
3answers
377 views

Why “Linux Generic” use RPM extension in MySQL download page?

I need to install MySQL 5.5 from source in Ubuntu 10.04. So I'm trying to find tar.gz source from here. But when choosing "Linux Generic" from the drop down menu, it is showing an RPM extension I ...
0
votes
2answers
645 views

Will suspension or hibernation of OS suspend running programs?

I am running a program in my terminal. BUt I need to suspend or hibernate the OS (Ubuntu 12.04) for a while. Do I have to Ctrl-Z my running program before doing that? Or will suspension or hibernation ...
35
votes
4answers
145k views

“Input/output error” when accessing a directory

I want to list and remove the content of a directory on a removable hard drive. But I have experienced "Input/output error": $ rm pic -R rm: cannot remove `pic/60.jpg': Input/output error rm: cannot ...
7
votes
5answers
6k views

How do I switch from Ubuntu desktop to Ubuntu server?

I'm currently setting up a home server using a very, very old PC. It has Ubuntu 11.10 installed on it, but it can't actually handle the GUI. I want to install the server edition of Ubuntu, which is ...
1
vote
1answer
596 views

How does apache determine what directory to show from public_html?

I am using Ubuntu 12.04 and have configured apache to serve from ~/public_html. I am trying to serve some directory contents over http on LAN. When I did the following: ln -s ...
6
votes
2answers
24k views

How to fix non-responsive Ubuntu system?

I use Ubuntu. Sometimes, the system does not have any response with mouse and keyboard. Is there any way to solve this problem except hitting the reset button on the machine?
2
votes
1answer
268 views

Should 'LC_ALL=fr_FR.UTF-8 date +%x' give consistent results across machines?

The %x format specifier to the date utility should, according to the man page, use the locale specific date format. However, when I specify the same installed locale and try this on two different ...
2
votes
2answers
901 views

RAM usage doesn't add up? (Free+used < total)

Lately I've been noticing that my monitoring script which reads from /proc/meminfo and /proc/<pid> has been showing odd readings, where several hundred MB seem to be missing. htop is showing the ...
0
votes
1answer
256 views

relation between unity on ubuntu and unity game engine?

I am just curious to know if there is any kind of relation between Unity(the latest shell interface for gnome in ubuntu) and the Unity game engine, apart from having the same name ? I'm no expert in ...
2
votes
2answers
9k views

telnet to localhost and loopback device IP works, but not LAN ip (Xen + Ubuntu)

I have set up Xen + Ubuntu per the instructions at https://help.ubuntu.com/community/XenProposed. I am now ready to install a HVM guest OS (Ubuntu Desktop 12.04). After I start my HVM guest OS xen ...
1
vote
2answers
1k views

Linux Ubuntu / Mint Live CD user-home customization

I'm trying to customize Linux Mint Live CD with these instruction (uck doesn't work for me). What I want is to have more icons at its Live CD user (/home/mint/Desktop) but I can't find /home/mint on ...
2
votes
3answers
1k views

Dead (compose) keys not working in GTK apps since upgrade

I'm running Kubuntu with KDE as my main desktop environment. A while ago I set up dead keys so I can type Chinese pinyin and other accented letters and special characters. As a side note, I use IBUS ...
5
votes
3answers
10k views

domain 'ubuntu-hvm' does not exists, xen + ubuntu, hvm guest os installation problem

I am following the installation/setup instructions at https://help.ubuntu.com/community/XenProposed to install ubuntu + xen. I was able to install a PV guest OS. However, when I got to the HVM guest ...
8
votes
1answer
18k views

chmod: What does the `+a` parameter mean?

I was following a tutorial and it told me to run sudo chmod +a "SOME_PARAMS" some/dir I was surprised to see that fail telling me chmod: invalid mode: `+a' So I wonder: What does the +a mode ...
5
votes
2answers
3k views

Why does debian and ubuntu default to runlevel 2?

I never thought about this before, but I was wondering why they chose runlevel 2. Every other distro and OS I've used default to runlevel 3 (with the exception of AIX which also defaults to runlevel ...
5
votes
3answers
10k views

How can I check if mysql is installed using a bash script?

I need to check if mysql is installed from within a bash script. What would be an efficient way of doing that? I thought I could do this: if [ ! -f `which mysql` ] ; then echo "foo" fi But I ...
2
votes
2answers
134 views

Is there an easy way to stop and reissue a command?

I am doing Node.js development in Ubuntu and I'm curious if there is a way to quickly stop and restart a node server. I run this command to start my app: $ node app.js When I make changes to ...
7
votes
5answers
3k views

Unable to connect to a wifi network with an SSID containing diacritics

My current WiFi network (and i'm writing this with the help of Windows -.- ) has a diacritic in it's SSID: "ö". If changing the SSID is not an option, how to connect to such a network? This does not ...
0
votes
0answers
1k views

Wireless connection connecting and disconnecting all the time

I am running Ubuntu 11.04 on my laptop and I use a 3G USB modem for my Internet connection. I wanted to share this Internet connection with my girlfriend's laptop that is running Window XP. ...
11
votes
4answers
15k views

'mv' equivalent of drag and drop with replace?

In a GUI environment, a drag-and-drop with replace will replace files and entire directories (including contents) with whatever is being copied in. Is there a way to accomplish this same intuitive ...
2
votes
2answers
16k views

Problem with SSH “ Write failed: Broken pipe ” [duplicate]

Possible Duplicate: What does the Broken pipe message mean in an SSH session? I run a program on server with SSH ! the program runs normaly and after a period of time i receve a message ...
11
votes
3answers
2k views

In awesome window manager, how can I make key bindings send keyboard events?

I don't think that title probably helps very much, but here's my issue: I'm using the awesome window manager and am trying to make my key bindings to be similar in flavor to OSX for special keys. ...
3
votes
1answer
2k views

inode limitation on a 500GB hard disk? Can you explain please?

I am launching a social networking website on LAMP Stack on Linux Ubuntu, I know that people are going to upload lots of pictures. Let's say I have 5000 users and each user upload a minimum of 100 ...
1
vote
3answers
4k views

Can't install pg gem

I cant get the pg gem to install. I have tried --with-pg_config and it didnt work. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
1
vote
1answer
2k views

Hiding files on FTP server

I have an Ubuntu server and I run an FTP server on it. I changed its folder structure and want to restrict access of users to some of the files not all of them in a way that other files be hidden to ...
2
votes
2answers
2k views

Retrieve deleted files on Linux VM guest

I use Ubuntu on VMware to learn how to use Linux. I used rm on some folders and mistakenly deleted some files from /etc. I have some very important files on it. Is there a way to retrieve that files, ...
33
votes
4answers
118k views

SSH login with clear text password as a parameter? [duplicate]

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 won't have access to ...
5
votes
2answers
4k views

Compiling FreeRTOS on ubuntu

How could I compile the FreeRTOS Source Code and run it (possibly on qemu) on Ubuntu 11.04?
10
votes
2answers
14k views

Configuring syslogd in Ubuntu

In CentOS and many other distros you can configure syslogd using /etc/syslog.conf but in Ubuntu there is no such file. Which file I should edit for configuring syslogd in Ubuntu.
2
votes
2answers
4k views

How do I install the cs_CZ.ISO8859-2 locale on Ubuntu 12.04

I need the cs_CZ.ISO8859-2 locale to exist on Ubuntu 12.04 so a specific unit test can pass. The test makes the following call: std::locale("cs_CZ.ISO8859-2") On my OS X Lion install, this locale ...
2
votes
0answers
478 views

acpi_listen returns different result in Ubuntu than Arch Linux

Ubuntu is able to detect my Lenovo "Mic Mute" button with acpi_listen, but when I try it on Arch Linux, there is no output available. Model: Thinkpad X220 4290LY9 Tried to add acpi_osi=Linux in ...
4
votes
2answers
9k views

What are the ramifications of not having a valid partition table?

I recently upgraded my Ubuntu from 11.10 (Oneiric) to 12.04 (Precise Pangolin) on a Dell Inspiron B130 Laptop. When I run fdisk -l it says that my HD doesn't contain a valid partition table. I have ...