Most Popular

1500 questions
124
votes
17 answers

Screen remains blank after wake up from suspend

So, when I suspend my laptop, then wake it up later, my laptop does turn on, I'm able to, for example, turn up and down the volume with audio confirmation using the kepboard, but my screen remains black and doesn't show anything until after I…
deathpigeon
  • 1,241
123
votes
7 answers

How to launch default web browser from the terminal?

I was wondering what's the terminal command to open the default web browser.
Luca
  • 2,432
123
votes
9 answers

How do I reset GNOME to the defaults?

I was playing around with some settings, and now I need to reset GNOME to it's defaults - how do I do that?
jrg
  • 61,707
123
votes
24 answers

Virtualbox Kernel driver not installed

I tried to use my Virtual Box and this is the error I received - (I just updated to the new Ubuntu also) and I am VERY new at this Linux OS. Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded…
Cyndi
  • 1,231
123
votes
10 answers

Command to open new tab in the current terminal

Is it possible to open a new tab in the current terminal with some commands?
Avinash Raj
  • 80,446
123
votes
8 answers

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 but I don't know what part of software center to add gpg…
bruce
  • 2,977
123
votes
11 answers

vim is not remembering last position

My Ubuntu LTS 12.04 has vim editor. If I open a file, move to a paragraph and reopen vim, then the cursor goes to beginning of the file always. This is not the expected behavior. How the vim can remember last read position after closing a file? I…
123
votes
7 answers

Why am I getting a "port 22: Connection refused" error?

I am getting a port 22: Connection refused error while connecting to a server. I have both the openssh client and server installed, and they are running. But still there is an error. Please help.
ankesh
  • 1,331
123
votes
2 answers

What's the difference between "Service" and "/etc/init.d/"?

I've been managing server installations both on and off Ubuntu flavor for some time - I've become quite adjusted to /etc/init.d/ for restarting servcies. Now I get this message: root@tatooine:~# /etc/init.d/mysql status Rather than invoking init…
Marco Ceppi
  • 48,827
123
votes
2 answers

How to save rules of the iptables?

I create the rules to iptables. But, when I restart the computer, the rules don't work! How to save the rules on Ubuntu ? The was problem solved! do: After of the write the commands iptables, do: 1. sudo su 2. iptables-save > /etc/iptables.rules …
Gustavo
  • 1,239
122
votes
3 answers

How to upgrade cmake in Ubuntu

CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.6.0 or higher is required. You are running version 3.5.1 -- Configuring incomplete, errors occurred! I know Ubuntu uses stable releases that it can support, but some repos require…
Wolf
  • 3,247
122
votes
4 answers

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 /var/log/mail nor any other concerning mail or postfix…
122
votes
4 answers

Remove sudo privileges from a user (without deleting the user)

If you give a user sudo privileges how can I remove the sudo privileges and make the user become just a regular user? I used: sudo adduser username sudo Now I've changed my mind.
Joe C
  • 1,385
122
votes
7 answers

How can I troubleshoot "VPN Connection Failed"?

Is there anyway to get an error log for a failed VPN connection attempt? All I get is this notification and I have no idea where to go from there.
122
votes
12 answers

How can I use Netflix on Ubuntu?

Is there a way to stream Netflix content to my Ubuntu machine?
Gator
  • 1,325