diff options
author | Matt Wilson <msw@redhat.com> | 2001-01-10 19:59:58 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-01-10 19:59:58 +0000 |
commit | 230e362516f6f808be22d5e9159e095871686e07 (patch) | |
tree | 3ca8a06bd43ed901ad8a612c09460ae8b54b049c /anaconda | |
parent | f322110b8edd42c5d9367c8328d49ad8f1f892d4 (diff) | |
download | anaconda-230e362516f6f808be22d5e9159e095871686e07.tar.gz anaconda-230e362516f6f808be22d5e9159e095871686e07.tar.xz anaconda-230e362516f6f808be22d5e9159e095871686e07.zip |
change to vt1 on gui startup failure
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -275,7 +275,9 @@ else: # # startup X server is we're not already running under an X session # +startXServer = 0 if (display_mode == 'g' and not os.environ.has_key('DISPLAY')): + startXServer = 1 import xserver try: if (reconfigOnly == 0): @@ -305,6 +307,10 @@ if (display_mode == 'g'): try: from gui import InstallInterface except: + # if we're not going to really go into GUI mode, we need to get back + # to vc1 where the text install is going to pop up. + if startXServer: + isys.vtActivate (1) print "GUI installer startup failed, falling back to text mode." display_mode = 't' from text import InstallInterface |