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)

2
votes
1answer
982 views

PHPStorm changes group when saving file

When editing a file with PHPStorm, the group is changed from www-data to my local user. I've added my local user to the www-data group, and if I edit the file with gedit/vim/etc. the group stays as ...
2
votes
1answer
988 views

How to properly setup web server directory permissions

I'm lost with this, hopefully I can find some help here: I have Ubuntu 12.04 LTS webserver. For example I have user "myuser". There is a public directory which is my web root. I chowned it and all ...
2
votes
1answer
175 views

Does my VM need to be on the same LAN IP range to ping?

I have a home LAN where all internal IP addresses are in the rang 192.169.0.0-254. However, on one of those computers I have setup a CentOS VM, which currently seems to be set to 10.0.2.1. So the VM ...
2
votes
1answer
229 views

How to auto-mount all USB-devices at same USB socket to same mountpoint

I have a small computer with 2 USB sockets : A and B. I want any external USB disk, attached to socket A - to be mounted as "deviceA" I want any external USB disk, attached to socket B - to be ...
2
votes
1answer
2k views

Bridged network with different subnets

I want to virtualize my webserver with lxc/virsh for this reason, I want to pass a IP to the lxc container. But my IPs are from different subnets, what I tried (but not successfully): Virsh network: ...
2
votes
2answers
597 views

Do I need a special firewall on a personal computer

I am relatively new to Linux and was wondering about security issues. Most people agree that a virus-scanner is not useful on a linux system, but what about a firewall? I am using Debian wheezy stable ...
2
votes
1answer
38 views

Ubuntu blocks access to services when not logged in

I'm not really sure what's going on here. I have the following: A fresh install of Ubuntu 12.04 LTS. Jira 6.1.2 installed as per instructions from Atlassian. Confluence 3.5.13 installed as per ...
2
votes
2answers
83 views

How can I automate a task on a certain event?

Playonlinux and WINE are great. Finally I can have my favourite games and the joys of Linux without having dual-boot or filling my disk with Windows crap! But some are quite old, and only run on lower ...
2
votes
1answer
69 views

Is there a way to get apt-get to install from different distributions in one single command?

I'm building a package from source in Debian Wheezy, which has a few build-deps that cannot be satisfied by stable. Therefore, I use a few packages from unstable, testing and wheezy-backports. The ...
2
votes
2answers
299 views

How to use -d in ntfsundelete?

As far as I can tell from the manpage of ntfsundelete getting a file back is done with e.g. ntfsundelete /dev/sdb3 -u -m important.txt which would undelete the file in-place. If I don't want ...
2
votes
2answers
846 views

Kernel freezes on loading ramdisk. How to find out what's wrong?

I'm using an Ubuntu Server (13.04) Minimal installation (with the Xubuntu Metapackage as a desktop environment, if that matters) on x86_64 on my Samsung notebook. I'm currently forced to use the ...
2
votes
1answer
334 views

How can I access a shared folder from R on Ubuntu to a 2nd Ubuntu machine using Samba?

I have two machines running Ubuntu 12.04 LTS with Samba installed. I have access to myshared folder as expected. However, when setting in R the path smb://mymachine1/mysharedfolder to read a file it ...
2
votes
2answers
81 views

uXlib.h Which package have this lib file?

I am getting an error uXlib.h not found while compiling a program, written in c++ I think the lib file is related UIM/X from the following link motif.ics.com/sites/default/files/ReferenceManual.pdf‎ ...
2
votes
1answer
4k views

Can't start Tomcat on Ubuntu

I installed Tomcat on Ubuntu. Then I created a new user. Then did: liferay@web-svr:~/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/bin$ chmod +x *.sh Afterwards, I added JAVA_HOME and PATH in bash like ...
2
votes
3answers
261 views

Automated mounting for usb drives in linux

I have a five 4TB usb drives. I want to setup a mount point, /mnt/backups so that when I plug in any of those drives, they get automatically mounted to /mnt/backups. The problem is that when the ...
2
votes
3answers
438 views

denyhosts is blocking existing users from logging in from unknown (new) IP addresses

I have denyhosts set up and working on Ubuntu 12.04. It apparently works well, except it is too strict. I can log in from any IP address that I have added to hosts.allow in advance. My sshd_config ...
2
votes
1answer
2k views

“PS/2 Generic Mouse” gets lost. How to reload without reboot?

I am running Ubuntu 12.04LTS on a ThinkPad E420s. My Trackpoint is recognized as "PS/2 Generic Mouse". My problem is that it doesn't load/disappears after booting or after suspension. I can't move ...
2
votes
1answer
2k views

Font letter spacing issue with PhantomJS/wkhtmltopdf on Ubuntu

I'm using PhantomJS/wkhtmltopdf on Ubuntu 12.04 LTS to convert HTML to PDF and get very strange letter spacing errors. For instance, the internal distance between es and xa seems very random and ...
2
votes
1answer
4k views

openssl-1.0.1e compiling on Debian

I am compiling OpenSSL-1.0.1e on Debian Lenny (armv4 architecture). I have been following the instruction on http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html to compile the source ...
2
votes
1answer
4k views

Ubuntu server cannot access the Internet: appears DNS related

This is a Drupal website running Ubuntu 12.04 LTS on Linode. The server is just a website. It is not a DNS server or anything else. Here are my issues. It seems they are all related to DNS issues. ...
2
votes
1answer
1k views

Local port forwarding automatically configured on boot?

I have software which needs to run as a non-root user, but needs to listen on port 80 and 443. With iptables, this isn't all that difficult: sudo iptables -t nat -A PREROUTING -i eth0 -p tcp ...
2
votes
1answer
1k views

How to check if hot-swap or hot-plug are activated on my Linux machine

I have Ubuntu 12.04.1 LTS 64-bit on a PowerEdge 2900. My current setup has two 300GB disks (no RAID), but I want migrate the system to three new 600GB disks. I'm trying to connect the new disks, make ...
2
votes
3answers
2k views

Using sudo in openSUSE without actually changing to root user (i.e., like in Ubuntu)

I recently started trying openSUSE 12.3 after having used Ubuntu for a few years. I'm still getting used to openSUSE's treatment of su (and sudo) vs. Ubuntu's use of sudo. I've been reading the ...
2
votes
1answer
299 views

How to figure out GRUB2's menu output

I have just updated a remote machine which is running Ubuntu Server 12.04. I have only access through SSH and now it's asking for a reboot. I'm guessing a new kernel was installed. I need to make it ...
2
votes
1answer
690 views

Installing Debian on USB

From my Ubuntu, I want to create a bootable Debian USB. I tried to install Debian with debootstrap. A brief list of commands is mount /dev/sdb1 /mnt debootstrap sid /mnt http://ftp.debian.org/debian ...
2
votes
1answer
972 views

How to find the type of an img file so it can be mounted

I have a .img file and I want to see what's inside of it. I tried mounting it, but I don't know what filesystem type it is. Is there a way to detect what it is so I can mount it? I'm using Ubuntu. ...
2
votes
1answer
272 views

PPTP server with NIC aliases

I have set up a VPN on a VPS Server using PPTP. I have one NIC with two aliases. eth0 eth0:1 eth0:2 The 3 interfaces have public addresses. eth0 is a French IP, eth0:1 is UK, and eth0:2 is ...
2
votes
1answer
1k views

Writes to FrameBuffer /dev/fb0 do not seem to change graphics screen

In attempting to write directly to the graphics frame buffer /dev/fb0 , (Ubuntu 12.04) , the graphics screen does not change. Has Ubuntu 12.04 invalidated the use of /dev/fb0 , or does it need to be ...
2
votes
1answer
169 views

To check which resource is being accessed by which process

I have some process running on my system. I need to list out which of the process at a moment has acquired/is using one or more of these in my system: Ethernet Camera USB Bluetooth WiFi File System ...
2
votes
3answers
204 views

Wubi limitations

Hi there I am quite new to Linux. Initially I decided to use Linux on VM but now I want to have full fledged experience. But I don't want to partition my PC. Will Wubi work since Ubuntu is ok for me. ...
2
votes
1answer
598 views

Ubuntu Software Raid5 - /dev devices changed, will mdadm raid break

I had a major server failure. The OS is fine and back up and running. Before I plug my raid drives back in and try and mount it I need to ask this simple question. The drives that originally mapped ...
2
votes
2answers
538 views

Automatically build a manually installed kernel module upon installing a kernel update on Ubuntu

I am experimenting with flashcache on my Ubuntu and it looks interesting enough to do a long term test with it. I downloaded the sources, compiled them and installed the resulting kernel module. So ...
2
votes
2answers
1k views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
2
votes
1answer
573 views

Connecting to a WPA2 LAN on Ubuntu with Fluxbox

I'm trying to connect to a new network with Ubuntu 12.04 and fluxbox, and I'm not sure how to get it working. In the fluxbox menu there aren't any wlan-tools or network-manager, and since I'm not on ...
2
votes
2answers
126 views

Cannot Restore LAN Connection

I have two servers, 198.162.0.4 and 198.162.0.10, that were connected across a LAN. They are the components of a DMZ where 198.162.0.4 is the wen server and 198.162.0.10 the application server. ...
2
votes
2answers
1k views

Install Linux on two hard drives

I am new to Linux. I have a machine with two hard drives, the first one has 80GB and the second has 120GB. I am about to format this machine and install Linux. I want to install all the main ...
2
votes
2answers
599 views

Monitor bandwidth usage from different virtual hosts

I've got a VPS running Ubuntu and Apache and hosting several sites on it using virtual hosts. It would be very interesting to monitor which of these sites takes the most power and bandwidth, I've been ...
2
votes
1answer
226 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
3k 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
2answers
337 views

Install Ubuntu for Android

Canonical has an item on their site called Ubuntu for Android. This is a special distribution of Ubuntu which integrates with the Android system. Their website mentions that it is specifically ...
2
votes
1answer
515 views

Mail Dispatcher Agent: Could not access the outbox folder (Unknow error. (Failed to fetch the resource collection.))

Why am I receiving this error message on Kubuntu since I upgraded to 12.04 and how can I make it stop appearing? It appears as a pop up balloon above the system tray. Mail Dispatcher Agent: Could not ...
2
votes
1answer
2k views

Have Samba “proxy” for another server?

This might be a weird question, but can you have Samba "proxy" for another server? IE if mount a share on \\server1\someshare the server transparently proxies it to \\otherserver\randomshare. Note ...
2
votes
2answers
674 views

KUbuntu 10.04 / Dolphin File Manager: Is there a way to make .desktop files display the filename the same as the NAME= in the metadata?

As shown in the below screenshot, if I have a Folder Widget setup to point to the Desktop "place", the .desktop files appear with the filename of the Name= value in the file. However, if I browse ...
2
votes
1answer
634 views

Can I disable dead keys for a single application?

I am unable to properly use dead key characters ( ' " ^ ) on (k)ubuntu 11.10 and 12.04 in arduino (a processing based application, at least version 0022 and 1.0). Can I disable dead keys for specific ...
2
votes
1answer
4k views

How to install daemontools on ubuntu or debian from source

I am installing D.J.B.'s daemontools on an ubuntu 10.04 server (64 bit). (This question is about daemontools, which is a free and open software for managing UNIX services. It is not about 'DAEMON ...
2
votes
2answers
761 views

How to increase the timer before drive spins-down?

I use Ubuntu 12 beta on a Lenovo Z575. I noticed that the disk spins down a few seconds after the last operation. When I am working, e.g. in the vim and write quite often, it spins-up and -down ...
2
votes
1answer
528 views

How to set separate global/user keyboard settings in LXDE?

I need to have English (US) and no compose key for the system, and I'd like English (Dvorak alternative international no dead keys) + Caps Lock as the compose key for myself. How can I set this up? I ...
2
votes
1answer
1k views

D-Link Wireless N 150 USB Adapter on Ubuntu

Link DWA-123 wireless adapter, on my desktop running Ubuntu 9.10 the device is being recognized as in, when I hit lsusb i get this entry Bus 001 Device 010: ID 2001:3c17 D-Link Corp. [hex] How do i ...
2
votes
2answers
652 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
2
votes
2answers
603 views

Sapphire HD 4870 GDDR 512 drivers for Ubuntu

I just installed a new graphic card, could someone tell me how can I install the drivers for Sapphire HD 4870 GDDR 512 ? Unfortunately I only see Windows driver on their official website.