Howto fix can't authenticate/authenticate window always shake and can't type a password
I was painful (& nearly re-install the Ubuntu; Natty) with this problem more than one month, trying to find what is cause this problem.
The problem is when you open/use an application which need an authentication (a authentication window pop-up) the window just opened and shake shake, say that your password was not correct but you didn't have chance to input any password.
This screenshot I took by quickly press PrtScn button.
We can found the error message of this error in /var/log/auth.log. message look like this "...gnome-keyring-daemon[1423]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk..".
Solution:
Need to change a following file's permission: /usr/lib/policykit-1/polkit-agent-helper-1
by execute this command in a terminal.
sudo chmod +s /usr/lib/policykit-1/polkit-agent-helper-1
found from > http://ubuntuforums.org/showpost.php?p=10620872&postcount=9
วันจันทร์, สิงหาคม 01, 2554
วันอังคาร, กรกฎาคม 26, 2554
Using sed command to search and replace IP address
" If your version of sed supports extended regular expressions (the -r option), you could do something like this (which is similar to what you have in your grep statement). Also note $newip is outside the single quotes to allow the shell to replace it.
sed -r 's/(\b[0-9]{1,3}\.){3}[0-9]{1,3}\b'/$newip/
BTW this solution still matches strings that do not represent IP addresses. See this site under IP Adresses for more complex solutions."
มีข้อเสียคือมัน replace pattern เลข.เลข.เลข.เลข ไม่ได้สนใจว่าเป็น IP address ที่ถูกต้องหรือไม่
from: StackOverflow using-sed-to-search-and-replace-an-ip-address-in-a-file
" If your version of sed supports extended regular expressions (the -r option), you could do something like this (which is similar to what you have in your grep statement). Also note $newip is outside the single quotes to allow the shell to replace it.
sed -r 's/(\b[0-9]{1,3}\.){3}[0-9]{1,3}\b'/$newip/
BTW this solution still matches strings that do not represent IP addresses. See this site under IP Adresses for more complex solutions."
มีข้อเสียคือมัน replace pattern เลข.เลข.เลข.เลข ไม่ได้สนใจว่าเป็น IP address ที่ถูกต้องหรือไม่
from: StackOverflow using-sed-to-search-and-replace-an-ip-address-in-a-file
วันจันทร์, กรกฎาคม 25, 2554
Browse internet anonymously with Ubuntu (free yourself from limited network)
Browse internet anonymously with Ubuntu (free yourself from limited network)
1. Open a terminal then execute the command (leave it during your internet surfing)
#ssh -ND 9999 username@home_router_ip_address
i.e.: ssh -ND 9999 daho@homeip_addr
2. Open the proxy setting (gnome proxy settings or Firefox proxy setting)
input only address of socks v5 proxy
127.0.0.1 port 9999
input none and port 0 to the others
original post:
http://www.searchmarked.com/ubuntu/how-to-surf-anonymously-using-an-ssh-tunnel-and-ubuntu.php
More options of SSH Tunneling
https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
1. Open a terminal then execute the command (leave it during your internet surfing)
#ssh -ND 9999 username@home_router_ip_address
i.e.: ssh -ND 9999 daho@homeip_addr
2. Open the proxy setting (gnome proxy settings or Firefox proxy setting)
input only address of socks v5 proxy
127.0.0.1 port 9999
input none and port 0 to the others
original post:
http://www.searchmarked.com/ubuntu/how-to-surf-anonymously-using-an-ssh-tunnel-and-ubuntu.php
More options of SSH Tunneling
https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
สมัครสมาชิก:
บทความ
(
Atom
)
