Cygwin X – failed to activate core devices

Written by James McDonald

February 28, 2011

Recently updated my Cygwin install on Windows 7 Ultimate x64 Workstation.

Tried to run startxdmcp.bat and got a Cygwin X error – failed to activate core devices

Looking in /var/log/XWin.0.log showed nothing obvious as to why the X server failed to start.

Ran Cygwin Setup.exe to update it Cygwin and got error:

The procedure entry point rl_filename_rewrite_hook could not be located in the dynamic link library cygreadline7.dll

cygwin_error

cygwin_error

The fix was re-start Cygwin’s Setup.exe and choose to reinstall libreadline7 6.1.2-2

The startxdmcp.bat command then worked as expected spawning a local X server and connecting to the remote Linux Servers display via xdmcp.

This could have been caused by a recent update that, from memory, gave an error stating that Cygwin couldn’t replace some files that were in use so perhaps the upgrade failed and left things inconsistant.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...