How to start gst-launch with startx command

Yes even manually trying to play this stream does not work, I also tried using ~/.xinitrc in home directory, gst-play-1.0 does starts as it is shown by top command but it does not show the rtsp video, we can only see a black screen and mouse pointer in x shape.