ssh using host X11
I sometimes need to launch a script that requires an X11 connection.
If I would try this from a remote location (using SSH) I would get an X11-error because it cannot find any X11-connection.
I would like it to use the local X, i.e. no forwarding.

At the moment I am using a small but ugly trick to do this: I make a small cron-job which is launched the next minute from the host machine and therefore automatically uses the local X-connection.

Is there any nicer/cleaner/easier way to do this?
ssh using host X11
===

I sometimes need to launch a script that requires an X11 connection.
If I would try this from a remote location (using SSH) I would get an X11-error because it cannot find any X11-connection.
I would like it to use the local X, i.e. no forwarding.

At the moment I am using a small but ugly trick to do this: I make a small cron-job which is launched the next minute from the host machine and therefore automatically uses the local X-connection.

Is there any nicer/cleaner/easier way to do this?