PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : zweiten Bildschirm im laufenden Betrieb zu-/abschalten



higgy
28.12.07, 08:43
Hallo Experten,

ich nutze Ubuntu 7.10 auf meinem Laptop (Thinkpad R60). Dort habe ich einen zweiten Bildschirm eingerichtet. Der funktioniert auch wirklich klasse. Allerdings muss ich jedesmal wenn ich den Desktop auf den zweiten Bildschirm spiegeln will den X-Server neu starten. Bei Präsentationen ist das wirklich lästig.

Unter Windows habe ich auf dem Laptop die Taste FN+F7 gedrückt und konnte den zweiten Bildschirm einfach im laufenden Betrieb zu- bzw. abschalten. Gibt es solche eine Möglichkeit unter Linux auch? Hier im Forum habe ich nur bislang Lösungen für Probleme gefunden die ich im Zusammenhang mit einem zweiten Monitor nicht hatte.

Viele Grüsse
higgy

HEMIcuda
28.12.07, 09:35
Du koenntest von vornherein in Deiner xorg.conf einen geclonten Screen einrichten, der immer aktiv ist. Ansonsten schau Dir mal xrandr an.

'cuda

higgy
28.12.07, 12:01
Hallo HEMIcuda,

vielen Dank für die Info. Ich habe schon über System -> Systemverwaltung -> Bildschirme und Grafik einen zweiten Bildschirm eingerichtet. Ich habe aber keine Ahnung wie eine dauerhafte Aktivierung hier in der Konfiguration einrichte.

hier ein auszug aus meiner xorg.conf

Section "Module"
Load "glx"
Load "dbe"
Load "v4l"
EndSection
Section "device" #
Identifier "device1"
Boardname "ATI Radeon (fbdev)"
Busid "PCI:1:0:0"
Driver "fglrx"
Screen 0
Vendorname "ATI"
Option "DesktopSetup" "c"
Option "ForceMonitors" "crt1,crt2"
Option "HSync2" "31.5-61.0"
Option "VRefresh2" "50-75"
EndSection
Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
SubSection "Display"
Depth 24
Virtual 1280 960
Modes "1024x768@60" "1280x960@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor1"
Vendorname "Generic CRT Display"
Modelname "Monitor 1024x768"
Horizsync 31.5-61.0
Vertrefresh 50-75
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
Gamma 1.0
EndSection
Section "ServerFlags"
EndSection
Section "device" #
Identifier "device2"
Boardname "ATI Radeon (fbdev)"
Busid "PCI:1:0:0"
Driver "fglrx"
Screen 1
Vendorname "ATI"
Option "DesktopSetup" "c"
Option "ForceMonitors" "crt1,crt2"
Option "HSync2" "31.5-61.0"
Option "VRefresh2" "50-75"
EndSection
Section "screen" #
Identifier "screen2"
Device "device2"
Defaultdepth 24
Monitor "monitor2"
SubSection "Display"
Depth 24
Modes "1024x768@60" "1280x960@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor2"
Vendorname "Generic CRT Display"
Modelname "Monitor 1024x768"
Horizsync 31.5-61.0
Vertrefresh 50-75
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
Gamma 1.0
EndSection

Hier könne man sicherlich auch noch was ausmisten. Ich traue mich aber nicht so richtig an die Konfiguration ran.

Wenn ich xrandr nutze erhalte ich folgende Meldung:


bernd@bernd-laptop:~$ xrandr -q
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 6 ()
Serial number of failed request: 9
Current serial number in output stream: 9


Das hilft mir nicht sonderlich weiter. Vielleicht hast Du ja einen Tipp welche Kleinigkeit ich in der XORG.CONF äöndern muss, damit der Ausgang für den zweiten geclonten Bildschirm dauerhaft aktiv ist.

Erstmal vielen Dank für Dein erstes Feedback.

Viele Grüsse
higgy

higgy
30.12.07, 23:13
Hallo Experten,

ich habe eine Lösung für mein Problem im IBM-Forum ThinkWiki gefunden.

Vielleicht hilft diese Lösung ja auch anderen Laptopbesitzern.

Um einen Beamer oder einen zweiten Bildschirm anzusteuern ohne den X-Server immer wieder neu zu starten hilft evtl. folgendes Vorgehen.

1. Ctrl+Alt+F1 um auf eine Konsole zu wechseln
2. Fn+F7 um Den Videoausgang zu aktvieren
(Achtung! das kann je nach Laptop auch Fn+F5 sein!)
3. Alt+F7 zurück zum X-Server

Das funktioniert bei mir wunderbar.:):):):):):):)

Viele Grüsse
higgy