Xclock

If you try to run xclock from the bash shell that you get from clicking on the Cygwin icon, you get "Can't open display" because there is no X display running. Run Xming with the parameters

:0 -unixkill -clipboard -multiwindow

or run xinit for a full blown X Session

If you still get "Can't open display" export DISPLAY=127.0.0.1:0

If you try to run xclock with the parameter -hands blue (or -hd blue) it doesn't work. You must also pass the parameter -norender

If you want a second hand, use the parameter -update 1

I use xclock -norender -hd blue -bg black -fg green -update 1 &

To copy and paste the above line:


Send mail to the Webmaster

logo This site best viewed with a browser
Warning: This is a Debian centric site and MAY contain peanuts.
Many thanks to Debra Lynn and Ian Murdock for making Debian possible
First created Feb 19, 2010 ~ Last revised February 20, 2010

Valid XHTML 1.0 Strict Valid CSS!