LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2012, 11:27 AM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
How can I devote a screen to the console while using X...


I have a setup with three monitors running Fluxbox on Slackware 13.37. I use two of the screens for X using the nvidia driver. Is there a way to attach the 3rd monitor to a console outside of X for error messages? I am doing kernel development which could result in several "oops" crashes and I need to see that dump in the console.

-Tristan
 
Old 10-22-2012, 08:34 PM   #2
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Just open a Terminal Emulator window and run it full screen. However what you probably need to see is the errors that get generated on the console you launched startx from.

In that case you can see the error or warning log file for troubleshooting purpose at the following location:

/var/log/Xorg.?.log

In your full screen Terminal window use the tail command to view log file:

Code:
tail -f /var/log/Xorg.0.log
That said, I am not sure if the Xorg log file will give you everything you need. (In fact after looking at it, it appears to only have start-up messages) You may still need to flip to the console (Ctrl+Alt+F<x>) you launched startx from to see everything.

I would think there would be a way to see the information printing to the console you started X from in a Terminal window, but I could not find one. I did find a verbose option that may give you more info in the log file:

Code:
startx -verbose

Last edited by Fred-1.2.13; 10-22-2012 at 09:08 PM.
 
Old 10-23-2012, 10:45 AM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
Actually I think I'm just going to modify the /etc/syslog.conf to log kern.* to specific vty. That should work.
 
Old 10-23-2012, 04:51 PM   #4
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by trist007 View Post
Actually I think I'm just going to modify the /etc/syslog.conf to log kern.* to specific vty. That should work.
I thought something like this would be possible, but just didn't know what was available.

If possible can you post what you did to get syslog.conf logging to a specific vty? I would like to know how its done! Thanks!
 
Old 10-27-2012, 11:41 AM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by trist007 View Post
I have a setup with three monitors running Fluxbox on Slackware 13.37. I use two of the screens for X using the nvidia driver. Is there a way to attach the 3rd monitor to a console outside of X for error messages?
The console on a PC host host normally is, by default, connected to a non-X terminal. I think a more accurate way to look at the problem is to figure out how to limit X from using all of the monitors, and only create an X server on two of them as specified by you.
Sorry I cannot actually guide you on that part, but you can normally get to the text-mode console from X with 'Ctrl-Alt-F1' (and Ctrl-Alt-F7, to get back to X).
An alternative solution might be to use a serial port as the console by specifying that on the kernel commandline. Then, attach a serial terminal or terminal emulator to the serial port as your console connection.
--- rod.

Last edited by theNbomr; 10-27-2012 at 11:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screen is black after one move from x to virtual console, back to x, then to console Raul Claro Debian 13 02-22-2011 09:41 AM
Console screen disappeared! frank4360 Linux - Newbie 7 01-04-2008 05:34 PM
console screen flashing peterman9898 Linux - Laptop and Netbook 3 11-14-2005 03:04 AM
x console screen? rmguest Linux - Newbie 5 10-13-2005 06:14 AM
Screen blanking in console only gommo Programming 1 07-09-2002 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration