Just follow the install and configure instructions. In short you need
- openwsman
An open source implementation of the ws-management standard. - rwsman
Ruby bindings for openwsman client operations. - Ruby On Rails
Web development that doesn't hurt - Railsapp
Rails demo application for rwsman
The demo application allows to start and stop the desktop (the xdm service to be precise) and to switch the desktop environment between KDE and GNOME. YaST operations Doc has videotaped a demo, you can find it in the idea.opensuse.org blog.