Problem: SSH asks for password even after updating the .ssh/authorized_keys in target host with user’s public key.
Reason: A permission issue
Fix: Login with password, in console run
Log out and try again. The public key login should work now.
Problem: SSH asks for password even after updating the .ssh/authorized_keys in target host with user’s public key.
Reason: A permission issue
Fix: Login with password, in console run
Log out and try again. The public key login should work now.
Problem: The arrow keys insert characters, no status message at the bottom etc.
Reason : The default Vim on Ubuntu is vim-tiny, a skeleton version.
Fix: Install the real stuff – sudo apt-get install vim
Note: vi = Visual, vim = Visual improved. And vim-tiny is vi compatible, kind of Jurassic.
Install JDK on Ubuntu manually without depending on PPAs –
Run java -version to verify installation. Cheers!
Problem : Eclipse gives the error – “[function/type] is not accessible due to restriction on required library … rt.jar” when building a project.
Reason: Project classpath (in the build path) is refers to JRE in place of the JDK in which the Project is configured to work with.
Fix: Go to Java Build Path > Libraries, choose JRE System Library, click Edit button. From the dialog choose Alternate JRE and choose the required JDK.
Problem: Ubuntu gives error “Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?” when using apt-get.
Reason: Another apt-get update working or Update manager checking for updates.
Fix: Close Update manager/ wait of current apt-get update to finish, and try again.
To create a shortcut to an application or location on the desktop (Ubuntu 12+), on terminal run –
, else directly do step 2.
If shortcut to an installed application is to be created –
(from mhdizam’s comment, verified working)
To add a folder to favorites in left tab of nautilus –
Given below is how we can record any streamed audio from sound card :
Note – Sound recorder is buggy and doesn’t show output formats in Ubuntu 13x. Audicity is a good alternative to use in such cases.
Problem: Ubuntu unable to resolve hosts after a disrupted VPN session.
Reason: The DNS server not reset to normal from that of the VPN network.
Fix: On terminal, do –
Problem: Cisco Anyconnect client does not give an option to override the “invalid certificate error” and go ahead using the current certificate of the server.
Reason: The current libraries used by Anyconnect client does not support this feature.
Fix: Add libraries from Firefox, as below: