added get_dc_owner(); handle case where user is logged in locally but has restarted the X server and no longer seems to own /dev/console
added get_dc_owner(); handle case where user is logged in locally but has restarted the X server and no longer seems to own /dev/console

git-svn-id: 40b96386cbba86590ff9370e0ea614b5cc88fc13@26617 fe389314-cf27-0410-b35b-8c050e845b92

spacetelescope/stsci.tools