Problems opening pictures and running gtk programs

Hello all,
I am new in this group and i have the problem to run the simple hello world program
written in gtk on the Beaglebone black via HDMI and cape.

The borders of the terminal from where i start the program are gone.
The terminals are dead.

The window is fixed on top left of the screen, and I have to kill the task via smartty from outside.

If I start the program via smartty on the pc the window it appears correctly on the pc, with borders -- all fine.

I have seen the same problem in a thread last year, but i could not find the solution.

I tried the latest software but the same problem.

The versions now are:
Cloud GNOME Image 2013.06.20
Anstrom v2012.12

any help woud be very great.
thanks in advance to the group

By the way:
My project is to update the hardware of my CNC milling machine wih the beaglebone to understand g-code,
to control the positioning motors and so on. The actual version is based on an older controller.

Greatings
W.Wölfel

It seems you are not running a X window manager
(https://en.wikipedia.org/wiki/X_window_manager)

regards,
Nuno

I am on X.Windows on HDMI Monitor
Regards
Werner

Yes, you are running a X server, but are you also running an X Windows
manager, like the ones in the link on my previous post?

regards,
Nuno

Hello Nuno,
thank You for Your answer.
Run a Beaglebone Black as standalone with HDMI monitor or LCD cape.
Compile the Hello World program as describes by Derec Molloy with gtk.
Run it and You will see the problem.
The same problem occures if You open GIMP and load a picture.

Regards Werner

Hi Werner,
  I'm familiar with Derek Molloy videos, but you didn't confirm that you
have a X window manager running on the BBB.
  What distribution are you using? Can you do a 'ps axwf' on your
beaglebone and copy&paste it here?

regards,
Nuno

Hello Nuno,
the distributions i use, i have described in my initial mail.
the result of the ps axwf You find as attachment.

regards
Werner

xyz.txt (5.19 KB)

Hi Werner,
  you are right, sorry for that, I missed the distro you mentioned.
  Can you point me to the youtube video and the instructions that you
followed ? I wonder if you are running your gtk application on the linux
framebuffer instead of the X server? From the process tree, it gives
that impression.

    regards,
      Nuno