Greatest Hits

27
votes
3answers
92k views

How do I install a VNC server?

I want to install some VNC server on my ubuntu 12.04. which one is the best / recommended? how do i configure it? all i want is to be able to connect my desktop computer through my laptop. i want ...
79
16
votes
1answer
70k 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 ...
5
votes
2answers
70k 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 ...
1
vote
2answers
58k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
27
votes
5answers
96k 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 ...
1
vote
4answers
54k views

Uninstall Grub and use Windows bootloader

I have Windows 8 pre-installed and then installed Grub with Ubuntu. Ubuntu is not my thing so now I want to remove it along with grub. From what I have learned, with UEFI, Grub does not overwrite the ...
4
votes
7answers
68k 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?
79
80
votes
1answer
96k 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 ...
10
votes
1answer
73k views

configure: error: C compiler cannot create executables

I was trying to install rvm using \curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles. It worked fine until I got a configure error: Error running './configure ...
3
votes
2answers
31k views

No Wireless When Install 14.04 on Macbook Pro

So I'm attempting to dual-boot OS X 10.8.5 (native OS) and Ubuntu 14.04. I installed Ubuntu (hooray!) but upon booting into Ubuntu I discovered I have no network connection from the OS. I'm very new ...
12
votes
2answers
78k views

How to compile C++ source code (“iostream.h not found” error)?

I do not want to discuss about C++ or any programming language!I just want to know what am i doing wrong with linux ubuntu about compiling helloworld.cpp! I am learning C++ so my steps are: open ...
54
votes
3answers
104k views

Choose gcc and g++ version

So I have installed gcc-4.4 and gcc-4.3 (same for g++). Now as far as I remember there is a tool in Ubuntu which sets the symlinks for you if you just tell it which version you want. However it does ...
102
4
votes
1answer
87k views

Trying to configure eth0 and eth1 but Failed to bring up eth1

Trying to do below on Ubuntu 12.04. Trying to configure eth0 and eth1, eth0 works fine, but failed to bring eth1. Below is the settings /etc/network/interfaces: auto eth0 eth1 iface eth0 inet ...
15
votes
2answers
67k views

Install Gnome 3.10 in Ubuntu 13.10 without breaking Unity

I just installed the Ubuntu 13.10 RC. Everything works fine so far. The thing is i want to also install Gnome 3.10 and i worry that this will break Unity. I know how to install the latest gnome ...
9
votes
2answers
51k views

How to extend my root (/) partition?

Till today I was using ubuntu 13.04 in my windows7/ubuntu dual boot. Just now I have upgraded to ubuntu 14.04. My software updater showed an updates available message. I proceeded with Install Now . ...
14
votes
4answers
52k views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
13
votes
2answers
91k 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. ...
6
votes
1answer
54k views

Assigning a static IP to Ubuntu Server 14.04 LTS

I've installed Ubuntu 14.04 LTS Server in my machine on a separate hard drive while having my Windows 7 installation. The Windows OS has its full network connectivity and internet access through the ...
11
votes
4answers
33k views

Google Chrome proxy settings?

When I try to set Google Chrome's proxy settings (on chrome://linux-proxy-config/), I get the following message: When running Google Chrome under a supported desktop environment, the system ...
60
votes
4answers
94k views

Where is the user crontab stored?

Since upgrading my user's crontab has been wiped out. This is not the first time this has happened this year and it's a pain restoring it each time. I'd like to be able to back up the crontab for my ...
62
15
votes
3answers
92k views

How can I start in safe mode?

I did a clean install of Ubuntu 12.04 on an Acer AX1430G desktop. Everything went fine until I installed the additional ATI driver. When I reboot the computer, my monitor gives a "signal out of range" ...
14
votes
3answers
90k views

How to let a VirtualBox guest (running Windows) access the Internet?

I have a VirtualBox virtual machine. The host machine runs Ubuntu. The guest (virtual) machine runs Windows XP. I googled this problem, and people claim that they fixed it by changing adapter type to ...
14
votes
3answers
39k views

How to disable the “unlock your keyring” popup?

I read through all the related answers, but they do not apply to Ubuntu 14.04. I have no .gnome2 folder and no Passwords and Encryption keys item in the system settings. I tried to crawl through ...
20
votes
5answers
94k 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 ...
5
votes
2answers
31k 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 ...
17
votes
6answers
69k views

How do I find my network IP address, netmask, and gateway info?

I'm trying to make my IP address static as I hear it fixes slow browsing issues. When I click on connection information under the networking menu of the gray taskbar, it tells me about the IP ...
46
votes
1answer
64k views

What is the loopback device and how do I use it?

What are loopback and localhost? Why do they exist, what are they used for, and how would I use them?
55
votes
5answers
101k 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 ...
19
votes
10answers
51k views

How to show only hidden files in Terminal?

I have a directory that contains thousands of files, some of them are hidden. The command ls -a list all files, including hidden ones, but I need just to list hidden files. What command should I ...
10
votes
4answers
59k 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 ...
15
votes
3answers
86k 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 ...
65
42
votes
2answers
37k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
20
votes
1answer
72k views

How to install numpy and scipy for python?

I am tired to try to install numpy and scipy for phyton 2.7.5, I need this version of python because my final goal it's to install class (http://class-code.net/) and montepython ...
33
votes
2answers
80k 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 ...
24
votes
4answers
33k views

System tray icons disappeared after installing Ubuntu 14.04

I have many applications with tray icons like davmail, hardware monitor. I miss this feature on Ubuntu 14.04. Does anyone have a solution? There are some tools like Skype indicator, but I need a ...
49
votes
4answers
114k 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 ...
7
votes
1answer
61k views

“E: Unable to locate package update” when I try to update my system, why?

I have almost an hour trying to update my installation, this is how I'm trying to do it: $ sudo apt-get install update [sudo] password for braiam: Reading package lists... Done Building dependency ...
51
114
votes
11answers
118k views

How do I install Ubuntu to a USB key? (without using Startup Disk Creator)

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu ...
12
votes
1answer
104k 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
2answers
82k 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 ...
20
votes
4answers
79k views

How do I reset a lost password (using recovery mode requires me to type the password)?

I need to reset my password. I have followed these steps: How do I reset a lost Administrative (root) password? However, then I go to "root" or "netroot" recovery options, it tells me: Give root ...
32
votes
6answers
115k 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 ...
69
37
votes
7answers
52k views

setting timezone from terminal

there has been a few questions about this topic and i know the answer this could help others and maybe someone could help me out if what i want to do is possible i want to chainge the timezone of the ...
18
votes
4answers
80k 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 ...
7
votes
8answers
31k 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 ...
18
votes
6answers
117k 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 ...
94
17
votes
11answers
78k 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.
42
votes
3answers
139k views

How do I compress a directory?

I'm trying to compress a directory and ftp it to a windows ftp. I have tried every tar command I can find to compress a directory. It appears to be ok. Then I transfer it and view it's contents ...
7
votes
1answer
57k 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 ...
14
votes
2answers
60k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what should I do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
88