x11vnc was unable to open the X DISPLAY

Having trouble getting x11vnc working? Here’s the error: root@qaubutu:/etc/X11/gdm# x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 -auth 06/10/2010 16:28:21 *************************************** 06/10/2010 16:28:21 *** XOpenDisplay failed (:0) *** x11vnc was unable to open the X DISPLAY: “:0”, it cannot continue.…

freebsd find

How to find files, programs, etc using freebsd The locate command is good for finding files and directories. Enter something similar to: locate someprogram | more If that doesn’t work, perhaps try the whereis or find commands: whereis someprogram |…

snort sniffer mode

To run snort in sniffer mode you must use the -v (verbose) option.  This is also known as “packet dump” mode. Some other handy switches to run along with -v are: -d  : Dump the application layer -e  :  Display…

vmware unix

A great place to find vmware virtual machines for freebsd, ubuntu, cent os, red hat linux (RHEL), Linux Mint, etc is over at bagside’s virtual appliance repository here’s what they offer: Virtual Appliance Repository. This site is dedicated to virtual…

How to Print a Windows Directory

Need to print a windows directory? Here’s how: 1. Open up notepad 2. paste this text in Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\printdir] @=”Print Directory” [HKEY_CLASSES_ROOT\Directory\shell\printdir\command] @=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,70,00,72,00,69,\ 00,6e,00,74,00,64,00,69,00,72,00,2e,00,62,00,61,00,74,00,20,00,22,00,25,00,\ 31,00,22,00,00,00 3. Save file as printdir.reg 4. Open up a new notepad…

SELECT permission denied on object ‘USERS’, database ‘qcsiteadmin_db’, owner ‘dbo’

How to resolve this error: [Mercury][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object ‘USERS’, database ‘qcsiteadmin_db’, owner ‘dbo’.; Stack Trace: java.sql.SQLException: [Mercury][SQLServer JDBC Driver][SQLServer]SELECT permission denied on object ‘USERS’, database ‘qcsiteadmin_db’, owner ‘dbo’. at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source) at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source) The reason…