Greatest Hits

16
votes
5answers
71k views

How do I find the path to pg_hba.conf from the shell?

I would like to obtain the path to pg_hba.conf from the shell. The path varies between versions of PostgreSQL. For instance, for 8.4 and 9.1: /etc/postgresql/8.4/main/pg_hba.conf ...
47
votes
2answers
53k views

Is there another way to restart the sound system if pulseaudio/ALSA don't work?

I was listening to music, and my sound suddenly went dead in all my applications. I'm using Ubuntu 12.04, which uses pulseaudio, so I tried sudo /etc/init.d/pulseaudio restart, but nothing happened. ...
22
votes
3answers
50k views

How do I fix Netflix requiring Silverlight update?

I'm running Ubuntu 12.04 LTS 64-bit, which I installed using the original release (not the newer 12.04.2 release), and have been successfully using netflix-desktop ever since the ppa:ehoover/compholio ...
10
votes
4answers
51k views

Why am I getting “Permission denied: make_sock: could not bind to address” when starting Apache2?

I can stop it using /etc/init.d/apache2 stop But when I want to start it again using: /etc/init.d/apache2 start I get this error: Starting web server apache2 ...
19
votes
5answers
85k views

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the ...
9
votes
6answers
71k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
13
votes
1answer
60k views

How do I mount a CIFS share via FSTAB and give full RW to Guest

I want to create a Public folder that has full RW access. The problem with my configuration is that Windows users have no issues as guests (they can RW and Delete), my Ubuntu client can't do the same. ...
5
votes
4answers
56k views

How to change ip address in ubuntu desktop through command line

In Ubuntu desktop 13.04 changing /etc/network/interfaces file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried sudo service ...
25
votes
4answers
79k views

How do I move all files from one folder to another using the command line?

I would like to know how could I move all files from a folder to another folder with a command line. Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my ...
15
votes
4answers
95k views

Any way to manually make a bootable USB from ISO?

I've been using Unetbootin but it occasionally fails to create a bootable usb the way I need it to, especially with the newer versions. Is there a way I could extract the iso myself?
31
votes
6answers
106k views

How to change the LightDM theme/greeter?

I downloaded a couple greeters for LightDM, but I have not figured out how to enable them. Is there a way to switch greeter, either by graphical or command-line method?. I do not intend to change ...
63
5
votes
2answers
59k views

Installing software center ubuntu

Okay so I recently had some problems with ubuntu software centre where if I opened it from the dashboard it would open up, but only display a white screen. Nothing happened, so if I then clicked the ...
17
votes
6answers
110k views

How to set up Ubuntu Server as a NAS?

I am looking to set up Ubuntu Server as a headless NAS for my home. I would like to have file storage there, as well as a central hub for my MP3s and pictures. What are the best packages out there to ...
87
5
votes
5answers
47k views

How to install build-essential?

I am trying to install G++ compiler in Ubuntu 13.10. It told me I needed to install the build-essential package. I have tried the below code sudo apt-get update sudo apt-get install build-essential ...
9
votes
4answers
47k views

How do I fix DNS resolving which doesn't work after upgrading to Ubuntu 13.10 (Saucy)

After upgrade to 13.10 my DNS resolving fails. It seems the DNS servers which I get by DHCP (LAN) are not used. I could temporary solve the problem by adding nameserver 8.8.8.8 to /etc/resolv.conf. ...
4
votes
3answers
56k views

Unable to boot from a USB drive on Samsung Series 9 notebook

Related Ubuntu 12.04 won't boot on Samsung Series 9 NP900X3A (ssd hard-drive) I'm trying to get rid of Windows but I can't boot from USB because the USB slots on the right (USB 3.0) on ...
90
15
votes
2answers
78k views

Bash: ./filename : Cannot execute binary file

I couldn't execute a fortran compiled code in ubuntu 11.10 32 bit. Error message is bash: ./filename : Cannot execute binary file. I've installed the gcc and gfortran libraries too. Could anyone ...
17
votes
4answers
72k views

I receive the error 'grub-install /dev/sda failed' while attempting to install Ubuntu as the computer's only OS.

I am attempting to install Ubuntu on a box which was previously running Windows 7. I have also experienced the dreaded "Unable to install GRUB" error. I am not attempting to dual boot. I have ...
13
votes
3answers
74k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
16
votes
11answers
69k views

Can I install Microsoft Office? If so, how?

I want to know how to install Microsoft Office (specifically, Microsoft Office 2010) in Ubuntu? I am a die hard fan of MS Office and I want to know if there is a way I can use it in Ubuntu.
7
votes
4answers
36k views

Drivers for Broadcom BCM43142 on Ubuntu 14.04 (Trusty Tahr)

I am not able to install drivers for my Wi-Fi + Bluetooth card (Broadcom BCM43142). What I have done till now: I have tried using the drivers at this website. I tried following the instructions ...
112
votes
5answers
107k views

How do I get a list of installed files from a package?

I want to know where I can find my installed application when I installed it on Ubuntu using package manager. I installed RabbitMQ and ran locate rabbitmq which gave me following result: ...
5
votes
2answers
25k views

How to remove Gnome from Ubuntu Desktop 14.04

I need to use Ubuntu Desktop on my server for certain reasons because I can't use Ubuntu Server, but to make it more efficient I would like to remove the desktop environment and boot straight to the ...
12
votes
1answer
28k views

Unity Launcher and Menu Bar disappeared in 14.04

The menu bar and Unity launcher have disappeared in Ubuntu 14.04. Also cannot access the terminal via ctrl + alt + t. I have tried every solution for this issue that I can find, from re-installing ...
7
votes
8answers
26k views

Lost Windows 7 in GRUB after installing Ubuntu 14.04

So today I've decided install the new 14.04 (64bit) on top of the 13.10 (32bit) Ubuntu that I used to have dual boot with Win 7. So it gave me number of options to install the 14.04, one of them was ...
33
votes
3answers
31k views

Wireless networking not working after resume in Ubuntu 14.04

[Update]: The same problem exists in Kubuntu and is solved in the same manner. [Solved]: By applying the following command nmcli nm I got the following: Before suspend RUNNING STATE ...
16
votes
1answer
59k views

Cannot update grub with paramters on live USB

I have booted from a live USB ("Try Ubuntu"), that also has a persistent option set (I used LiLi to create one) to do some tests for this pcie hotplug issue I'm having. I'm trying to test some boot ...
22
votes
7answers
81k views

fsck can't find fsck.ntfs

On several machines that I've upgraded from Natty to Oneiric, I get an error every boot (one for every NTFS partition): Serious errors were found while checking the disk drive for /windows/c. Press ...
82
10
votes
1answer
34k views

Ubuntu 14.04 and Android, can't see phone on my computer

I have installed gMTP and tried to follow this tutorial to solve this problem: http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html But neither worked. I tried to connect both my ...
47
votes
4answers
101k views

How to connect and disconnect to a network manually in terminal?

Since the network manager is troubling me so much I want to replace it (possibly wicd orNM from ppa:volanin). I do not know how to connect and disconnect to the network through the terminal without ...
19
votes
3answers
42k views

What does 'without password' mean in sshd_config file?

I just installed Ubuntu 14.04 on my server and I was setting up all my config files when I came across this in my sshd_config file: # Authentication: LoginGraceTime 120 PermitRootLogin ...
24
votes
4answers
42k views

How do I save terminal output to a file?

How do I save the output of a command to a file? Is there a way without using any software? I would like to know how.
25
votes
2answers
70k views

How to find a text file which contains a specific word inside (not in its name)

I want to find a text file in my hard disk which contains a specific word. I want to use a graphic application. I'm on 12.4 "Precise Pangolin". Prior to Ubuntu 12.4 I used to start in the dash an ...
14
votes
7answers
28k views

How do I update LibreOffice to next point release in 14.04?

I want to update my LibreOffice (whole package). Is there a way to do it without uninstalling old and then installing new? If there is no option for updating directly, how should I do it otherwise? ...
69
votes
1answer
83k views

How do I run specific sudo commands without a password?

On one particular machine I often need to run sudo commands every now n then. I am fine with entering password on sudo in most of the cases. However there are three sudo commands I want to run ...
4
votes
7answers
58k views

How can I determine the sudo password?

What is the default password of the sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?
63
22
votes
7answers
71k views

Ripping DVD to iso - Accurately

I have been using Brasero to rip my DVD collection to .iso. However, I've discovered some errors in some of the DVDs through playback e.g. VLC player would just stop playing the iso file when a bad ...
79
4
votes
3answers
65k views

apt.conf “Acquire::http:Proxy ”proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)

This is for an installation of Ubuntu 13.04 Desktop in a VirtualBox VM. I'm on a corprate network with an HTTP proxy at x.y.z.251:9090. I've configured the guest OS with the autoconfiguration script, ...
21
votes
6answers
94k views

How do I set up xrdp session that reuses an existing session?

I have been trying to set up a RDP terminal server on precise using xrdp and have been having significant trouble getting a working configuration. When a user logs on, I need it to connect to that ...
14
votes
3answers
74k views

How to setup x11vnc to access with graphical login screen?

I have a server running Ubuntu 12.10 and need to be able to remote to this server without being logged-in. I have found many solutions, but none seem to work with 12.10. Can anyone give me ...
56
4
votes
1answer
41k views

Resetting forgotten phpmyadmin password

I recently installed LAMP on Ubuntu 13.04(32-bit) but forgot my phpMyAdmin password. How can I reset its password without re-installing it?
53
votes
5answers
88k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
6
votes
1answer
48k views

How do you make USB bootable on chromebook

I have a chromebook series 5. I want to install Ubuntu onto a USB stick. When I downloaded Ubuntu onto my USB stick, it won't start up. Do I first have to download Ubuntu onto my chromebook hard ...
12
votes
1answer
88k views

How do I display the whole desktop in Virtual Box fullscreen mode?

I am running Ubuntu 12.04 in VirtualBox 4.2.6 on a Windows 7 host. After installing Ubuntu I wanted to get the VB interface in fullscreen. I therefore installed guest additions from Virtual Box ...
12
votes
4answers
39k views

Ubuntu 14.04 multi touch screen support

Just installed 14.04. It seems to be converting all my screen touch gestures to mouse gestures. And it only supports one point touch. It is supposed to support ten touch points (tested with windows ...
44
votes
3answers
69k views

“(CRON) info (No MTA installed, discarding output)” error in the syslog

I have a fresh install of Ubuntu 12.04.1 LTS an a number of servers. I have not added any cron jobs or edited my crontab on those servers, however, at around the same time for each machine, I get a ...
64
13
votes
1answer
77k views

HTTP POST and GET using cURL in linux

I had server application in asp.net in windows in that i had a web service for that . how can i call web service in ubuntu using shell script by using cURL command
11
votes
4answers
58k views

Grant a user permissions on www-data owned /var/www

I have a simple web server setup for some websites, with a layout something like: site1: /var/www/site1/public_html/ site2: /var/www/site2/public_html/ I have previously used the root user to ...
11
votes
2answers
68k views

How to install the Boot-Repair tool in an Ubuntu live disc?

When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows. I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB). What ...
13
votes
2answers
75k views

How to permanently set environmental variables PATH and M2_HOME in ubuntu for maven3?

I have downloaded the latest apache-maven3.zip file and extracted it to the folder: /home/gaurav/Java/maven3. I don't know how to set the environmental variables for maven - such as PATH and M2_HOME. ...