Comments (8)
@mfleisz I fail to see, except very customized embedded OSs, where HOME wouldn't be set.
What is the use case in this issue?
If this is very specific to embedded stuff (which I am affected as well) I'd prefer to move this to 1.1 if noone objects.
from freerdp.
Not just embedded systems will cause problems - no Windows-based system has "HOME" set by default. In it's current state the core is unusable on anything other than a non-embedded *nix platform as it simply crashes when getenv("HOME") fails.
It's hard for me to estimate how much effort it is going to be to have a clean fix. Maybe at least we can find a solution where certstore silently fails and the core is still able to connect to the server?
from freerdp.
Yes, windows is indeed a problem. The urgency of this issue depends if we're going to support Windows for 1.0 or not.
from freerdp.
@otavio: I did some work over the last couple of days to push the Windows port forward. I'll handle the configurable home issue, if it's not for Windows, it'll be for something else. ~/.freerdp is usually good for Linux and the BSDs, but then when you get out of those it's usually case by case for what's preferred.
from freerdp.
...and pushed.
Now if you set settings->home_path to something other than NULL (NULL by default), both the certstore and registry will use that value instead of calling getenv("HOME").
from freerdp.
Thx Marc-Andre, however the fix is not complete - get_local_certloc (called from x509_verify_cert in crypto.c) is still using getenv("HOME") (and later on seg faulting in strlen if HOME is not set) ...
from freerdp.
@mfleisz: now it should be fixed as well
from freerdp.
Awesome - thx :)
from freerdp.
Related Issues (20)
- X WM_CLASS attribute set to empty string
- freerdp 3 is not able to use the gateway option HOT 5
- Crash after installing pulseaudio linux/fedora HOT 2
- freerdp 3 captures mouse events in gnome 46 Activities Overview HOT 6
- Some multimedia keys on the keyboard are not sent to the RDP server HOT 1
- Random BadWindow (invalid Window parameter) errrors and failing to connect HOT 3
- when i use app-cmd open an file such "1 2.txt" with space,it divided into two parts "1" and "2.txt" how can i open "1 2.txt" as a whole HOT 2
- [BUG] Black of screen when connecting with remmina and enabled `dynamic resolution update` feature. HOT 2
- Doesn't Compile HOT 1
- zsh: command not found: xfreerdp HOT 2
- current master WITH_LIBRARY_VERSIONING=OFF buggy
- app_id should be set to wm-class
- clipboard data Failed to connect to a new session HOT 7
- [server terminates connection] Upgrading from 2.x to 3.x SSL read errors after connect HOT 25
- Upgrading from 2.x to 3.x introduces TLS security schema issues HOT 3
- xfreerdp 2.11.5 still broken with: "Fastpath update Bitmap [1] failed, status 0" HOT 9
- Can not use bottom of the screen with the mouse if monitor resolution differs HOT 1
- client/X11: Trying to paste copied files from a server crashes xfreerdp HOT 8
- -
- Compiler warning: xxxx called on pointer returned from a mismatched allocation function HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freerdp.