Press Alt+F2 and run dconf-editor. Then org -> gnome -> desktop -> background and check show desktop icons. For more information see here…
Category Archives: Sys Admin
Reporting CPU cache on Linux
Use the following commands:
# lscpu
And:
dmidecode -t cache
No manual entry for g++
If this happens:
$ man g++ No manual entry for g++ See 'man 7 undocumented' for help when manual pages are not available.
Fix with:
# apt-get install gcc-doc
Installing VirtualBox on Debian
Found this article: How to install or upgrade VirtualBox on Ubuntu or Debian…
VirtualBox shared folders
Followed HOWTO: Use Shared Folders…
Greasemonkey and the file: URI scheme
Today I learned about extensions.greasemonkey.fileIsGreaseable… a way to get Greasemonkey to process file-system documents… for scripts to work with file:// paths, you need to open about:config and set extensions.greasemonkey.fileIsGreaseable to true.
Network sockets
Reading about network sockets…
Fixing Firefox/Iceweasel restricted port
Today I ran into this warning from iceweasel when I tried to access a web service on port 101:
This address is restricted
This address uses a network port which is normally used for purposes other than Web browsing. Iceweasel has canceled the request for your protection.
I found this article which said:
- Open about:config
- Create network.security.ports.banned.override if it’s not there
- Set that setting as, e.g.: 101-104
- Refresh the page
Disable Password Authentication for SSH
See How to Disable Password Authentication for SSH.
vim /etc/ssh/sshd_config
Then:
ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no
Then restart the SSH server:
service sshd restart
Configuring DCC port range in Irssi
To specify a port range for DCC:
/set dcc_port 6000 7000
Make sure your NAT router has DMZ or port forwarding for the nominated ports and that your firewall has those ports open.
Your config file will look like this:
jj5@honesty:~/.irssi$ grep -R 6000 .
./config: "irc/dcc" = { dcc_port = "6000 7000"; };