Greatest Hits

11
votes
2answers
19k views

suspend is not working after updating to Ubuntu 14.04 from 13.10

I am not able to put my laptop to suspend(sleep) mode,If I click on suspend it just locks the screen and nothing happens ? I updated my previous version of UBUNTU from 13.04 to 13.10 then to 14.04 ...
1
vote
3answers
21k views

Play subtitle on online streaming movies

I want a player which can play subtitles while I am watching online movies. I have tried VLC network streaming. It's not happening. Well, there is a Windows app called Greenfish Subtitle Player, ...
28
votes
5answers
37k views

Ubuntu as Miracast Sender/receiver

couldn't find anything about Ubuntu act as a Miracast receiver or sender. General info about Miracast at Wikipedia Should this work? Supported HW? (Wifi direct?) only via WiFi no LAN? If Wifi direct ...
15
votes
2answers
20k views

“intel_rapl: no valid rapl domains” message upon boot

I install fresh Ubuntu 14. 04 server under ESXI 5.1.0. During my installation I did not get any erorrs or strange things. My problem is when I boot machine at console screen I get messages like [ ...
18
votes
4answers
23k 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.
15
votes
3answers
36k views

How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?

Ubuntu 12.04.2 LTS What's going on here? # apt-get install openjdk-7-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be ...
5
votes
4answers
37k views

How to sync iPhone 4S/iPod (iOS6.1.3) on 13.04

I'd like to sync my music and transfer it to my iPhone in Ubuntu 13.04. Trouble is I've tried using Banshee, Rhythmbox, GTKPod and nothing happens. Banshee goes through the process of viewing/adding ...
7
votes
3answers
34k views

How do I add a network drive to Plex?

So I've been looking around and can't find an exact solution to my problem. I dual boot Windows 7 and Ubuntu 13.04. I like Ubuntu and want to use it instead of windows. Everything was working on ...
5
votes
3answers
27k views

How do I get HTML5 h.264 Video working on Firefox?

According the the release notes for Firefox 26, h.264 video should now be working in Linux. It does also say the appropriate gstreamer plug-ins need to be installed. Does anyone know what these are? ...
23
votes
1answer
41k views

Run a shell script as another user that has no password

I would like to run a script from the main ubuntu shell as a different user that has no password. I have full sudo priviledges, so I tried this: sudo su -c "Your command right here" -s /bin/sh ...
32
votes
3answers
25k views

What is the “sticky bit” (t permission) and why does /tmp have it?

The output of the command ls -ld /tmp is: drwxrwxrwt 30 root root 20480 Mar 11 14:17 /tmp So I have two main questions: What is the letter t after the permissions? As far as I know /tmp is used ...
14
votes
3answers
19k views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
6
votes
1answer
44k views

How to add a GPG key to the apt sources keyring?

Ubuntu Doc page says this: It is advisable that you add the Opera GPG key. wget -qO - http://deb.opera.com/archive.key | sudo apt-key add - Where do I add that? I want to take the advice ...
18
3
votes
4answers
34k views

How to run mysql command from terminal?

I have the following sql command which I usually run in phpmyadmin by selecting the database, then running it in the command window. DELETE FROM `wp_posts` WHERE `post_type` = "attachment" However ...
4
votes
1answer
35k views

Run executable file on terminal

I'm new to Ubuntu and currently on it because of assignment. I would like to ask few questions: 1) How do I make new command to run a shell script? For example, when you type "passwd" on terminal ...
7
votes
8answers
22k 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 ...
10
votes
4answers
27k views

How to clean /tmp?

rizhas@rizhas-laptop:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda7 67G 58G 5,2G 92% / none 4,0K 0 4,0K 0% /sys/fs/cgroup udev 1,5G 12K ...
27
3
votes
1answer
17k views

How to make VNC Server work with ubuntu-desktop without xfce

I have Ubuntu Server LTS 14.04 and I want to know whether it's possible to install vnc4server and make it work with ubuntu-desktop (and not xubuntu-desktop) without installing xfce4. I think I have ...
13
votes
1answer
31k views

Where are the postfix log files?

I know this has been asked a hundred times. But I've done a lot of Google searching without success. My question: I want to log every activity of my postfix server. Neither the default file ...
5
votes
5answers
20k views

How do I set the LightDM wallpaper in Ubuntu 14.04?

In previous versions of Ubuntu, picking one of the default wallpapers meant that you saw it on the login screen as well. I am now on a clean install of Ubuntu 14.04, the LightDM wallpaper appears to ...
10
votes
1answer
28k 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 ...
3
votes
2answers
70k views

How to set up VirtualBox Bridged Network on Windows 7 Host?

I have virtualbox running on a Windows 2008 server, with a guest running ubuntu 10.04. The ubuntu guest is given a static IP of 192.168.1.4, which also has openssh installed. The guest has bridged ...
10
votes
3answers
40k views

How can I run Disk Utility in terminal via a comand line?

First of all, I must say that I have successfully used Disk Utility in the past and thus I could rename my partitions. But yesterday, I saw that my partitions are not mounted, so I used Storage ...
5
votes
3answers
20k 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 ...
3
votes
3answers
20k 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 . ...
9
votes
3answers
23k views

What is $DISPLAY environment variable

I am new to shell script NOT able to understand what is $DISPLAY environment variable. I am running Ubuntu 13.10 and using /bin/bash shell. I have connected two monitors. Questions: echo $DISPLAY ...
16
votes
2answers
53k views

Connecting to ubuntu server via ssh externally

I have recently installed ubuntu server (12.0.4) and intend to use it primarily as a file server. I am completely new to linux so this is a pretty big learning curve. Yesterday I was able to ...
3
votes
3answers
14k views

Result of make command is /usr/bin/ld: cannot find -lcudart

I am newbie to Ubuntu and using Ubuntu 14.04 64-bit. I want to make a project that uses cuda and opencv I got the following error when running cmake . && make Linking CXX executable ...
4
votes
1answer
12k views

TOP showing a bunch of rcuos processes

i ran TOP and im showing a ton of these rcuos processes below. What are these? top - 21:41:15 up 22 days, 19:20, 1 user, load average: 0.00, 0.01, 0.05 Tasks: 332 total, 1 running, 331 sleeping, ...
6
votes
2answers
35k views

How to fix Permission Denied (Public key) error?

While trying to communicate between my desktop Ubuntu 12.10 and Fedora 19 desktop, I am facing the error of Permission Denied (Public key). I am able to login through ssh from fedora to Ubuntu, but ...
13
12
votes
3answers
18k views

How to save a file using nano

I am trying to install Java via the terminal using the guide How to Install Oracle Java JRE on Ubuntu Linux. Everything went perfectly fine until "Step 11: Save the /etc/profile file and exit": I ...
10
7
votes
4answers
38k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
10
votes
2answers
46k views

How to give nopasswd access to multiple commands via sudoers?

Below is what I know: I have to add this below line in sudoers file to give rights to the user for particular task. user_name ALL=NOPASSWD: /usr/bin/apt-get install In this case I want to give ...
2
votes
2answers
16k 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 . ...
0
votes
4answers
12k views

VLC Player installation ubuntu 14.04

I Have searched for many options on internet to install VLC Player on ubuntu 14.04, but nothing is working for me. Please could you help me with this issue. Errors : ...
14
1
vote
1answer
10k views

ShellShock - bash already updated?

I'm trying to fix this new ShellShock bug on my PC (running Ubuntu 14.04). From what I've gathered, the simplest way to do this is to just update bash via the terminal (I've tested my system for the ...
4
votes
3answers
7k views

How can KVM be located by Android Studio on Ubuntu 14.04 LTS

When running the emulator, Android Studio reports the following message: Please ensure KVM is properly installed and usable. CPU acceleration status: KVM is not installed on this machine ...
11
votes
3answers
23k views

How do I run 'sudo' command inside a script?

To do a patch manually I must type this command sudo ./playback_delete_data_patch.sh 09_delete_old_data_p.sql There is a space just before the 09: sudo ./playback_delete_data_patch.sh [space] ...
11
votes
1answer
16k views

how to show hidden folders in 14.04 ubuntu

How do you show a hidden folder (specifically .minecraft) in Ubuntu 14.04? I am somewhat new to Ubuntu 14.04 and can't seem to find the "view" menu.
8
votes
1answer
31k views

iptables log file,and how change it

I have this rule in my iptables: iptables -AINPUT -s 192.168.11.0/24 -j LOG My question is: Where is the iptables log file, and how can i change that?
4
votes
1answer
11k views

“error adding symbols: DSO missing from command line” while compiling g13-driver

I'm trying to compile the download received here: https://code.google.com/p/linux-g13-driver/ by running make but I'm receiving errors that to me, after searching on the web, look like they're the ...
21
votes
3answers
23k views

How to find and list all the symbolic links created for a particular file?

I had created many symbolic links on various paths for a particular file or a directory. I want the whole list of created symbolic links paths (location). Example: I created symbolic links for ...
3
votes
1answer
17k 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 ...
8
votes
1answer
41k views

How to install Qt4 in Ubuntu 12.10

I tried to use Qt5 but I have some problems while making Debian packaging process with Qt5 so I would like to have Qt4 on Ubuntu 12.10. How can I install Qt4.
11
10
votes
1answer
18k 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 ...
11
votes
3answers
18k views

What are the differene between fglrx and fglrx-updates?

What are the difference between the two ATI drivers fglrx and fglrx-updates, and what one should I install with a machine with an AMD R7 260X video card? I have found outdated information on the Steam ...
10
13
votes
3answers
34k views

Is it safe to remove old kernels after installing the latest mainline?

I have installed the mainline kernel 3.10 as recommended here so that I can have my WiFi. I'm running into space problems as described here (dpkg configuration running out of space, having separate ...
3
votes
2answers
7k views

How to install proprietary ATI/AMD drivers on 14.10?

I just upgraded to 14.10 from 14.04, and the built-in driver for my ATI Radeon HD 5450 sorta-kinda works okay because I do get a signal on my monitor, but it lacks any kind of acceleration, making the ...
3
votes
4answers
17k views

Mount external Hard Drive with /etc/fstab on ubuntu 14.04 problems

I have been stuck for about two days trying to get this to work properly. I have done all of the following with still no luck. I'm trying to auto permanently mount to a 2 TB Seagate Central that is ...
3
votes
2answers
18k views

ATI Graphics Driver in Ubuntu 14.04

I am using a Lenovo Ideapad laptop with graphics card configuration as Radeon HD 8570A/8570M on Ubuntu 14.04. It shows me "The System is running in low graphics mode" while booting. So i am following ...