WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2  (Read 5569 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« on: January 31, 2016, 10:10:26 PM »
Unable to switch from Xorg to TTY, running dCore-jessie:2016.01.31.21.53, the latest release candidate.

Minimal boot to rule out other issues, rebuilt SCEs using newly modified -z option, also tested with restored SCE backups before new purge system. Attempting to switch to TTY just get a black screen, blinking underscore cursor top left corner. When switching back to Xorg briefly see text but not able to read. Able to switch back/forth, just don't get a TTY prompt or anything functional.

Tried with/out minimal sceboot.lst:
graphics-3.16.6-tinycore
xorg-intel
Xprogs
fluxbox

This hardware and intel 810 always gives Xorg errors but in TC6 no problem switching back and forth, same hardware also using Fluxbox. In dCore when attempting to switch back/forth get this in Xorg.0.log, thanks.
[   903.827] (II) intel(0): Setting dot clock to 108.0 MHz [ 0x10 0x2 0x20 ] [ 18 4 2 ]
[   903.827] (II) intel(0): chose watermark 0x22210000: (tab.freq 108.0)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11221
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #1 on: February 01, 2016, 06:17:33 AM »
Hi nitram
When you got the blinking cursor, did you try hitting enter to see if you get a prompt?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #2 on: February 01, 2016, 10:50:51 AM »
Hi Rich, thanks.
Already tried hitting Enter, Escape, spacebar amongst others.
Retrieved inittab, rcS and tc-config from TC6 to compare to dCore...new territory for me.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #3 on: February 01, 2016, 11:33:57 AM »
Although minor variations between these files to my untrained eye nothing significant. Obviously there are differences between TC and dCore but using the text bootcode in TC6 boots to TTY. The following codes in dCore boot direct into Fluxbox, despite removing 'desktop=fluxbox' and adding 'text'. In dCore the only way i can boot direct into text is to use 'base' and i believe 'text', just different, may not be relevant, then TTY works fine.

Booted me into Fluxbox:
Code: [Select]
tc@box:~$ version
dCore-jessie:2016.01.31.21.53
tc@box:~$ showbootcodes
BOOT_IMAGE=/dCore/boot/vmlinuz-jessie nozswap showapps tce=sdb4 text

So still can't get to TTY from Xorg session, suggestions appeciated, thanks.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #4 on: February 01, 2016, 02:28:46 PM »
I nitram. Read the boot codes on the faq
dCore user

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #5 on: February 01, 2016, 02:48:21 PM »
Hi jls.

tinycore text                       Textmode
http://tinycorelinux.net/faq.html#bootcodes

As explained, 'text' bootcode doesn't boot my dCore into text mode unless i also add 'base', but then boot without anything loaded. Doesn't appear to work this way in TC6. Regardless the main issue is unable to switch from Xorg to TTY during a graphic session. Anything else to look at?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #6 on: February 01, 2016, 05:17:19 PM »
Same issue switching to flwm_topside.

The  multivt  bootcode provided additional TTYs and got a login prompt, some progress BUT shouldn't default boot without this bootcode provide one TTY in addition to Xorg? At least that's how it works in TC6...

This may be due to my purged extensions, using  mutlivt  then Ctrl-Alt F1-F4 keys provided additional TTYS, logging in as 'tc' started another graphic session. Never saw that before, had four seperate graphic sessions running and was able to switch between them using Ctrl-Alt-F1-F4. As mentioned, may be due to broken purged extensions. Regardless the intial problem of not being able to switch from Xorg to TTY with default extensions (sce-import -z) did not work. Now stuck, can't think of anything else to try ATM. Can anyone test and reproduce any of this? Thanks.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #7 on: February 01, 2016, 05:29:07 PM »
The "text" boot code of dCore fixed.   I have not tested with the multivt boot code, but at least if you use the text boot code it will boot to text even with Xorg and a WM installed, and with the desktop= specified.

In the latest RC.

Tested and I can switch to different tty that produces a text login prompt when X is running whether the "text" boot code is used or not.
« Last Edit: February 01, 2016, 05:44:40 PM by Jason W »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #8 on: February 02, 2016, 07:05:08 PM »
Those who are using the 'mutivt' boot code and wish to switch to a tty during an X session, please test and confirm, thanks.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #9 on: February 03, 2016, 11:18:13 AM »
Hi
multivt works.
Thanx
dCore user

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #10 on: February 03, 2016, 11:51:28 PM »
Sorry notice no change, boots into Fluxbox despite 'text' bootcode. Using minimal boot, all SCEs listed below built using  sce-import -z  option. After booting to Fluxbox, toggling Ctrl-Alt-F1/F2 doesn't properly switch to TTY, thanks.
Code: [Select]
tc@box:~$ version
dCore-jessie:2016.02.03.23.56
tc@box:~$ showbootcodes
BOOT_IMAGE=/dCore/boot/vmlinuz-jessie nozswap text showapps tce=sdb4 desktop=fluxbox
tc@box:~$ cat /etc/sysconfig/tcedir/sceboot.lst
graphics-3.16.6-tinycore
xorg-intel
Xprogs
fluxbox

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #11 on: February 03, 2016, 11:58:49 PM »
Ok, will test.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #12 on: February 04, 2016, 12:09:04 AM »
Using boot codes "multivt text" boots into text, even with desktop=icewm. 

CTRL-Alt-F* switches to a new terminal login prompt.

cat /etc/sysconfit/tcedir/sceboot.lst:
pysolfc
200-multimedia-wily
wodim
minidlna
trans
flash11

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #13 on: February 04, 2016, 12:12:39 AM »
If you just use 'text' bootcode, not 'multivt text', should this not boot into text mode?

Not sure if this would make a difference but are you able to test with a dcore-jessie install?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: unable to switch from Xorg to TTY using Ctrl-Alt-F1/F2
« Reply #14 on: February 04, 2016, 12:30:53 AM »
Just rebooted and 'multivt text' still booted into Fluxbox. IIRC previously only able to boot into TTY if i remove the tce=* and/or desktop=* bootcodes:
Code: [Select]
tc@box:~$ showbootcodes
BOOT_IMAGE=/dCore/boot/vmlinuz-jessie multivt text nozswap showapps tce=sdb4 desktop=fluxbox
tc@box:~$ version
dCore-jessie:2016.02.03.23.56

If someone could test on dcore-jessie it would certainly be appreciated. This is an odd problem as the 'text' bootcode works perfect on same hardware running Tiny Core 6. Oh well, can't expect my old beast to run perfect anymore :)

Jason did your successful text boot have a tce=* bootcode with a bootlist that loaded xorg?