On 2019-12-24 16:11, Sanjay Gupta wrote: > starting startx following error > Unable to init server: Could not connect to 127.0.0.1: Connection refused > > while startxwin runs fine ( I see X server listening) > > > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.20.5.0 > OS: CYGWIN_NT-10.0-18362 USD61FFDZ1 3.1.2-340.x86_64 2019-12-21 15:25 UTC > x86_64 > OS: Windows 10 [Windows NT 10.0 build 18362] (Win64) > Package: version 1.20.5-3 built 2019-09-06 > > XWin was started with the following command line: > > /usr/bin/X :0 -auth /home/user/.serverauth.8467 > > (--) Windows reports only 2 mouse buttons, defaulting to -emulate3buttons > (II) xorg.conf is not supported > (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information > LoadPreferences: /home/user/.XWinrc not found > LoadPreferences: /etc/X11/system.XWinrc not found > LoadPreferences: See "man XWinrc" to customize the XWin menu. > LoadPreferences: Loading built-in default > winDetectSupportedEngines - RemoteSession: yes > winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL > winDetectSupportedEngines - Returning, supported engines 00000005 > winSetEngine - Using Shadow DirectDraw NonLocking > winScreenInit - Using Windows display depth of 32 bits per pixel > winWindowProc - WM_SIZE - new client area w: 1424 h: 821 > winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff > MIT-SHM extension disabled due to lack of kernel support > XFree86-Bigfont extension local-client optimization disabled due to lack of > shared memory support in the kernel > (EE) AIGLX: No native OpenGL in modes with a root window > (II) IGLX: Loaded and initialized swrast > (II) GLX: Initialized DRISWRAST GL provider for screen 0 > winPointerWarpCursor - Discarding first warp: 712 410 > (--) 2 mouse buttons found > (--) Setting autorepeat to delay=500, rate=31 > (--) Windows keyboard layout: "00000409" (00000409) "US", type 4 > (--) Found matching XKB configuration "English (USA)" > (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" > Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" > winProcEstablishConnection - winInitClipboard returned. > winClipboardThreadProc - DISPLAY=:0.0 > winClipboardProc - xcb_connect () returned and successfully opened the > display. > libGL error: Windows-DRI extension disabled for GDI Generic renderer > winWindowProc - WM_ENTERSIZEMOVE > winWindowProc - WM_EXITSIZEMOVE > > ** (gnome-session-check-accelerated:8505): WARNING **: Error retrieving > accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message > recipient disconnected from message bus without replying > gnome-session-binary: PID 8489: WARNING: Using null backend for session > tracking > Unable to init server: Could not connect to 127.0.0.1: Connection refused > > ** (gnome-session-failed:8511): WARNING **: Cannot open display: > xinit: connection to X server lost > > waiting for X server to shut down winDeinitMultiWindowWM - Noting shutdown in > progress > (II) Server terminated successfully (0). Closing log file.
Your X Window startx startup files must start and leave a window manager running, if you wish to have window management available, and not exit, otherwise the X server will exit. As this is not the assumed default operating mode (which is startxwin multi-window with only local clients) under Cygwin/X, you will have to set this up yourself, so please read and understand the Cygwin/X UG and FAQ in /usr/share/doc/cygwin-x-doc/{ug,faq}/cygwin-x-{ug,faq}.{html,pdf,ps.gz,rtf,txt} and the docs and man pages for xinit and startx. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple