debauchee / barrier

Open-source KVM software
Other
27.42k stars 1.51k forks source link

Windows username with spaces #627

Open TupaNegreiros opened 4 years ago

TupaNegreiros commented 4 years ago

Operating Systems

Server: Windows 10 1909 18363.572

Client: No needed

Barrier Version

2.3.2

Steps to reproduce bug

Login on Windows with a username with spaces. A user with home folder as something "c:\users\name surname". Run Barrier as server. If you use configuration file on a folder with spaces in the name, or with interactive configuration (so it saves a file on Temp folder, with spaces in home folder). Get log as:

DEBUG: opening configuration "C:/Users/Name Surname/AppData/Local/Temp/Barrier.FpXkJO" DEBUG: cannot open configuration "C:/Users/Name Surname/AppData/Local/Temp/Barrier.FpXkJO" barriers.exe: no configuration available

Other info

Only work around is to save configuration to a folder without spaces, no way to use interactive. It's possible to config with interactive mode, save config to a folder and use it.

Does this bug prevent you from using Barrier entirely? Yes I had the same problem with Synergy, needed to debug to find out about "cannot open configuration", then tryed without spaces.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

fanvinga commented 4 years ago

Same issue here.I try to store the configuration file in OneDrive,so there are some spaces in the path.

thebodzio commented 3 years ago

Is the issue still there? I've tried to reproduce it with 2.3.3 and configuration file placed in D:/Some space/Config.sgc and it works properly:

[2021-05-22T14:27:05] DEBUG: opening configuration "D:/Some space/Config.sgc"
[2021-05-22T14:27:05] DEBUG: configuration read successfully
[2021-05-22T14:27:05] DEBUG1: starting server

Granted: it's not the “same” folder, but it definitely does have space in its name.