Hi. Lately i've been practicing using keyboard shortcuts to use the mouse less/not at all. (why? Cuz im nerdy and curious) I went to hit alt + f2 to bring up the run application dialog box in gnome and accidenlty hit f1 and pretty sure i unknownly had ctrl depressed as well. This brought me to the console and i forget the key combo to get back to the gui was (I thought it would have just been pressing ctl+alt+f1) again. So i rebooted figuring i'd get back into the login screen and everything would be fine. The console login came up and flashed a few times then it said X couldn't be started. It gave me the option to view a few outputs related to the error (I viewed them but don't know much about x so it was pointless) Eventually it said it had to create a new config file to be able to restart x. I have the Nvidia driver for my card installed so now i am not postive as to whether or not it is enabled now - i have a feeling it is not. The way i would know is TUXRacer would run sluggish without the driver but if i had it enabled properly it worked perfectly. For some reason TUXRacer won't start. I have a few questions that arise from the situation.
1. what is the key combo to get to the console so i know for sure so im more careful next time?
2. what is the key combo to get back to the gui so if it does happen again i can get back?
3. What could i have done to mess up x by switching to the console?
I forgot if it said it saved my original config file as xorg.conf~ or xorg.conf.backup but here is diff of xorg.conf against both.
Code:
[root@localhost X11]# diff xorg.conf xorg.conf~
1c1,2
< # Xorg configuration created by system-config-display
---
>
> # XFree86 4 configuration created by pyxf86config
4c5
< Identifier "single head configuration"
---
> Identifier "Default Layout"
10a12
>
14d15
<
18d18
<
34a35
>
37d37
<
40d39
<
97c96
< DefaultDepth 16
---
> DefaultDepth 24
102a102,106
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "800x600" "640x480"
> EndSubSection
Code:
[root@localhost X11]# diff xorg.conf xorg.conf.backup
1c1,2
< # Xorg configuration created by system-config-display
---
>
> # XFree86 4 configuration created by pyxf86config
4c5
< Identifier "single head configuration"
---
> Identifier "Default Layout"
10a12
>
14d15
<
18d18
<
31c31
< Load "dri"
---
> # Load "dri"
34a35
>
37d37
<
40d39
<
88c87
< Driver "nv"
---
> Driver "nvidia"
97c96
< DefaultDepth 16
---
> DefaultDepth 24
102a102,106
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "800x600" "640x480"
> EndSubSection
thanks for any replies in advance.