Initial commit for DM. Checks to see if it is run as root, makes a simple gui with username and password fields, and verifies that the user actually exists on the system.
Some code clean up. Added power options and some comments listing things to be fixed. Also added a function call to remove the window titlebar, commented out while the DM is still in testing. Makefile changed so it compiles with C++11.
Finished the user authentication by verifying the password of the user. On success, the selected xsession is started by a child process, setting the environment variables and changing its g/uid. Also has the program start the xserver at the beginning from a hard coded command.
X server is now started by program, and the DISPLAY environment variable is set.Replaced the window fullscreen call which didn't work without a window manager. XSessions won't start.
After successful login switch working directory to the user's home directory.
Merge branch 'master' of https://github.com/lotusronin/MarcDM