Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My graphic card has two output (VGA and DVI). Is it possible to switch from one to the other without rebooting ?

It works in Xorg by restarting the X server (I guess it should be doable with xrandr too) but I'd like to do it in the linux console.

I have looked at vbetool but I am not sure it is the right way (the commands I tried did not work anyway).

I have a nvidia card.

share|improve this question
    
Does xrandr not count as the Linux console? –  Michael Mrozek Nov 15 '10 at 15:05
    
xrandr would probably allow me to switch the display of Xorg from the console. What I would like to do is switch the output for the console itself (on tty1-6) –  Michel Nov 15 '10 at 15:36

1 Answer 1

I can't try it right know, but I found this answer to your question:
fbgetty /dev/tty8 /dev/fb0
fbgetty /dev/tty9 /dev/fb1

Where:
- /dev/tty8/9/n are the terminals you want to move
- /dev/fb0/1/v are the framebuffer devices you want to use ... it should switch between your outputs

Solution is taken from this forum thread: http://www.linuxforums.org/forum/debian-linux/96430-move-tty-second-monitor.html

share|improve this answer
    
I'll try it. Thanks –  Michel Nov 26 '10 at 15:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.