LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-09-2005, 09:43 PM   #1
Croaker
Member
 
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41

Rep: Reputation: 15
Dual monitors in console mode


I'm hoping someone can point me in the right direction on this question.
I have a dual monitor system setup in X. What I would like to do though, is to have some way of getting monitor 2 into a console screen so I can work on the cli while an Xsession running on monitor 1. That way I can edit files while looking at a web page, man page, or README file without having to switch between consoles.
I have two monitors. Monitor 1 is a ViewSonic VP201s connected via DVD-D cable to a PNY GeForce 6800GT. Monitor 2 is a Proview PL716s connected via vga cable to a PNY MX4000.

I really like having both monitors when I have X running, but I would also like to have the ability to use both monitors in console mode.
Thanx.
 
Old 06-09-2005, 09:47 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
What about a maximized xterm on the second screen?

--Shade
 
Old 06-10-2005, 04:28 PM   #3
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
I've not tried it, but I hear rumours of being able to use a program called "screen" with some kind of xinerama trick to get, effectively, 2 different consoles (one per monitor). Theoretically, then, each would be a separate entity, and running "startx" on one would only kick X up onto VT7 of that monitor. In practice, I've not looked into doing this at all ... if you don't need a proper terminal, then as mentioned, a maximised xterm (called with proper --geometry settings, perhaps?) will give you that effect.
 
Old 06-10-2005, 05:08 PM   #4
Croaker
Member
 
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41

Original Poster
Rep: Reputation: 15
I was reading the manpage for screen when I first started trying to figure this out. Screen might work, if I can understand the manpage. I'll probably end up doing the xterm thing on monitor 2. I like the console better though, the fonts are bigger than in xterm.
Thanks for your help guys.
 
Old 06-10-2005, 05:23 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
you can enlarge the font that xterm uses.
edit: err....but the " -fs " option doesn't seem to work...

egag

Last edited by egag; 06-10-2005 at 05:40 PM.
 
Old 06-10-2005, 11:14 PM   #6
puffinman
Member
 
Registered: Jan 2005
Location: Atlanta, GA
Distribution: Gentoo, Slackware
Posts: 217

Rep: Reputation: 31
You can change the xterm font size with either a line like this in your .Xdefaults:

xterm*Font: 9x15

or ctrl-right click and select the font size you want.
 
Old 06-10-2005, 11:48 PM   #7
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
piete or anyone else for that matter,

I'm "giddy as a schoolgirl" about the proposition of using my dual heads, 1 in X and 1 at the CLI.
I'm familiar with the program screen & xinerama... but combine the 2 to achieve something new?
That would be cool.

I tried searching, but every result seemed to be about xinerama in X only or MAC hardware.

Any one have a link? Or piete, do you remember what site you saw it on?
-tw

p.s. - I'll reread " man screen " in the mean time.
 
Old 06-11-2005, 11:01 AM   #8
Croaker
Member
 
Registered: Sep 2004
Location: Oklahoma City, OK
Distribution: Slackware 12.1
Posts: 41

Original Poster
Rep: Reputation: 15
I've googled using different phrases, I've looked the the HOW-TO's, various README documents, read the man pages for init, console, tty, agetty, getty, vt, screen, and several others I can't remember now. Nothing explains how. Or even touches on the subject.
The only thing I can think of that might work is to remove this line in /etc/inittab:
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
And then create a script in /etc/rc.d/rc.local that would set tty6 on monitor 2.
Think I'll try googling some more, this time using 'UNIX' instead of 'linux' or 'slackware'. Since Slackware is the most 'UNIX' like distro, I might find something I missed.

Update: The Framebuffer-HOW-TO has info on how to set this up. Ufortunately it's written for the 2.1.x kernel. So may have to make adjustments.

Last edited by Croaker; 06-11-2005 at 02:26 PM.
 
Old 06-16-2005, 03:46 AM   #9
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
I've done all of the above, in addition to fishing through my history & favourites. I hope I wasn't making it up, but it's entirely possible I thought I read something and didn't - since I've never felt the desire to get this particular mode of operation up & running, I never looked too closely =/

Looking through the nvidia readme, leads me to believe several things, including the idea of running a raw xterm or similar straight on top of an X server. Not quite the separation you were discussing, but the result.

See appendix P for possibilities on that.

ftp://download.nvidia.com/XFree86/Li...664/README.txt

Anyway, please forgive an old man for getting it wrong! Perhaps someone more kernel-savvy will have the forsight to show us how it's done using kernel 2.6!

Sleep easy,
- Piete.
 
  


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
dual monitors on dual vido cards Spaz17 Linux - Hardware 7 05-04-2006 07:59 AM
Setting up Dual Monitors on GeForce 6600GT dual DVI card. monkiidansu Linux - Hardware 1 09-29-2005 02:21 PM
dual monitors, dual video cards, 1 X, 1 text 333333338 Linux - Hardware 0 04-17-2005 04:21 AM
Mandrake 9.2's boot process entirely done in console mode before loading in X mode... mishmash Mandriva 6 02-17-2004 09:19 PM
Dual Monitors joel112 Linux - Hardware 24 06-02-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 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