Most Popular
1500 questions
124
votes
6 answers
SSH Public Key - No supported authentication methods available (server sent public key)
I have a 12.10 server setup in a virtual machine with its network set to bridged (essentially will be seen as a computer connected to my switch). I installed opensshd via apt-get and was able to connect to the server using putty with my username and…
F21
- 4,349
- 5
- 26
- 23
124
votes
5 answers
How do I get the parent process ID of a given child process?
How to get parent PID from a given child's PID? I know I can manually check it under /proc , I wonder if there is a smart/better way to achieve this in Ubuntu. Note the parent may or may not be killed. Thanks
cache
- 1,541
124
votes
1 answer
Key is stored in legacy trusted.gpg keyring after Ubuntu 22.04 update
I get 3 warnings after Ubuntu 22.04 update on a Digital Ocean LAMP stack droplet. W: http://repo.mysql.com/apt/ubuntu/dists/bionic/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in…
newcat1000
- 1,594
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,787
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 or…
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,616
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…
Lunar Mushrooms
- 4,135
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,887
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 3.…
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
6 answers
Use chown to set the ownership of all a folder's subfolders and files?
How can I use the chown command to change the ownership of all a folder's subfolders and files?
TellMeWhy
- 18,014
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…
Steve Rakebrandt
- 1,323
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