Problem ze startem x na VMware Server

Pomoc dotycząca instalacji systemu
maly_klaus
Posty: 2
Rejestracja: 31 marca 2008, 22:29

Problem ze startem x na VMware Server

Post autor: maly_klaus »

Witam,

Po instalacji X11 i po próbie uruchomienia trybu graficznego komendą startx pojawia się następujący komunikat:

Kod: Zaznacz cały

Fatal server error:
no screens found
X IO: fatal IO error 104 itd.
Czy przyczyna może tkwić w tym, że system jest zainstalowany na VMware?

Dzięki i pozdrawiam.
Awatar użytkownika
Yampress
Administrator
Posty: 6429
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

musisz skonfigurowac xorg.conf
Awatar użytkownika
3ndriu
Beginner
Posty: 246
Rejestracja: 15 kwietnia 2007, 18:00
Lokalizacja: Chodzież

Post autor: 3ndriu »

Używanie funkcji "Szukaj" nie boli. Wszystko jest opisane tutaj:
http://debian.linux.pl/viewtopic.php?p=5622#5622
Awatar użytkownika
Yampress
Administrator
Posty: 6429
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

jako root

Kod: Zaznacz cały

Xorg -configure 

to stworzy plik xorg.conf.new w katalogu root
którego potem skopiujesz do /etc/X11 i zmienisz nazwe na xorg.conf
dopiszesz tylko analogicznie do swojego pliku:
DefaultDepth
i Modes

Przykład całej sekcji jak ma wyglądac poniżej:

Kod: Zaznacz cały


Section "Screen" 
        Identifier "Screen0" 
        Device     "Card0" 
        Monitor    "Monitor0" 
        DefaultDepth 24 
        SubSection "Display" 
                Viewport  0 0 
                Depth     24 
                Modes     "1024x768" 
        EndSubSection 
EndSection 

czy jakie tam rozdzielczości wolisz
maly_klaus
Posty: 2
Rejestracja: 31 marca 2008, 22:29

Post autor: maly_klaus »

Przepisałem plik tak jak wygląda w Ubuntu, ale dalej fatal error. Tym razem czepia się Intela. Zastanawiam się czy nie musi być wpis sterownika VMware (tak domyślnie podaje konfigurator Debiana).

Oto mój /etc/X11/xorg.conf

Kod: Zaznacz cały

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Intel Corporation 82945G/GZ Integrated Graphics Controller"
	Driver		"intel"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Philips 190C"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82945G/GZ Integrated Graphics Controller"
	Monitor		"Philips 190C"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
EndSection
Plik jest z Ubuntu więc jest trochę inny np.: inaczej pisze się rozdzielczości, ale zostawiłem tak jak w Debianie.

I teraz komunikat po starcie x jest taki:
pomijam część danych

Kod: Zaznacz cały

undifined device Intel Corp... (to co w pliku powyżej) refered enced by Screen "Default Screen" 
Przypominam system jest zainstalowany na VMware - Debian, fizycznie - Ubuntu.

Dzięki i pozdrawiam,
Awatar użytkownika
Yampress
Administrator
Posty: 6429
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

zobacz czy tak będzie działać
intel -> zmień na vesa

spróbuj również tego rozwiązania podanego przeze mnie wyżej.
ODPOWIEDZ