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)

102
votes
14answers
325k views

How do I set my DNS when resolv.conf is being overwritten?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
0
votes
0answers
23 views

How to change dropdown color in Firefox on Ubuntu?

I've updated Firefox recently, and the background color of the suggestions dropdown menu has changed from white to dark-gray (desktop theme default). How do I change it back to white? I've created a ...
1
vote
1answer
19 views

PHP does not use MySQL default sockets

I am having a hard time understanding why PHP cannot connect with localhost as a host. I can connect by doing: mysql -uroot -p And also, through Sequel Pro I can connect with localhost as a host. ...
1
vote
1answer
3k views

How to troubleshoot and fix Wifi driver on Wandboard DUAL?

Environment Wandboard DUAL C1 Ubuntu Trusty using these instruction Issue I was able to install Ubuntu Trusty and I am failing to get the Wifi driver to work. root@ubuntu-armhf:~# uname -a Linux ...
0
votes
2answers
803 views

Vagrant: missing destination file operand after ‘/etc/exports’

I'm running Vagrant 1.7.3 with an Ubuntu 14.04 basebox, and I want to try out the new Puppet 4.2.0. However, when I run vagrant up on an empty VM, I get the following error: cp: missing destination ...
1
vote
1answer
41 views

Strange things happen when I close my laptop lid

I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time. I have noticed a few small bugs but something very strange happens when I shut the ...
0
votes
0answers
52 views

How do I set up network connection via 3G USB modem for Linux?

I've spent a lot of time searching for a solution, but now I'm here. I need to set up LG 3G USB modem for my Ubuntu 16.04. The system is able to see the device: $ lsusb Bus 001 Device 004: ID 1004:...
3
votes
3answers
9k views

“Could not connect to display” in one user account

I have a GUI application written in Qt and I wanted to run tests by ssh (or Jenkins). There is only one user account, which allows to run it in display mode (ofc when I previously do "export $DISPLAY=:...
2
votes
0answers
57 views

unable to install anything using apt-get because of insserv

Whenever I try to install something using apt-get I get the error messages involving insserv. I have tried install many different packages but everything give same error. And apparently, CUPS package ...
2
votes
1answer
2k views

Ethernet Connection not working on Ubuntu 14.04 (with Windows 10 dual boot)

I've dual booted Windows 10 (first) with Ubuntu 14.04. The ethernet works fine when logged into Windows, but when I log into Ubuntu, The Connection Icon (right on the top tray) shows the wireless icon,...
1
vote
3answers
7k views

How to repair Ubuntu after upgrade? (from recovery mode)

I have gone through countless threads on the following error and none have helped. Your screen, graphics card, and input device settings could not be detected correctly. You will need to configure ...
0
votes
0answers
43 views

Serve ASP.NET Webforms content on Ubuntu 16.04 from 2 different root directories using one XSP4 child process?

We would like to serve ASP.NET Webforms content on Ubuntu 16.04 from 2 different root directories using one XSP4 child process. In /etc/mono-server4, I created debian.webapp specifying root ...
0
votes
0answers
40 views

fortran program crashes instantly with segmentation fault

I have a fortran program which I compiled myself and I ran the executable hundreds of times (without recompiling or anything), but now when I run it, it crashes instantly with segmentation fault. ...
2
votes
0answers
17 views

VPN with iptables and routing: access port from local network

I use a commercial VPN provider with OpenVPN as client on Ubuntu Server 14.04 LTS (but doing some testing on 16.04 LTS too). I have configured iptables and routing tables to mark packets based on user ...
-2
votes
0answers
112 views

How to Have Rapid Thumbnail View for Presentations?

I would like get faster review of presentation thumbnails in Linux, which has been tried to be solved since 2012 unsuccessfully in many forums, here AskUbuntu thread, here LibreOffice thread and here ...
1
vote
2answers
1k views

how to solve the error in cinder on openstack havana?

I am install openstack controller node for one machtion, and Another metchion running nova-compute only. so I am running controller node cinder will got error. I clearly meantion it which service ...
2
votes
1answer
63 views

Bridged networking problem with Xen 4.6 and Ubuntu 16.04

I'm trying to setup a Xen virtualization on Ubuntu 16.04, and Xen 4.6. My plan is to have 1 private network, as well as virtual servers with public IP addresses which should be accessible externally (...
1
vote
1answer
30 views

Run a script after login that prints to the terminal a welcome message?

I want a script that writes to the terminal a welcome message (something like echo "welcome, usr. Linux version..." etc). I have the script written, it works (i.e. it has execute privileges) so I know ...
2
votes
2answers
565 views

Remove nouveau driver (nvidia) without rebooting

I have a Ubuntu Version here, that is started from USB as a Live version. I do not want to install it on hdd, because it would be too much for only testing a small thing on Ubuntu. So I started ...
3
votes
0answers
62 views

How do I define an Ubuntu Linux16.04 systemd service for fastcgi-mono-server4 or xsp4?

How do I define an Ubuntu Linux16.04 systemd service for fastcgi-mono-server4 or xsp4? I have already defined an Ubuntu Linux16.04 systemd service for apache2 by copying obex.service to apache2....
4
votes
1answer
897 views

How to set LANG in locale, despite it's in /etc/default/locale in ubuntu for unicode support?

I run Ubuntu 12.04, I can't set the locale to en_US.utf8. I set the LANG by configuring /etc/default/locale as described here. $cat /etc/default/locale LANG=en_US.utf8 $locale LANG= LANGUAGE= ...
1
vote
0answers
27 views

How to install mailman when it needs an older version of Python?

I am working on an install of mailman 3.0.3 on Ubuntu Server 16.04 which ships with Python 3.5.1 and 2.7.11. Per Barry Warsaw that version of mailman requires Python 3.4.n. https://gitlab.com/mailman/...
0
votes
1answer
37 views

Custom greeting when I log in via ssh

I need to create a custom greeting message on my server when I log in via ssh. Or at least I want to add some information to it. I have none of these files: /etc/ssh/sshd_config, /etc/motd. So how can ...
0
votes
1answer
130 views

Ubuntu 16.04, Nvidia driver issues

Ok first off I tried installing the nvidia-current-updates but upon reboot both Unity and Cinnamon crashed. Removed them then tried the official 361-42 drivers. I can login to a desktop but there's ...
0
votes
1answer
62 views

Why I cannot purge mono-devel on Ubuntu Linux 16.04?

After I sudo apt-get install mono-devel , when I try to purge mono-devel on Ubuntu Linux 16.04, I get the following error message: Reading package lists... Done Building dependency tree ...
1
vote
2answers
57 views

How to Make MoveToTrash mean Delete Permanently by One-liner?

I did Move to Trash > Empty Trash. However, .fileNames and .directoryNames stay in the filesystem those .files/.directories which have exactly the same name as my deleted files/directories For ...
0
votes
1answer
50 views

How to lump together Apache2 Server and xsp2 server in the configuration for auto start when the PC reboots?

We need to lump together Apache2 Server and xsp2 server(or mod-mono-server server) in the configuration for the auto start sample shown below when the PC reboots. Quoting from the article, http://...
0
votes
0answers
20 views

Relationship is between Apache2 and xsp2 (or mono-xsp2) for an Ubuntu Linux 16.04 system which serves mono ASP-NET content to an web browser user

I am interested in knowing what is the relationship is between Apache2 and xsp2 (or mono-xsp2) for an Ubuntu Linux 16.04 system which serves mono ASP-NET content to an web browser user requesting an ...
1
vote
0answers
124 views

prefork doesn't appear to be listening to MaxClients in config file

Apologies in advance if this is a stupid question, I'm new to all of this! I have prefork installed on a ubuntu server which I confirmed by running aptitude search apache2-mpm- Which gave me p ...
13
votes
4answers
7k views

How to /dev/null background processes “informational” output?

[USER@SERVER ~] sleep 3 & [1] 5232 [USER@SERVER ~] [1]+ Done sleep 3 [USER@SERVER ~] How do I /dev/null these two messages?: [1] 5232 [1]+ Done sleep ...
2
votes
1answer
964 views

Linux - rendering performance after switching from nvidia to nouveau drivers

I use UBuntu 14.04 LTS. I have purged all nvidia proprietary drivers and currently my system use Nouveau driver. Here is an output from glxinfo | grep OpenGL : when using nvidia propietary drivers ...
18
votes
2answers
4k views

How do I make my laptop sleep when it reaches some low battery threshold?

I'm using Ubuntu, but I have i3 as my window manager. Under i3, when my battery reaches 0%, the computer will just abruptly shut down, no warning or anything. Is there a simple script or ...
-2
votes
2answers
751 views

How to install Octave without GUI in Ubuntu 16.04?

I am really angry. Just installed the new ubuntu and run apt-get install octave. I got tons of crap installed (like Java, some QT libraries, and other pollution). How can I install Octave in Ubuntu ...
0
votes
1answer
22 views

Couldn't connect to Larvel homestead database with MYSQL workbench

I am unable to connect to laravel homestead via mysql workbench here is how i connected but i am facing the below issue Plz Plz help me !!! Edit: Here are the details as requested by Gerath ...
0
votes
1answer
2k views

Can't get grub to boot windows 7 partition. “error: invalid EFI file path”

I have an "HP pavilion 7008tx dv7" laptop. It came bundled with Windows 7 and has two 1TB HHD and an 32G SSD. Here is the output form "sudo parted -l": Model: ATA TOSHIBA MQ01ABD1 (scsi) Disk /...
0
votes
0answers
55 views

wkhtmltopdf and pdfkit issues in python

Hello I am developing an web with python Flask in a linux server, in doing so I am trying to use pdfkit and wkhtmltopdf. I am using a linux server(ubuntu). In Putty, after logging into my server, at ...
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 ...
1
vote
0answers
64 views

Assistance with mdadm.conf syntax for reassembly of existing RAID0

I'm trying to recover a friends data from a Sony Vaio VGN-AW47GH Laptop. It has a pair of Toshiba MK5055GS 2.5" 500GB HDD combined (according to my reading) into a 1TB RAID0. The laptop is no longer ...
0
votes
0answers
12 views

Ubuntu won't lock on lid close, lock keystroke, or settings -> lock on Ubuntu 12.04 LTS installed via croton to a chromebook

I installed Ubuntu via this guide http://lifehacker.com/how-to-install-linux-on-a-chromebook-and-unlock-its-ful-509039343 using the unity option instead of xfce. When I close the lid, hit the lock ...
0
votes
1answer
25 views

Is the openjdk-r ppa trustworthy enough to install on server?

We are running ubuntu 14.04, which still does not have openjdk8 yet. And I doubt they are going to fix this very soon. We need jdk8 very badly. Is this openjdk-r ppa safe enough?
5
votes
4answers
976 views

Window Manager for TV

I have Ubuntu installed on my computer, which is hooked up to my TV. I have tweaked some of Gnome's settings to make it easier to use from my couch (display larger fonts, increase the size of the ...
6
votes
1answer
6k views

Running F.lux (Flux) or Redshift with Multiple Monitors with Nvidia Optimus

I have tried installing F.lux and then Redshift, and configured them to run on multiple monitors with no success. I wonder if my setup, which includes Nvidia Optimus setup using Bumblebee could be the ...
3
votes
1answer
3k views

Sound volume control does not work in Ubuntu

My sound volume control does not work when I'm logged in with my regular user, though the sound works correctly. What's weirder is that the sound control works when I'm logged in as guest. With my ...
4
votes
1answer
2k views

Powertop doesn't display Power est. column

When I run powertop, it doesn't display the "Power Est." column that shows the estimated power consumption in Watts of each row. It should look like in the screen capture here: MacBook Pro Retina: ...
0
votes
0answers
13 views

Ubuntu Gnome stuck in startup(gnome logo) sometimes

I pick a(successful startup) and b(fail to start) dmesg file, hope someone can help me differ the file and find out why sometimes my ubuntu system fail to start(it frozen before login interface ...
0
votes
1answer
22 views

Continue monitor web server and download newly added files

What are the best way to continuously monitor a web server (HTTP) and download newly added file with min. delay (ideally < 1min. delay)?
0
votes
0answers
14 views

Multiple Subinterfaces on a Wireless NIC (Ubuntu)

I need to create multiple subinterfaces on a wireless NIC. I have done it on a regular wired NIC before but before I test myself, I wanted to find out from the community if it is possible. The ...
7
votes
1answer
5k views

how to enable command history of shell

I am using ubuntu 13.04, in this the command history of the shell is getting erased on close. Can someone tell me how to prevent this from happening?