I set up my old PC with debian, which worked fine after running the installer from windows. But seems like I messed up some files while trying to get the touchpad-tap to work( followed this "guide" https://unix.stackexchange.com/a/337218/293324).
After that I rebooted my System, and just got a terminal view, no GUI.
The command "startx" ends in a fatal error. I think I tried almost everything right now, even to delete the directory "xorg.conf.d" I created beforehands.
Also stuff like
apt-get purge gdm and
apt-get install gdm (with gdm3, gnome, gnome-service and gnome-desktop) isn't working because the system doesnt find the packages.
I think my last option to get a GUI back is to reinstall the system, but after many hours with google I didn't find a way to reinstall it without an external boot device.
Extra Information: My cd/dvd player is broken and my pc also doesn't like external bootable drives(usb)
Do you have some ideas how to get the GUI back, or how to reinstall debian from the terminal?
Edit: The log file( Xorg.0.log) some errors may occur through hand passing.
[ 324.712] X.Org X Server 1.19.2 Release Date: 2017-03-02 [324.713] X Protocol Version 11, Revision 0 [324.714] Build Operating System: Linux 4.9.0-4-amd64 i684 Debian [324.714] Current Operating System: Linux Nat 4.9.0-6-686-pae #1 SMP Debian 4.9.82-1*deb9u3 (2018-03-02) i686 [324.714] Kernel Command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-6-686-pae root= ... [324.714]Build Date: 16 October 2017 08:12:56AM [324.715]xorg-server 2:1.19.Z-1+deb9u2 (https://www.debian.org/support) [324.715] Curreng version of pixman 0.34.0 [324.715] Before reporting probblems... [324.715]Markers: (--) probed, (**) from config file, (==) default settings, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [324.716](==) Log file: "/var/log/Xorg.0.log", Time: Thu May 31 08:04:25 2018 [324.717] (==) Using confog directory: "/etc/X11/xorg.conf.d" [324.717]n(==) Using system config directory "/usr/share/X11/xorg.conf.d" [324.717]Parse error on line 9 of section InputClass in fule /usr/share/X11/xorg.conf.d/70-wacom.conf "Section" is not a valid keyword in this section. [324.718] (EE) Problem parsing the config file [324.718] (EE) Error parsing the config file [324.718] (EE) Fatal server error: [324.718] (EE) no screens found(EE) "...log file and support notice"
Edit2: Interesting that the error occurs from a file in the directory i thought I deleted. would pass the file, but it's a little too long and doesn't look like there's a "Section" declared without an "EndSection" or inside another Section. But from Line 9-15 it looks like:
Section "InputClass" Identifier "Wacom USB tablet class" MatchUSBID "056a:*" MatchDevicePath "/dev/input/event*" MatchIsTablet "true" Driver "wacom" EndSection