remotedesktop using linux tool called rdesktop

rdesktop -k en-us -a 16 -g 90% -u Administrator -p 'P@ss#4dD'   192.168.1.100

mysql lock query timeout

show open tables where in_use>0;
SHOW VARIABLES LIKE 'tx_isolation';
or if you have MySQL 5.1+
SELECT * FROM information_schema.session_variables
WHERE variable_name = 'tx_isolation';
If you want to know what the server has configured globally, change the above to the following:
SHOW GLOBAL VARIABLES LIKE 'tx_isolation';
or if you have MySQL 5.1+
SELECT * FROM information_schema.global_variables
WHERE variable_name = 'tx_isolation';
If you want to make the query reveal what transaction isolation is being used, run this:
SELECT variable_value IsolationLevel
FROM information_schema.session_variables
WHERE variable_name = 'tx_isolation';**