Windows 7 autologin
Short and simple: to allow automatically logging in on Windows 7, you need to press Win+R to open the run menu, then type “control userpasswords2” without the quotes and run it.
Short and simple: to allow automatically logging in on Windows 7, you need to press Win+R to open the run menu, then type “control userpasswords2” without the quotes and run it.
To fix this issue, add the following lines between <config …..> and </config> in /etc/PolicyKit/PolicyKit.conf <match action=”org.freedesktop.hal.storage.mount-removable”> <return result=”yes”/> </match> <match action=”org.freedesktop.hal.power-management.shutdown”> <return result=”yes”/> </match> <match action=”org.freedesktop.hal.power-management.reboot”> <return result=”yes”/> </match>
Just a short reference: Keep in mind: There is no longer a need to convert the filesystem to ext2 to resize it. resize2fs can handle ext3 just fine. First, unmount the filesystem in question, unless you have and trust online resizing (I can’t subscribe to either). Then check it for errors like this: # e2fsck […]
The location of ~/.xsession-errors is, at the time of writing, specified in /etc/X11/Xsession in Debian Squeeze (testing). ERRFILE=$HOME/.xsession-errors To disable logging, change this to ERRFILE=/dev/null I use several computers with the same, networked, home directory, and having all of them output to the same file was a hopeless mess. However, this solved the problem for […]
Both Wake on Lan and turning on after a power loss can be enabled on the Intel Mac Mini with the use of the setpci command. I stuffed this into my /etc/rc.local (to run them at boot time. yes, they need to be run on each boot) # reboot on power loss setpci -s 0:1f.0 […]
A quick reference on how to compile Debian packages from source, and possibly patching them along the way.
VMware server uses port 902/TCP for remote connections. It is easy enough to allow outside connections to this port through the Windows Firewall interface in the Control Panel. However, if you want to do it the “Windows Way (TM)” the trick is to add “vmware-authd.exe“, found in the VMware Server folder in your installation directory, […]
Cleaning up my ‘dump’ directory, I found this aging script I got from somewhere, which will check the current CPU usage of a program and kill it if it uses too much. This is useful if you are for some reason forced to run buggy, closed source software which get stuck in endless loops when […]
I hate the .bash_history file. It never contains what I want, screws up when using multiple sessions and generally contains junk. I like to disable the .bash_history file, while still keeping the ability to push the “up”-key to scroll through earlier commands in the same session. The way to do this is to set $HISTFILE […]
If you’re connecting two machines with just a single network cable, like we did with parallell and serial cables back in the days, you’ve no doubt used a crossover cable. But why is this?