Greatest Hits

14
votes
7answers
46k views

ubuntu 14.04 login loop problem

My Ubuntu 14.04 is stuck when trying to login my desktop. The screen goes black and soon after that the login screen comes back. I followed all steps in Ubuntu gets stuck in a login loop but the ...
72
votes
8answers
11k views

Does Ubuntu damage USB drives?

Whenever I unmount a USB drive with Nautilus and plug it to a Windows machine, I receive a warning that the drive needs to be repaired. (the same message like in this screenshot) For 10+ years ...
97
votes
6answers
123k views

How can I get a list of all repositories and PPAs from the command line into an install script?

I know how to list all packages installed on my system. But how could I get a list of all repositories and PPA's? I know I can look into /etc/apt/sources.list and /etc/apt/sources.list.d, but I'm ...
8
votes
3answers
69k views

“ping: unknown host google.com” but IP's works fine

I recently upgraded from Ubuntu 12.04 to Ubuntu 14.04. After restarting I have WiFi connected and/or LAN connection with no internet access. I'm using Toshiba Satellite C855D. Here are some of the ...
37
votes
4answers
91k views

How do I check if a package is installed on my server?

I recently installed Ubuntu Server edition 13.10. But I have ran into a bit of problem. At the end of the install, it asks you for several extra packages whether you want them or not, like openSSH ...
13
votes
5answers
66k views

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was ...
22
votes
3answers
25k views

How to boot from a USB drive in VirtualBox?

The question is simple and straight forward: How to boot from an USB drive in VirtualBox? EDIT: I have attached usb to VirtualBox as shown in the screenshot. But it is not possible to boot from ...
16
votes
1answer
78k views

What does apt-get --fix-missing do and when is it useful?

From the man page: -m, --ignore-missing, --fix-missing Ignore missing packages; if packages cannot be retrieved or fail the integrity check after retrieval (corrupted package files), hold back ...
35
votes
4answers
124k views

Switching window manager/desktop environments?

In general what is the approach to switch the desktop environment or window manager on Ubuntu? The main difference between stock Ubuntu, Kubuntu and Lubuntu is supposedly the use of Unity vs. KDE vs. ...
106
votes
4answers
133k views

How to install specific Ubuntu packages, with exact version?

I want to setup a new virtual machine with some specified packages (name and version), that are provided. For example apache2 in version 2.2.20-1ubuntu1 with all dependencies. Even if there is a new ...
10
votes
3answers
148k views

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I executed the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ Password:...
21
votes
2answers
145k views

How do I mount a CIFS share?

I'm using Ubuntu 11.10, and am trying to mount a freenas server. I have the server set to share in cifs and nfs with no luck. I have tried smbmount //192.168.1.### /mnt/ I am not new to Ubuntu but ...
7
votes
4answers
10k views

How to install lsb-core package on ubuntu 16.04

In order to activate Maple16, I need to install the lsb-core package. However, I cannot find the package in Syanptic Package Manager. I've tried to install it by downloading the .deb file, but when I ...
7
votes
2answers
35k views

Installation of Skype for Ubuntu 14.04 x64 with Terminal

I'm new to Ubuntu and try to install the latest version of Skype from terminal windows. Can anybody help me please, How to do this?
18
votes
2answers
84k views

32-Bit UEFI Boot Support

I recently purchased a Dell Venue 8 Pro. I have read online about what it needs in order to boot into Ubuntu or any other Linux distro. From what I have gathered, what really needs to happen is 32-...
10
votes
4answers
8k views

Kubuntu 16.04 Driver Manager broken

The driver manager is hanging on the "Collecting Information about your system" phase it's not progressing past this point. Is any one else experiencing this, if so are there any known fixes?
19
votes
2answers
93k views

How do I mount my Android phone?

I'm puzzled because my phone used to just appear when I plugged it in. It doesn't anymore and The development options are definitely set to allow USB debugging. The phone is charging via USB but doesn'...
10
votes
3answers
65k views

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName … waiting apache2:

I upgraded to ubuntu 14.04 yesterday. But after restarting PC , this message continues to appear in a black screen after the ubuntu loading screen and don't go away and ubuntu doesn't start I can do ...
31
votes
6answers
55k views

How do I check whether a module is installed or not in Python?

In terminal, after I start Python, how will I know what are the modules present in python? Suppose I need to learn the modules NumPy and SciPy. How will I install it if it is not installed? How ...
11
votes
2answers
72k views

How to switch from unity to gnome

Default ui for Ubuntu 14.04 being Unity, want to switch to Gnome. Can't find usual way to switch at login screen as mentioned here. http://www.techienote.com/2011/03/switching-to-gnome-in-ubuntu-11-...
18
votes
2answers
9k views

How do I install openjdk 7 on Ubuntu 16.04?

I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7. Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are ...
7
votes
4answers
76k views

cp - cannot create regular file : permission denied

I want copy to /lib/udev but gives error cp -f /tmp/ok_pcscd_hotplug.sh /lib/udev cp:cannot create regular file /lib/udev/ok_pcscd_hotplug : Permission denied I am root , but I can't understand . ...
37
votes
4answers
85k views

How to remove lines from the text file containing specific words through terminal?

How to remove all the lines from the text file containing the words "cat" and "rat"?
20
votes
3answers
42k views

14.10: VirtualBox “No suitable module for running kernel found”, Cannot Find Kernel Source

After the 14.10 update to VirtualBox, I can no longer run my boxes. Of note, running sudo service virtualbox status returns VirtualBox kernel module is not loaded and running sudo service virtualbox ...
10
votes
5answers
129k views

How to boot into Windows 7 when grub is installed in the Windows partition?

Original title: How can i solve (un)booting windows 7 on the same partition with grub? I've been researching for 2/3 days about this problem and I have came up empty. Basically, partition 1 is ...
13
votes
4answers
66k 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 8....
34
votes
7answers
75k views

Home directory not being created

I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry ...
41
votes
4answers
69k views

How can I find my User ID (UID) from terminal?

The title says it all. What command I need to run from a terminal to find my user ID (UID)?
12
votes
3answers
121k views

How to detect an USB device?

I got a scenario, where a software works only when you insert the USB device provided by the software vendor in windows operating system. Im trying to find the content stored in the USB device. In ...
55
20
votes
3answers
78k views

What is $DISPLAY environment variable

I am new to shell scripting.I do NOT understand what is $DISPLAY environmental variable. I have Ubuntu 13.10 and I use /bin/bash shell. I have two monitors. Questions: 1.Command echo $DISPLAY will ...
14
votes
3answers
65k views

How to install Juniper VPN on Ubuntu 14.04 LTS?

Could you please help me ? On my old Ubuntu 13.10 I was able to run Juniper VPN (on Firefox only) using a workaround which requires you to install the missing 32libs and IcedTea (32bits). However, I ...
4
votes
3answers
60k views

Installed Ubuntu 14.04 - cannot connect to internet with wired or wireless connection

I just installed Linux and Ubuntu 14.04 alongside my Windows 8 on my HP Pavilion. First, I had problems with the graphics card and it said it could only operate in low graphics mode.But it just stall ...
9
votes
3answers
68k views

How to install Ubuntu on portable external Hard Drive?

OS: Windows 7. I want install Linux Ubuntu on portable external Hard Drive USB 2.0. I read a variety of methods, but I'm confused by contradictory advices and methods. Actually, installing Ubuntu on ...
16
votes
3answers
54k views

What is a “failed to create a symbolic link: file exists” error?

I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried: ~/Documents$ ln -sv ~/Documents/saga /media/mariajulia/485f3e29-355c-4be3-b80a-...
5
votes
6answers
88k views

Install Ubuntu in UEFI mode (unable to boot from USB)

I recently bought a Dell Inspiron 15R SE with Windows 8 (64 bit) pre-installed (UEFI supported). I want to install Ubuntu in dual boot with Windows 8. I tried to follow all these instruction and these ...
6
votes
5answers
85k views

How to Setup a root cron Job Properly

I tried to setup a root cron job to run a Bash script as root, to run at minute 7,37, every hour, every day of month, every month. This script is located in /usr/bin and named tunlrupdate.sh is used ...
33
39
votes
7answers
83k views

How do I check the health of a SSD?

We all know that SSDs have a limited predetermined life span. So the question for me is how do I check in (Ubuntu) Linux what the current health status of my SSD is? And maybe an estimation how long ...
9
votes
1answer
33k views

Changing Ownership: “Operation not permitted” - even as root!

While trying to help a user solve an issue with a bootable USB drive, there seems to be a file that is set so its ownership cannot be edited. I do realize that it should be able to be done with: ...
7
votes
2answers
62k views

Proxy authentication with terminal Ubuntu 14.04

I would like to access the internet to update files etc. from the terminal on a secured proxy network. I've already tried the following: Adding to /etc/apt/apt.conf, /etc/apt/apt.conf.d/01proxy, /...
10
votes
2answers
60k views

How to install PHP `mbstring` extension in Ubuntu?

What is PHP mbstring extension ? What is the perfect way to install this extension on Ubuntu 14 ? Thanks, Regards
10
votes
1answer
87k views

How do I install and enable pdo_mysql and gd extensions for php5?

When trying to install webtrees I get the following output: Checking server configuration PHP extension "pdo_mysql" is disabled. You cannot install webtrees until this is enabled. Please ...
40
8
votes
8answers
74k views

Pinging computers on local network: destination host unreachable

I have two ubuntu computers on a local network and neither one of them can ping each other. Every time I try I get the "destination host unreachable" error message. Both computers are able to access ...
7
votes
3answers
105k views

How to turn on Network Discovery and Share between computers with Samba

I have an Ubuntu server. Accessing the server from Windows clients works fine. But the server is not listed among the available PCs on Windows client's Network overview. For windows machines it ...
9
votes
4answers
8k views

Cannot boot system due to start job running for hold

I've installed ubuntu-desktop on Ubuntu 16.04 Gnome and I picked lightdm and now once I restart, I get this error message when I press CTRL + ALT + F2: A start job is running for Hold until boot ...
46
13
votes
9answers
142k views

How to boot Ubuntu from EFI/UEFI?

I installed Ubuntu 11.10 on a newly bought Lenovo ThinkCentre Edge 71 (model: 1577-G3G) with EFI boot enabled. I opted for the Use Entire Disk option. Even though the installation process went without ...
15
votes
2answers
126k views

How to start/stop iptables?

While learning some new things about iptables I can't through this. While I am trying to start, its saying as root@badfox:~# iptables -L -n -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts ...
10
votes
1answer
93k views

How to open a port?

I have ubuntu 12.04 and I'm not able to allow certain port in my firewall. So I basically said I will allow everything but it's still not working. Please help. nmap on this machine from other machine ...
7
votes
2answers
35k views

Can't find httpd.conf

I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5. I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box. ...
22
votes
3answers
105k views

Use xrdp to connect to desktop session

I use Ubuntu on my desktop. When I am away from my desktop, I would like to access the session using my Windows 7 laptop. Currently, I am using xrdp to connect, but it starts up a remote session. Is ...
7
votes
5answers
35k views

What's the good way to clean up the system (and is Bleachbit safe) on Ubuntu 14.04?

I used Ubuntu 14.04 (Trusty Tahr) for about a year (actually upgraded it from Ubuntu 12.04 (Precise Pangolin)), and during the time I installed some packages, and removed some other packages....