Index: sux-1.0.1/sux
===================================================================
--- sux-1.0.1.orig/sux	2008-06-24 03:05:06.000000000 +0200
+++ sux-1.0.1/sux	2008-06-24 03:06:18.000000000 +0200
@@ -200,7 +200,7 @@
 
   # If display is of the form "host:x.y" we may also need to get the 
   # cookies for "host/unix:x.y".
-  sux_unix_display=`echo $DISPLAY | sed -e 's#^localhost:#:# ; s#^\([a-zA-Z_.][a-zA-Z_.]*\):#\1/unix:#'`
+  sux_unix_display=`echo $DISPLAY | sed -e 's#^localhost:#:# ; s#^\([[:lower:][:upper:]_.][[:lower:][:upper:]_.]*\):#\1/unix:#'`
   if [ "$DISPLAY" = "$sux_unix_display" ]
   then
     sux_unix_display=""
