Is there a way to see the text of tty7 without shutting down Xorg, just like switching to another tty?
|
I presume you want to see the X server logs for your GUI under VT7 (Ctrl+Alt+F7). In other words, the text that gets printed if you were to do a text boot, login and type "startx" (before the script hands over to your DE). If this is the case, you can simply open your Xserver logs:
For boot logs that would appear prior to the console login & X greeter, check:
The greeter creates its own logs. If you're using lightdm (the default greeter), then you'll find them all under:
|
||||
|
|
If you start X manually (startx or xinit) you'll see the text in whatever VT you issued the command in - unless you redirect it to a file or /dev/null (remember there are two streams here, stdout and stderr). Usually however X is started automatically at boot by some display-manager (e.g. gdm, kdm or xdm), so you'll find the information in the Xorg-, *dm-, boot- and upstart-logs under /var/log. Other logs - like /var/log/messages and /var/log/syslog - may also hold some information. |
|||
|
|
|
Check /etc/init/ to see if you actually have tty7 configured. It isn't by default, meaning that there isn't one to view, AFAIK. |
|||||||
|
|
You can also quit X windows using Ctrl-Alt-F12. That sends you to a text terminal, in general tty7. You can use the Alt-F1 to Alt-F7 to switch between terminals, however, when you come back to tty7, it switches back to X11, so you cannot go back and forth... If like me you start X11 from a console, the X11 output will be in that console. Say you do so in tty1, then you'd use Alt-F1 to go back there. Now, this is all nice, but it only gives you the last 25 or so lines of output. Checking out the logs is definitively better since that way you can find everything since you started your session. |
|||
|
|
