A GUI application should never run as a service. Don't be silly.
What you should do is decouple the logic from the user interface, put the logic in the service and write a GUI client that interacts with the service in user space.
Services are independent of a GUI, everybody knows that. (Well, obviously almost everybody)