I installed and removed some packages and changed some settings on my Debian server. After reboot I can't run x11vnc to remote it using VNC. Now when I run startx, the result is:
no screens found
X -configure:
Number of created screens does not match number of detected devices.
Configuration failed.
x11vnc -auth guess gives me:
failed for display='unset'
since we are root, retrying with FD_XDM=1
failed for display='unset'
I don't know what my server configurations is but my fresh installation of Debian worked nice. Now I installed KDM, KDE, Gnome, Xorg, etc. to get the graphical screen but I don't know what some of them are.
How can I fix my system without reinstalling?