1 of 2

how to start xclock (or something else) to be displayed on my HDMI device on Raspbian console session?

i am new to Raspbian and to Raspberry pi.

I have a raspberry pi 2 and installed the newest Raspbian Version (2015-05-05).

As "boot option" i chose "Console Text console..." because i don't want a fully desktop.

Now i logged in from my remote PC via SSH (putty). I want to start Firefox but get the following error:

root@raspberry:~# firefox

(process:2425): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size =                                   = 0' failed
Error: no display specified

if i try to start xclock i also get an error:

root@raspberry:~# xclock
Error: Can't open display:

i want to start the programs on my display connected via HDMI. Even if i do this directly on my raspberry console it doesn't work.

How can i tell my raspberry to display this programs on my via HDMI connected Display?