Problem med KVM-switch
-
- Admin
- Indlæg: 5305
- Tilmeldt: 26. apr 2010, 02:40
- IRC nickname: ClaudiuS
- Geografisk sted: Nyborg [fyn]
Problem med KVM-switch
Jeg bruger en KVM-switch, da jeg har flere bokse kørende. Indtil for nyligt kørte det helt fint med en opløsning på 1680x1050. Efter en uheldig nedlukning for nogle dage siden, har jeg måttet nøjes med 1024x768.
Nu er jeg så faldet over denne artikel:
http://www.ghacks.net/2009/12/15/best-linux-and-kvm-switch-practices/
Der omtales bla. en fil, xorg.conf men den kan jeg ikke finde i min Ubuntu 12.04 (art. er fra 2009).
Endvidere omtales denne procedure:
Det lyder dog i mine ører noget risikabelt. Hvad mener I?
Nu er jeg så faldet over denne artikel:
http://www.ghacks.net/2009/12/15/best-linux-and-kvm-switch-practices/
Der omtales bla. en fil, xorg.conf men den kan jeg ikke finde i min Ubuntu 12.04 (art. er fra 2009).
Endvidere omtales denne procedure:
If you do not want to have to monkey around with configuring xorg.conf, you have another solution - one that isn't perfect, but will work in a pinch (and one I have used when dealing with certain on-board graphics chips like Intel). Plug your monitor, keyboard, and mouse directly into your Linux machine and let it boot. Once you have your desktop up and running unplug the monitor, keyboard, and mouse and plug them back into the KVM. Plug the KVM cords into your Linux box and your Linux machine will be up and running. Fortunately the Linux machine won't have to be rebooted for anything any time soon. It's not an ideal solution, but it will work for you. Just remember, if you have to reboot you need to switch those cables around until the machine is back to the GUI desktop
Det lyder dog i mine ører noget risikabelt. Hvad mener I?
Med Venlig Hilsen
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
-
- Admin
- Indlæg: 20705
- Tilmeldt: 15. nov 2009, 15:04
- IRC nickname: AJenbo
- Geografisk sted: Vanløse, København
Re: Problem med KVM-switch
Har du samme problem hvis du køre uden KVM?
filen bliver ikke længere brugt som standart da systemet i dag er i stand til at lave konfigurationerne automatisk. Du kan dog oprette filen op overskrive de automatiske valg.
filen bliver ikke længere brugt som standart da systemet i dag er i stand til at lave konfigurationerne automatisk. Du kan dog oprette filen op overskrive de automatiske valg.
-
- Admin
- Indlæg: 5305
- Tilmeldt: 26. apr 2010, 02:40
- IRC nickname: ClaudiuS
- Geografisk sted: Nyborg [fyn]
Re: Problem med KVM-switch
Ingen problemer uden switch, der er opløsningen 1680x1050. Hvad mener du om proceduren?
Med Venlig Hilsen
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
-
- Admin
- Indlæg: 20705
- Tilmeldt: 15. nov 2009, 15:04
- IRC nickname: AJenbo
- Geografisk sted: Vanløse, København
Re: Problem med KVM-switch
Så har du nok desværre en dårlig switch der laver ged i data fra skærmen. Er der andre mulighed for at tilslutte skærmen og computeren til switchen. Jeg har oplevet nogle gange hvor det virker med VGA stikket men ikke hvis der er en DVI adapter samtidig.
Hvis ikke det virker kan det godt være du bliver nød til at hækse med Xorg
Hvis ikke det virker kan det godt være du bliver nød til at hækse med Xorg
-
- Admin
- Indlæg: 5305
- Tilmeldt: 26. apr 2010, 02:40
- IRC nickname: ClaudiuS
- Geografisk sted: Nyborg [fyn]
Re: Problem med KVM-switch
Den laver ikke ged i data, men forhindrer systemet i at identificere skærmen korrekt.
Har lavet en xorg.conf med denne kommando:
og editeret til denne:
men den fungerer ikke efter hensigten. Nogen der har en forklaring?
Har lavet en xorg.conf med denne kommando:
Kode: Vælg alt
Xorg :1 -configure
og editeret til denne:
Kode: Vælg alt
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "dri2"
Load "dbe"
Load "dri"
Load "record"
Load "extmod"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "N-Vision 22"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Radeon"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Radeon"
Monitor "N-Vision 22"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1680x1050" "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624""800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624""800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624""800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "1680x1050" "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624""800x600"
EndSubSection
EndSection
men den fungerer ikke efter hensigten. Nogen der har en forklaring?
Med Venlig Hilsen
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
-
- Admin
- Indlæg: 20705
- Tilmeldt: 15. nov 2009, 15:04
- IRC nickname: AJenbo
- Geografisk sted: Vanløse, København
Re: Problem med KVM-switch
Klaus Rasmussen skrev:Den laver ikke ged i data, men forhindrer systemet i at identificere skærmen korrekt.
Den laver ged i den data som skærmen sender så den ikke kan identificeres.
-
- Admin
- Indlæg: 20705
- Tilmeldt: 15. nov 2009, 15:04
- IRC nickname: AJenbo
- Geografisk sted: Vanløse, København
Re: Problem med KVM-switch
Mht til configurationen forslår jeg du køre Xorg :1 -configure uden KVM'en er tilsluttet, på den måde er den indstillet korrekt til skærmen.
-
- Admin
- Indlæg: 5305
- Tilmeldt: 26. apr 2010, 02:40
- IRC nickname: ClaudiuS
- Geografisk sted: Nyborg [fyn]
Re: Problem med KVM-switch
Det var det jeg gjorde.
Med Venlig Hilsen
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
-
- Admin
- Indlæg: 20705
- Tilmeldt: 15. nov 2009, 15:04
- IRC nickname: AJenbo
- Geografisk sted: Vanløse, København
Re: Problem med KVM-switch
Hvad ændrede du ved det den kom med?
-
- Admin
- Indlæg: 5305
- Tilmeldt: 26. apr 2010, 02:40
- IRC nickname: ClaudiuS
- Geografisk sted: Nyborg [fyn]
Re: Problem med KVM-switch
Originalen ser således ud:
Kode: Vælg alt
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "dri2"
Load "dbe"
Load "dri"
Load "record"
Load "extmod"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # <str>
#Option "fbdev" # <str>
#Option "debug" # [<bool>]
Identifier "Card1"
Driver "fbdev"
BusID "PCI:1:0:0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card2"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Med Venlig Hilsen
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
-
- Admin
- Indlæg: 20705
- Tilmeldt: 15. nov 2009, 15:04
- IRC nickname: AJenbo
- Geografisk sted: Vanløse, København
Re: Problem med KVM-switch
Forstår ikke hvorfor du vælger at ændre i den.
-
- Admin
- Indlæg: 5305
- Tilmeldt: 26. apr 2010, 02:40
- IRC nickname: ClaudiuS
- Geografisk sted: Nyborg [fyn]
Re: Problem med KVM-switch
Den virkede jo ikke.
Ser lige at configurationen slutter med en fejlmelding:
Ser lige at configurationen slutter med en fejlmelding:
Kode: Vælg alt
trident
fbdev
vesa
(++) Using config file: "/home/klaus/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] No DRICreatePCIBusID symbol, no kernel modesetting.
Number of created screens does not match number of detected devices.
Configuration failed.
ddxSigGiveUp: Closing log
Server terminated with error (2). Closing log file.
klaus@klaus-desktop:~$
Med Venlig Hilsen
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
Klaus
Kører Ubuntu 20.04 på Lenovo-H515s, 64bit og 21.10 på HP Probook 4520s, 64 bit.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
MEGA Share: https://mega.nz/#F!XNM1ALpL!G_CEVUUE9ZvotKPa4o4PLA
-
- Indlæg: 235
- Tilmeldt: 25. mar 2014, 17:36
- IRC nickname: mcrypto
Re: Problem med KVM-switch
Usb el ps2 kvm? Har du et link? Jeg har ødelagt en ps2 kvm fordi jeg var en retard. Men den var også meget billig. Trend et el andet. Du skal ikke rode m x, x skal se din skærm igennem switchen.
=====
Vil du også se Store K i staff? Ja. En stemme på Kurt er en stemme på Linux, og også din egen personlige lykke.
Vil du også se Store K i staff? Ja. En stemme på Kurt er en stemme på Linux, og også din egen personlige lykke.
Hvem er online
Brugere der læser dette forum: Ingen og 0 gæster