This is what I did for a basic "no DE (desktop environment)" setup. There are probably better posts out there for specfic DEs. But this post seems to be about simple Xorg setup and being able to run it on the command-line using
startx. For my tests, I used a fresh "Raspbian Jessie lite". The packages I installed:
sudo apt-get --no-install-recommends install xserver-xorg xserver-xorg-video-fbdev xinit pciutils xinput xfonts-100dpi xfonts-75dpi xfonts-scalable
server-xorg-video-* package, and
xinit are the only packages necessary for minimal
startx installation, howeve the other packages are reasonable for a kiosk setup using real applications. As always, you may need to tweak packages as necessary.
For fun be sure to grab
chromium-browser too. Then you can try Chromium in kiosk mode:
startx /usr/bin/chromium-browser http://www.google.com/ --window-size=1920,1080 --start-fullscreen --kiosk --
--window-size=1920,1080 --start-fullscreen options force a resize of the browser to the resolution specified (provided the actual dimensions don't exceed 1920x1080).