How to see terminal screen msgs
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
How to see terminal screen msgs
When I shutdown the screen is always full of text. How do I view this text prior to shutting down?? The only way I've found is with a camera and as you can see it's not a good option.
http://img845.imageshack.us/img845/7678/xjei.jpg
I can see some kind of a Fatal error msg near the bottom which I would like to know more about also.
http://img845.imageshack.us/img845/7678/xjei.jpg
I can see some kind of a Fatal error msg near the bottom which I would like to know more about also.
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How to see terminal screen msgs
Hi Ed!
See if the recommandation of fanthom does apply to you:
http://forum.porteus.org/viewtopic.php? ... der#p19616
À la prochaine. 8)
See if the recommandation of fanthom does apply to you:
http://forum.porteus.org/viewtopic.php? ... der#p19616
In my menu.lst I have:boot to text mode with 'debug' cheatcode enabled and use shift+PgUp/PgDown to scroll the screen
Code: Select all
title porteus v2_64 on sda5 64bit_v21 KDE TEXT MODE DEBUG
root (hd0,4)
kernel /64bit_v21/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v21 debug changes=EXIT:/64bit_v21/kde load=kde.xzm extramod=/mnt/sda5/64bit_v21/porteus/modules-super/ login=root
initrd /64bit_v21/boot/syslinux/initrd.xz 3
boot
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How to see terminal screen msgs
The debug cheatcode is only useful for booting. Porteus is so fast at shutting down (a tribute to fanthom) that the error messages spat out don't have time to hit the floor before the screen goes out.
Just a thought.
1) Boot into text mode (with changes= cheatcode functioning).
2) type: startx 2> /home/guest/mylog.log
Now all X errors should be redirected to your new log file. Because you are saving changes this file should persist the next boot and you can read it.
PS: As stated in another thread, these errors are from qxkb and are nothing to worry about. I am familiar with them and recognized them even in your very fuzzy photograph.
Just a thought.
1) Boot into text mode (with changes= cheatcode functioning).
2) type: startx 2> /home/guest/mylog.log
Now all X errors should be redirected to your new log file. Because you are saving changes this file should persist the next boot and you can read it.
PS: As stated in another thread, these errors are from qxkb and are nothing to worry about. I am familiar with them and recognized them even in your very fuzzy photograph.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: How to see terminal screen msgs
if you want to be able to read messages during shutdown then please edit /mnt/live/cleanup script and add 'read' command somewhere at the end of it but before 'reboot/poweroff' commands. now you will be able to read everything and shutting down wont continue until you press enter.
also - if you want to get a shell then add 'sh' command to the cleanup script and press 'ctrl+D' to continue shutting down.
also - if you want to get a shell then add 'sh' command to the cleanup script and press 'ctrl+D' to continue shutting down.
Please add [Solved] to your thread title if the solution was found.
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
Wow!! Thanks guys for all the suggestions.
While I am somewhat concerned about the Fatal error msg I'm also concerned why there are so many other msgs seemingly related to what I have been doing in GUI mode. All this text msg writing has got to have an impact on performance. I don't recall this volume of text msgs in prior releases. Are they caused by the qxkb problem or is that just related to the Fatal error seen in the fuzzy photograph? And if they are caused by the qxkb problem will there be a fix anytime soon?
While I am somewhat concerned about the Fatal error msg I'm also concerned why there are so many other msgs seemingly related to what I have been doing in GUI mode. All this text msg writing has got to have an impact on performance. I don't recall this volume of text msgs in prior releases. Are they caused by the qxkb problem or is that just related to the Fatal error seen in the fuzzy photograph? And if they are caused by the qxkb problem will there be a fix anytime soon?
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How to see terminal screen msgs
Most of the messages are normal reports from qxkb. The only fatal errors are from qxkb and qlipper upon shutdown.. Probably from having the service terminated during shutdown. There should be no impact on performance or usage during your session. I'll look into how to kill them gracefully.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
Actually the msgs I'm more concerned about are the ones shown in this blurry photo.
http://img822.imageshack.us/img822/5353/5df8.jpg
It seems that Porteus is erring out constantly.
http://img822.imageshack.us/img822/5353/5df8.jpg
It seems that Porteus is erring out constantly.
Is there a cheatcode to do that? I'll check myself later if you're busy.brokenman wrote:1) Boot into text mode (with changes= cheatcode functioning).
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How to see terminal screen msgs
At the menu screen select the 'textmode' and then hit the TAB button. You can add your changes=/path/to/changes in there. Or edit the porteus.cfg file if you are not botting from an ISO.
These error messages look like they are coming from the gtk theme. I am using the latest oxygen theme for razor but i have noticed other bugs in it. For example, open geany (development program) and then minimize it and then in a terminal enter: top to see the process usage and watch the CPU start to fry! (hit 'q' to exit from top)
This doesn't happen with other themes. I might look at moving from oxygen ... but it looks so nice.
These error messages look like they are coming from the gtk theme. I am using the latest oxygen theme for razor but i have noticed other bugs in it. For example, open geany (development program) and then minimize it and then in a terminal enter: top to see the process usage and watch the CPU start to fry! (hit 'q' to exit from top)
This doesn't happen with other themes. I might look at moving from oxygen ... but it looks so nice.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
I don't have a menu when I boot Porteus, I go directly to startx with 2.1 regardless of which boot option I choose.brokenman wrote:At the menu screen select the 'textmode' and then hit the TAB button. You can add your changes=/path/to/changes in there. Or edit the porteus.cfg file if you are not botting from an ISO.
Code: Select all
With changes= cheatcode
kernel /boot/syslinux/vmlinuz from=/ISOs/Porteus-RazorQT-v2.1-x86_64.iso changes=EXIT:/porteussave.dat
initrd /boot/syslinux/initrd.xz
With extramod= cheatcode
kernel /boot/syslinux/vmlinuz from=/ISOs/Porteus-RazorQT-v2.1-x86_64.iso extramod=/mnt/sda6/porteusmodules
initrd /boot/syslinux/initrd.xz
Fresh mode
kernel /boot/syslinux/vmlinuz from=/ISOs/Porteus-RazorQT-v2.1-x86_64.iso
initrd /boot/syslinux/initrd.xz
BTW Is the password for guest guest?
I like RazorQT's oxygen also.I might look at moving from oxygen ... but it looks so nice.
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
Ok. I suspect the noauto cheatcode will do that for me.brokenman wrote:1) Boot into text mode (with changes= cheatcode functioning).
And I have found that once booted ctrl+alt+F2 will allow me to resignon as guest and issue the startx command you showed. My next terminal msgs posting should be considerably clearer.brokenman wrote:2) type: startx 2> /home/guest/mylog.log
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
Ok, some clear msgs from mylog.log.
This period covers part of my being on the web with FireFox. But WHY is this stuff being written to the terminal log??
Code: Select all
** Message: applet now embedded in the notification area
Current selection: ""
Current selection: ""
Current selection: ""
Current selection: ""
QXKB::layoutChange : reconfig
QXKB::layoutChange : done
QXKB::layoutChange : reconfig
QXKB::layoutChange : done
Current selection: "he debug cheatcode is only useful for booting. Porteus is so fast at shutting down (a tribute to fanthom) that the error messages spat out don't have time to hit the floor before the screen goes out.
Just a thought.
"
Current selection: "he debug cheatcode is only useful for booting. Porteus is so fast at shutting down (a tribute to fanthom) that the error messages spat out don't have time to hit the floor before the screen goes out.
Just a thought.
"
Current selection: "
Now all X errors should be redirected to your new log file. Because you are saving changes this file should persist the next boot and you can read it.
PS: As stated in another thread, these errors are from qxkb and are nothing to worry about. I am familiar with them and recognized them even in your very fuzzy photograph. :ROFL:[/quote]
"
Current selection: "
Now all X errors should be redirected to your new log file. Because you are saving changes this file should persist the next boot and you can read it.
PS: As stated in another thread, these errors are from qxkb and are nothing to worry about. I am familiar with them and recognized them even in your very fuzzy photograph. :ROFL:[/quote]
"
Current selection: "2) type: [b]startx 2> /home/guest/mylog.log[/b]"
Current selection: "2) type: [b]startx 2> /home/guest/mylog.log[/b]"
Current selection: "billie"
Current selection: "billie"
Current selection: "rose tyler dr who"
Current selection: "rose tyler dr who"
Current selection: "billie piper"
Current selection: "billie piper"
Current selection: ""
Current selection: ""
xinit: connection to X server lost
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
Just following the advice given here: http://forum.porteus.org/viewtopic.php? ... =15#p18076phhpro wrote:CTRL-ALT-F2 simply opens a virtual console, You close it via CTRL-ALT-F7.
And startx closes it also.
- Ed_P
- Contributor
- Posts: 8578
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: How to see terminal screen msgs
@phhpro
While I am sure you know much more about Linux than I do, I do know what works, or not, on my system.
I boot to the RazorQT desktop.
I press ctrl+alt+f7 and nothing happens.
I press ctrl+alt+f2 and I exit the desktop and enter a terminal window.
I enter root, toor and startx and I am back at the desktop.
I press ctrl+alt+f7 and nothing happens.
That to me indicates that startx ends the terminal mode since ctrl+alt+f7 doesn't return me to the terminal window.
Things may work differently for you with your desktop system.
ctrl+alt+backspace is an interesting option. It signs me off without closing the desktop window. Thanks.
While I am sure you know much more about Linux than I do, I do know what works, or not, on my system.
I boot to the RazorQT desktop.
I press ctrl+alt+f7 and nothing happens.
I press ctrl+alt+f2 and I exit the desktop and enter a terminal window.
I enter root, toor and startx and I am back at the desktop.
I press ctrl+alt+f7 and nothing happens.
That to me indicates that startx ends the terminal mode since ctrl+alt+f7 doesn't return me to the terminal window.
Things may work differently for you with your desktop system.
ctrl+alt+backspace is an interesting option. It signs me off without closing the desktop window. Thanks.
Re: How to see terminal screen msgs
but if you start the system at init3 way and not 4,that mean in text mode, with ctrl+alt+backspace you can relog in and change your desktop environment without reboot the computer.see the porteus.config into the boot directory.
Re: How to see terminal screen msgs
well ed_P can read the log located into the /var/log directory,for searching the issue,but if he change some line into the porteus.config can start the system with the text mode,init3 and if something goes wrong he can read why.