howto

Xlib: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match


Linux

X

Q: Executing a XWindows application fails and system logs:

Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: MIT-MAGIC-COOKIE-1 data did not match
Error: Can't open display: localhost:10

Visual Query cannot execute query to dBase


Win9x

Microsoft ODBC dBase driver

There was persistent error "Invalid..." when try execute SQL query using Microsoft ODBC driver to dBase table named "xxstat_w.dbf". The queries to other tables work OK. Problem causes underscore in file name. (but filename "xxstat_w.dbf" is OK).

Odemknutí tabulky v Excelu


Windows

MS Excel

2002,...

The code below can unlock a workbook password and sheet passwords. To use it, copy it to a new general code module.

Boot diskette preparation


linux

RedHat

Rescue linux diskette is possible whenever to prepare using:

mkbootdisk --device /dev/fd1 2.2.14-5.0

where version is directory /lib/modules/2.2.14-5.

How to disable “Restart Now” Message from Windows Update


Windows

Windows

XP

After automatic update, that could be even unwanted, Windows periodically blasts message forcing restart. It could be extremly annoying when you processing an uninterruptable task. This message may be disabled very easily, just stop service called "wuauserv", i.e.

Czech sorting installation


linux

mySQL

3.23

Correct czech sorting (included "ch") in mySQL is set using --default-character-set=czech directive on mysqld daemon command line, e.g. in /etc/rc.d/init.d/mysql file. After restarting was impossible connect to server. Problem is in changed code page - old indexes were created with different code page. Solution: recreate whole database:
  1. export data, mysqldump --all-databases --add-drop-table > /tmp/mydump.dmp
  2. import data, mysql < /tmp/mydump.dmp

error "Could not find installable ISAM" when accessing database


Win 98

Form Filler

2.0

After some installation (MS Office2000 ?) it was impossible to connect to database table using ISAM. There was installed on computer MS Jet 3.5 a 4.0 and DAO 3.5 a DAO 3.6. If is not necessary usage of DAO3.6 delete file /Common files/Microsoft Shared/DAO/dao360.dll. Now it works.

Resetting of printed page counter


Hawlett Packard

4000N

HP printer watches number of printed pages since last technical inspection. If count exceeds 20000 then displays message "Call HP ...". To reset counter:
  1. switch off the printer

How to reveal password which is hidden behind asterisks


Win *

edit box

Typical case is for example when password is forgotten for dial up connection (and when moreover password is not secret).

If Delphi's winspy32 utility is installed, open it and in object

How to hide account in logon window


WinXP

Windows

XP

Any account may be hidden in logon window when DWORD zero, named as account being hidden, is created in key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList.