You are not logged in.

#1 2014-08-02 20:44:46

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

[SOLVED] Xorg, after update xserver cannot start

Hi!

Once I could fix a problem with starting of the X server by adding correct video drivers (it was when I tested to make a live cd) but for a while ago came an update for Xorg and now problems began again (testing a normal installation). I tried to reinstall and followed guides on the Internet but still has the problem of starting.

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error.

What does it mean?
I am still testing in the VMware, reinstalled a few times with a different settings.
After update I got a note once that it can cause some problems because of the new daemon configuration settings and abilities of running as regular user. I tested to start it as a root and a normal user without happy ending.

Last edited by Andy_Crowd (2014-11-02 08:00:02)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#2 2014-08-02 20:47:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Xorg, after update xserver cannot start


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-08-02 22:20:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Xorg, after update xserver cannot start

What guides on the internet? What settings did you change when you reinstalled?
How exactly are you starting X? Post the whole log.

Offline

#4 2014-08-02 22:30:09

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED] Xorg, after update xserver cannot start

Should «Xorg.wrap» be in the «/etc/X11/xorg.conf.d/Xorg.wrap» folder?
I tested but still the same problem.
Tested with settings for Xorg.wrap with no good result.
I followed the Arch install Guide.

I think that some one must try to install it in the VMware as see if it will work or confirm my problems.

Last edited by Andy_Crowd (2014-08-02 22:37:25)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#5 2014-08-02 22:59:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Xorg, after update xserver cannot start

/usr/bin/Xorg.wrap

Post your /etc/X11/Xwrapper.config and the logs.

Offline

#6 2014-08-03 03:09:28

grimpirate
Member
Registered: 2011-10-26
Posts: 42

Re: [SOLVED] Xorg, after update xserver cannot start

I'm having this same problem within my VMWare Player. I followed the explicit steps shown here on the ArchWiki. X does seemingly start, but the only update to the screen is it becomes black with a cursor and then simply freezes, no updates transpire beyond that point. I have to do a Alt+SysRq+i to kill the process. I tried using the vesa driver instead of the vmware driver with the same result. Thinking it might have been something I did to my install I created a brand new virtual machine disk, reinstalled Arch from scratch (from the newest ISO available). Everything worked as expected, so I proceeded to install xorg-server along with xorg-twm xorg-xclock and xterm and then ran startx just to see if it would display at all, no such luck (I also made the appropriate Xwrapper.config and systemd socket/service on the fresh install). Wondering if anyone else is having this issue as it may be VMWare specific.

Offline

#7 2014-08-03 11:09:27

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED] Xorg, after update xserver cannot start

My xorg wrap files are the same as in the arch guide Systemd User. I followed the whole and made all services and configuration as in it but... all errors are the same:
Error in the Xorg.0.log: vmware(0): drmDropMaster failed: Invalid argument.
And other errors:

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error.

without any changes.

Have installed a gdm desktop manager and it runs automatically without any problems and I can start and stop it with «systemctl start gdm» (after I do stop/start gdm few times then it hangs, cannot switch even between tty), from command line but startx still cannot be run from command line, still same errors.

Last edited by Andy_Crowd (2014-08-03 11:47:09)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#8 2014-08-03 11:48:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,559
Website

Re: [SOLVED] Xorg, after update xserver cannot start

emphasis added:

karol wrote:

Post the whole log.

repetition original:

karol wrote:

Post your /etc/X11/Xwrapper.config and the logs.

Really.  Post them.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2014-08-03 12:10:32

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED] Xorg, after update xserver cannot start

Here are them:
Xwrapper.configure

allowed_users=anybody
needs_root_rights=yes

/var/log/Xorg.1.log

[    85.746] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[    85.746] X Protocol Version 11, Revision 0
[    85.746] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[    85.746] Current Operating System: Linux archiso 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64
[    85.746] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c0395e28-25e2-4e24-a667-b60b905aa1b8 rw quiet
[    85.747] Build Date: 31 July 2014  11:53:19AM
[    85.747]  
[    85.747] Current version of pixman: 0.32.6
[    85.747] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    85.747] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    85.747] (==) Log file: "/var/log/Xorg.1.log", Time: Sun Aug  3 13:51:55 2014
[    85.747] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    85.747] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    85.747] (==) ServerLayout "X.org Configured"
[    85.747] (**) |-->Screen "Screen0" (0)
[    85.747] (**) |   |-->Monitor "Monitor0"
[    85.747] (**) |   |-->Device "Card0"
[    85.747] (**) |-->Input Device "Mouse0"
[    85.747] (**) |-->Input Device "Keyboard0"
[    85.747] (==) Automatically adding devices
[    85.747] (==) Automatically enabling devices
[    85.747] (==) Automatically adding GPU devices
[    85.747] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    85.747] 	Entry deleted from font path.
[    85.747] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    85.747] 	Entry deleted from font path.
[    85.747] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    85.747] (**) ModulePath set to "/usr/lib/xorg/modules"
[    85.747] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    85.747] (WW) Disabling Mouse0
[    85.747] (WW) Disabling Keyboard0
[    85.747] (II) Loader magic: 0x818d80
[    85.747] (II) Module ABI versions:
[    85.747] 	X.Org ANSI C Emulation: 0.4
[    85.747] 	X.Org Video Driver: 18.0
[    85.747] 	X.Org XInput driver : 21.0
[    85.747] 	X.Org Server Extension : 8.0
[    85.749] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[    85.749] (II) xfree86: Adding drm device (/dev/dri/card0)
[    85.750] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[    85.760] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/32768
[    85.760] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    85.760] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    85.760] (II) LoadModule: "glx"
[    85.760] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    85.761] (II) Module glx: vendor="X.Org Foundation"
[    85.761] 	compiled for 1.16.0, module version = 1.0.0
[    85.761] 	ABI class: X.Org Server Extension, version 8.0
[    85.761] (==) AIGLX enabled
[    85.761] (II) LoadModule: "vmware"
[    85.761] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[    85.769] (II) Module vmware: vendor="X.Org Foundation"
[    85.769] 	compiled for 1.16.0, module version = 13.0.2
[    85.769] 	Module class: X.Org Video Driver
[    85.769] 	ABI class: X.Org Video Driver, version 18.0
[    85.769] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[    85.769] (++) using VT number 2

[    85.769] (--) controlling tty is VT number 2, auto-enabling KeepTty
[    85.769] (--) vmware(0): DRM driver version is 2.6.0
[    85.769] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[    85.769] (==) vmware(0): RGB weight 888
[    85.769] (==) vmware(0): Default visual is TrueColor
[    85.769] (--) vmware(0): Min width 1, Max Width 8192.
[    85.769] (--) vmware(0): Min height 1, Max Height 8192.
[    85.769] (II) vmware(0): Output Virtual1 using monitor section Monitor0
[    85.769] (II) vmware(0): Output Virtual2 has no monitor section
[    85.769] (II) vmware(0): Output Virtual3 has no monitor section
[    85.769] (II) vmware(0): Output Virtual4 has no monitor section
[    85.769] (II) vmware(0): Output Virtual5 has no monitor section
[    85.769] (II) vmware(0): Output Virtual6 has no monitor section
[    85.769] (II) vmware(0): Output Virtual7 has no monitor section
[    85.769] (II) vmware(0): Output Virtual8 has no monitor section
[    85.769] (II) vmware(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[    85.769] (II) vmware(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    85.769] (II) vmware(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    85.769] (II) vmware(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    85.769] (II) vmware(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[    85.769] (II) vmware(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[    85.769] (II) vmware(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    85.769] (II) vmware(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    85.769] (II) vmware(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[    85.769] (II) vmware(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[    85.769] (II) vmware(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    85.770] (II) vmware(0): Modeline "800x600"x60.0   42.75  800 850 900 950  600 650 700 750 -hsync +vsync (45.0 kHz eP)
[    85.770] (II) vmware(0): Printing probed modes for output Virtual1
[    85.770] (II) vmware(0): Modeline "800x600"x60.0   42.75  800 850 900 950  600 650 700 750 -hsync +vsync (45.0 kHz eP)
[    85.770] (II) vmware(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[    85.770] (II) vmware(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    85.770] (II) vmware(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    85.770] (II) vmware(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    85.770] (II) vmware(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[    85.770] (II) vmware(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[    85.770] (II) vmware(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    85.770] (II) vmware(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[    85.770] (II) vmware(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    85.770] (II) vmware(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    85.770] (II) vmware(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[    85.770] (II) vmware(0): EDID for output Virtual2
[    85.770] (II) vmware(0): EDID for output Virtual3
[    85.770] (II) vmware(0): EDID for output Virtual4
[    85.770] (II) vmware(0): EDID for output Virtual5
[    85.770] (II) vmware(0): EDID for output Virtual6
[    85.770] (II) vmware(0): EDID for output Virtual7
[    85.770] (II) vmware(0): EDID for output Virtual8
[    85.770] (II) vmware(0): Output Virtual1 connected
[    85.770] (II) vmware(0): Output Virtual2 disconnected
[    85.770] (II) vmware(0): Output Virtual3 disconnected
[    85.770] (II) vmware(0): Output Virtual4 disconnected
[    85.770] (II) vmware(0): Output Virtual5 disconnected
[    85.770] (II) vmware(0): Output Virtual6 disconnected
[    85.770] (II) vmware(0): Output Virtual7 disconnected
[    85.770] (II) vmware(0): Output Virtual8 disconnected
[    85.770] (II) vmware(0): Using exact sizes for initial modes
[    85.770] (II) vmware(0): Output Virtual1 using initial mode 800x600
[    85.770] (II) vmware(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    85.770] (==) vmware(0): DPI set to (96, 96)
[    85.770] (II) Loading sub module "fb"
[    85.770] (II) LoadModule: "fb"
[    85.770] (II) Loading /usr/lib/xorg/modules/libfb.so
[    85.770] (II) Module fb: vendor="X.Org Foundation"
[    85.770] 	compiled for 1.16.0, module version = 1.0.0
[    85.770] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    85.770] (II) Loading sub module "dri2"
[    85.770] (II) LoadModule: "dri2"
[    85.770] (II) Module "dri2" already built-in
[    85.770] (==) Depth 24 pixmap format is 32 bpp
[    85.770] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[    85.771] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[    85.771] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[    85.771] (--) vmware(0): Render acceleration is disabled.
[    85.771] (==) vmware(0): Rendercheck mode is disabled.
[    85.771] (--) vmware(0): Direct rendering (3D) is disabled.
[    85.771] (==) vmware(0): Backing store enabled
[    85.771] (==) vmware(0): Silken mouse enabled
[    85.771] (II) vmware(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    85.771] (==) vmware(0): DPMS enabled
[    85.771] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[    85.771] (--) RandR disabled
[    85.774] (II) AIGLX: Screen 0 is not DRI2 capable
[    85.774] (EE) AIGLX: reverting to software rendering
[    85.775] (II) AIGLX: Loaded and initialized swrast
[    85.775] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    85.775] (EE) 
Fatal server error:
[    85.775] (EE) failed to create screen resources(EE) 
[    85.775] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    85.775] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[    85.775] (EE) 
[    85.775] (WW) vmware(0): drmDropMaster failed: Invalid argument
[    85.777] (EE) Server terminated with error (1). Closing log file.

xorg.conf

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

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	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 "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     "HWcursor"           	# [<bool>]
        #Option     "Xinerama"           	# [<bool>]
        #Option     "StaticXinerama"     	# <str>
        #Option     "GuiLayout"          	# <str>
        #Option     "AddDefaultMode"     	# [<bool>]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "DirectPresents"     	# [<bool>]
        #Option     "HWPresents"         	# [<bool>]
        #Option     "RenderCheck"        	# [<bool>]
	Identifier  "Card0"
	Driver      "vmware"
	BusID       "PCI:0:15: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

My journalctl log you can see here «journalctl -xl» and «journalctl -o json-pretty », «journalctl -o verbose».
How can I make journal empty, to begin create new logs and remove old, otherwise it is so big?

I have tested to defaultserver=/usr/bin/X to defaultserver=/usr/bin/Xorg.wrap in the /usr/bin/startx script, but still the same errors.

Any other logs/configs?

Last edited by Andy_Crowd (2014-08-03 15:46:17)


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#10 2014-08-03 18:57:44

grimpirate
Member
Registered: 2011-10-26
Posts: 42

Re: [SOLVED] Xorg, after update xserver cannot start

My logs are exactly the same as Andy_Crowd. I'm guessing that this thread can be merged with the following:
Issue on VMWare post Xorg packages update
Wherein the fix seems to be downgrading the packages.

Offline

#11 2014-08-04 15:08:21

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED] Xorg, after update xserver cannot start

If the desktop manager can start the X server and load «window manager» without any problems, then it is something to do with a command line and environment variables, I need to find a way same as desktop manager using to start the X server.
The «lightdm» might be the last chose for WM in Live CD.


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

#12 2014-11-02 07:59:36

Andy_Crowd
Member
From: 延雪平縣 Sweden
Registered: 2013-12-28
Posts: 119

Re: [SOLVED] Xorg, after update xserver cannot start

Copied "X11" configuration from ArchBang and changed zsh to bash as default console shell by editing customize_airootfs.sh file.
Now it is SOLVED!
Thanks for your help.


Help to make Arora bug free!!
日不落 | Year 2081 | 笑傲江湖 | One more a really good book in my collection the Drystoll.

Offline

Board footer

Powered by FluxBB