Minh Trần
Minh Trần

Reputation: 62

VcXsrv/XLaunch does not display correctly after fresh install, where is it getting its configuration?

I recently installed the latest version of VcXsrv and launched XLaunch. However, when running my X11 application (which runs via Wine), the window size is not as expected (showing 860x360 px instead of fullscreen).

I checked the logs and found that VcXsrv is looking for the .XWinrc configuration file at:

C:\Users\myusername\AppData\Roaming\.XWinrc not found  
C:\Program Files (x86)\VcXsrv\system.XWinrc

I tried deleting this file (if it exists), but the issue persists.

I also checked the command-line parameters of VcXsrv and did not find any -screen 0 860x360 setting. Running it manually with:

vcxsrv.exe -multiwindow -clipboard -screen 0 1920x1080

did not resolve the issue either.

Log VcXsrv error:

winMultiWindowWMProc - Error code: 8 (Match), ID: 0x00180000, 
Major opcode: 12 (ConfigureWindow), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 8 (Match), ID: 0x0020002d, Major opcode: 12 (ConfigureWindow), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 8 (Match), ID: 0x00380011, Major opcode: 12 (ConfigureWindow), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 25 (SendEvent), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 25 (SendEvent), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 25 (SendEvent), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 25 (SendEvent), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 25 (SendEvent), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00280007, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 8 (Match), ID: 0x00200035, Major opcode: 12 (ConfigureWindow), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 8 (Match), ID: 0x00300014, Major opcode: 12 (ConfigureWindow), Minor opcode: 0 ((null))
IsOverrideRedirect: Failed to get window attributes
IsOverrideRedirect: Failed to get window attributes
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00380005, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
IsOverrideRedirect: Failed to get window attributes
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00380005, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))
IsOverrideRedirect: Failed to get window attributes
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00380005, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x00380005, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x0038000c, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
IsOverrideRedirect: Failed to get window attributes
IsOverrideRedirect: Failed to get window attributes
IsOverrideRedirect: Failed to get window attributes
IsOverrideRedirect: Failed to get window attributes
IsOverrideRedirect: Failed to get window attributes
IsOverrideRedirect: Failed to get window attributes
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x0038000c, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x0038000c, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))

Is there any other place where VcXsrv might be getting its configuration from? How can I ensure it displays at the correct resolution?

Thanks!

Upvotes: 0

Views: 61

Answers (0)

Related Questions