How do I run GUI software in a K8S pod?

Kubernetes version: v 1.18

How do I run GUI software in a K8S pod? Like xclock, when I start X server on MobaXterm. under K8S I run a pod, the image of this pod is ubuntu 18.04-desktop, when I run xclock inside this pod, no GUI appears,how should I solve this problem?