Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rechner nur per VNC ansteuern und Auflösungsroblem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Normi
n00b
n00b


Joined: 05 Oct 2005
Posts: 21

PostPosted: Wed Oct 05, 2005 6:54 pm    Post subject: Rechner nur per VNC ansteuern und Auflösungsroblem Reply with quote

Ich habe jetzt VNC nach diesem HOWTO erfolgreich installiert und es wird auch automatisch gestartet
als Modul in der xorg.conf (load "vnc").
Jetzt ist an dem Rechner kein Monitor mehr angeschlossen und so startet er jetzt in der Auflösung 640x480.
Im KDE kann ich auch keinere höhere mehr wählen. In der xorg.conf habe ich die Auflösung 1024x768 eingestellt.
Gibt es irgendeine Möglichkeit den Rechner irgendwie auszutrixen, dass er doch die höhre Auflösung nimmt.
Oder kann man über VNC was einstellen. Über geometry könnte ich zwar jetzt ein neues Display starten, aber ich will eben das Display 0 nutzen.
Back to top
View user's profile Send private message
Hungry Hugo
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 261
Location: Germany FFM

PostPosted: Wed Oct 05, 2005 8:51 pm    Post subject: Reply with quote

Hi Normi,

poste doch bitte mal deine xorg.conf...

Gruß Hungry Hugo
_________________
Gentoo El Nino ( 2005.1 ) / Kernel 2.6.12-r6
Fujitsu-Siemens M7400
--
registered linux user # 398138
Back to top
View user's profile Send private message
Normi
n00b
n00b


Joined: 05 Oct 2005
Posts: 21

PostPosted: Wed Oct 05, 2005 9:39 pm    Post subject: Reply with quote

Hier meine xorg.conf:

Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "extmod"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load   "xtrap"
        Load   "vnc"   
        Load   "glx"
   Load   "type1"
   Load   "freetype"
       
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
EndSection

Section "Monitor"
   #DisplaySize     280   210   # mm
   Identifier   "Monitor0"
   VendorName   "HSL"
   ModelName    "5de"
   Option       "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
   Identifier  "Card0"
   Driver      "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV11 [GeForce2 MX/MX 400]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
        DefaultDepth 24   
        Option "passwordFile" "/home/vncuser/.vnc/passwd"
SubSection "Display"
      Viewport   0 0
      Depth     1
                Modes "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
                Modes "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
                Modes "1024x768"   
                EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
                Modes "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
                Modes "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
                Modes "1024x768"   
EndSubSection
EndSection

Back to top
View user's profile Send private message
Hungry Hugo
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 261
Location: Germany FFM

PostPosted: Thu Oct 06, 2005 9:51 am    Post subject: Reply with quote

Hi Normi,

da du ja Display Power Management Signaling benutzt könnte es vielleicht daran liegen. Wie in dem Post unten mußt du eine fixen Wert für deinen "nicht vorhandenen" Monitor eingeben.

Koxi->Ubuntu Forum wrote:
brauchst nur mal das xorg log file anschauen.

So wie ich das sehe, checkt X beim starten per DPMS (whatever) welche werte dein Monitor hat (Die neueren Monitore haben eine Datenleitung mit der sie das dem Rechner sagen können) .. wenn du jetzt beim start keinen Monitor angesteckt hast, geht nix.

Lösungsmöglichkeiten: entweder fixe werte für Hsync und vertrefresh eintragen, oder einen vncserver mit auflösung angabe starten auf den du dann remote zugreifen kannst (gibt nette parameter, das er dir die session offenlässt, sodass du programme laufen lassen kannst und später wieder reinschaust was die grad so machen). Da vncserver einen virtuellen screen benützt is die auflösung nicht monitorabhängig.


Probier einfach mal dein Glück :D.

Gruß Hungry Hugo
_________________
Gentoo El Nino ( 2005.1 ) / Kernel 2.6.12-r6
Fujitsu-Siemens M7400
--
registered linux user # 398138
Back to top
View user's profile Send private message
hunter1977
Apprentice
Apprentice


Joined: 19 Feb 2004
Posts: 297

PostPosted: Thu Oct 06, 2005 12:34 pm    Post subject: Reply with quote

Also, wenn ich das laut Anleitung mache, dann habe ich noch nicht einmal vncpasswd.

Wie soll man sich denn dann die beschriebe Passwort-Datei generieren.

Gruß Hunter
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Thu Oct 06, 2005 2:09 pm    Post subject: Reply with quote

Wozu will mann vnc auf einem Server?
_________________
'Dieselben Naturkräfte, die uns ermöglichen, zu den Sternen zu fliegen, versetzen uns auch in die Lage, unseren Stern zu vernichten.' - Wernher von Braun
http://www.mpsna.de
Back to top
View user's profile Send private message
Normi
n00b
n00b


Joined: 05 Oct 2005
Posts: 21

PostPosted: Thu Oct 06, 2005 10:02 pm    Post subject: Reply with quote

Der Tipp die Werte direkt einzutragen hat super funktioniert.
Ich habe jetzt bei vertical 43-76 und bei horizontal 30-83 angegeben, aber es ist doch eigentlich egal was man hier einträgt,
wenn man eh keinen Monitor angeschlossen hat.
Was kann man eigentlichlich mit der Option DisplaySize definieren da mir aufgefallen ist das die bei mir standardmäßgig auskommentiert ist?
Back to top
View user's profile Send private message
MTZ
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2002
Posts: 90
Location: Germany - near FFM

PostPosted: Fri Oct 07, 2005 6:05 am    Post subject: Reply with quote

Quote:
DisplaySize width height
This optional entry gives the width and height, in millimetres, of the picture area of the monitor. If given this is used to calculate the horizontal and vertical pitch (DPI) of the screen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum