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
210 views

Cannot change vncserver default geometry

I'm using Ubuntu 12.04 (I think it's desktop...) and running vncserver to connect to it remotely. I can successfully set the resolution if I use the -geometry flag when starting the server, but I ...
2
votes
1answer
872 views

Installing Fedora with windows 8

I have a laptop with windows 8 and I installed Ubuntu and it is now dual booted. I want to replace the Ubuntu with fedora. When creating the partitioning the fedora gives me error : For a UEFI ...
2
votes
1answer
2k views

My cloud server came with PermitRootLogin without-password, is it normal?

I was just wondering if it is normal that in the Ubuntu 14 provided by my cloud hosting company,there is this configuration in the file /etc/ssh/sshd_config : PermitRootLogin without-password ...
2
votes
1answer
2k views

Commands for successful domain controller replication on Ubuntu / Samba4 / Zentyal

I have a Primary Domain Controller (PDC) and an Additional Domain Controller (ADC) running on two different machines at two different locations connected via a VPN. Both are running a version of ...
2
votes
2answers
2k views

many many dpkg errors while upgrading

I am using Ubuntu 14.04, newly upgraded from 12.04. I was trying to upgrade my software, but it is showing many, many dpkg errors regarding texlive-*. When I type following command: sudo apt-get ...
2
votes
2answers
2k views

Print job “Held for authentication”

Following the instructions here, I have installed a Samba print server on an ARM-based Udoo-quad running Udoobuntu 12.04 LTS. The Samba server is working, and (after setting guest ok = yes in the ...
2
votes
1answer
158 views

What to do when you removed execute permission from some system binaries or libraries?

It seems I removed executability from system binaries, resulting in loads of Permission denied. Do I have to force reboot into host's rescue mode or is there something else I can do while I'm still ...
2
votes
1answer
187 views

Does pgrep output ever include the parameters supplied to the process?

The snippet below (from an existing script) is used to check the xvfb processes and whether they are listening on a specific port: my_list=`pgrep -u $CurrentUserID -fl Xvfb | grep :${XVFBPORT}` ...
2
votes
1answer
141 views

Unable to install handbrake on Ubuntu 13.10 via PPA

I'm trying to install handbrake on my system Ubuntu 13.10 via PPA but not able to do so. I followed this website. I ran the below commands: $ sudo add-apt-repository ppa:stebbins/handbrake-releases ...
2
votes
1answer
115 views

Lubuntu IP conflict [closed]

I have this friend who recently installed Lubuntu on his Asus Netbook to try it out. Problem is that even though he can find all network connections and after trying to connect to two of them (giving ...
2
votes
1answer
64 views

how to know the use of my applications?

I want to know how long my programs have been used. For example if I use my web browser I want to know the start and the close time to obtain a total of use time. Basically I want to know when an ...
2
votes
2answers
774 views

inotifywait different action on file or dir

I'm trying to make a inotifywait script take different actions for files vs folders if it sees a close_write flag being raised in the watched directory, but cannot seem to get the checks working. In ...
2
votes
1answer
285 views

Is there a way to manipulate lines in logcheck rules before sending?

There are a few cases, such as netfilter logs, where it would be great if I could send the report logcheck is about to send through a filter. logcheck(8) doesn't seem to describe anything like this, ...
2
votes
2answers
2k views

Automagically upgrade Ubuntu 10.10 32bit to 12.10 64bit

I'm looking for a little advice, I would like to do an upgrade preferably through the update manager from my current 10.10 32bit Ubuntu Box, to 12.04 64bit, can anyone think of anyway I could do this ...
2
votes
2answers
3k views

How to use casper-rw file for persistance

I have my USB stick setup using Easy2Boot. It allows me to drop ISO files onto the USB drive and boot from there no config or tweaking needed. I have been doing research on making it persistent. I ...
2
votes
1answer
1k views

Creating a Vagrant box with Docker installed

I'm trying create a nice playground for Docker in Vagrant based on Vagrant's precise64 box. (Code is available at GitHub: rfkrocktk/docker-vagrant-playground) Here's my Puppet provisioning ...
2
votes
1answer
315 views

lockfile-progs utilities usage [duplicate]

There is another question that is related, but it is actually different, because I'm asking why the behavior of lockfile-create & lockfile-touch is different to the current contents of the manual ...
2
votes
2answers
7k views

“sudo service vsftpd” returns “Unknown job: vsftpd” [closed]

I installed vsftpd on ubuntu 14.04 and when I want to stop or restart vsftpd service this message showed and nothing happened in service status! root@ali-lap:/home/ali# service vsftpd restart stop: ...
2
votes
2answers
591 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
2
votes
1answer
248 views

When and why is /etc/init/failsafe.conf invoked on Ubuntu Server 12.04?

Could someone please tell me when during the boot process and why /etc/init/failsafe.conf is invoked? If possible, please point me towards a resource (keyword or link) where I could read more about ...
2
votes
1answer
732 views

How to check what `wondershaper` has done?

I used this command: sudo wondershaper eth1 20 20 to limit network traffic. The command shows no errors. But I need a command or network monitor or gui which confirms this limitation. For example, ...
2
votes
1answer
126 views

chmod 600 fails silently

Here is what happens: $ chmod 600 foobar.txt $ ls -l total 1 -rwx------ 0 sampablokuper sampablokuper 13 Feb 19 21:00 foobar.txt Why is the last line not reading as follows? -rw------- 0 ...
2
votes
2answers
980 views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
2
votes
3answers
9k views

connecting laptop to LCD TV via VGA cable

I'm trying to connect my laptop (Acer Aspire 5315 having Ubuntu 13.04) to Samsung LCD HDTV. I connected the VGA cable; one end on my laptop VGA socket & the other on the TV VGA socket. But when I ...
2
votes
2answers
508 views

ssh key doesn't work for one server but works for another [duplicate]

debug ssh works Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/vinatia/.ssh/id_rsa debug1: Server accepts key: ...
2
votes
4answers
314 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
2
votes
1answer
4k views

/etc/environment not working

I am using Ubuntu 12.04. Recently, I accidentatlly removed python, causing a huge number of packages to be uninstalled. I reinstalled them, but now I am having problems. $ echo $PATH ...
2
votes
2answers
356 views

“Unable to connect to X server” after TTY login

I'm using Ubuntu 13.10. Whenever I login on the command line (tty1-tty6) I get the following output: Last login: ... Welcome to Ubuntu 13.10 ... Unable to connect to X server Unable to connect to X ...
2
votes
1answer
1k 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
1k 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
188 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
248 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
644 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
85 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
335 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
988 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
350 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
5k 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
269 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
463 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
2k 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
2k 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 ...