Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
faq:nix [2018/02/13 12:41] – [Ports Below 1024 Without Root On Linux] Add reference to Linux non-root page deuce | faq:nix [2020/03/22 14:45] – [SDL errors] mention the xhost solution digital man | ||
---|---|---|---|
Line 19: | Line 19: | ||
* [[#Disk space|How much disk space is required]]? | * [[#Disk space|How much disk space is required]]? | ||
* [[# | * [[# | ||
- | * [[# | ||
| | ||
===== Flavors ===== | ===== Flavors ===== | ||
Line 170: | Line 169: | ||
**Answer: | **Answer: | ||
- | A fresh install (as of Feb-2009) requires about 70MBytes. | + | A fresh install (as of Mar-2020) from source code, requires about 500MBytes of space. |
- | Much of the space consumed is in the form of intermediate build files which | + | Much of the space consumed is in the form of intermediate build files which may be removed after the build is complete if space is a concern. |
- | may be removed after the build is complete if space is a concern. | + | |
Line 193: | Line 191: | ||
To elaborate, [[util: | To elaborate, [[util: | ||
- | ===== Ports Below 1024 Without Root On Linux ===== | + | ===== SDL errors |
**Question: | **Question: | ||
- | How can I bind to network ports below 1024 as a non-root user on Linux? | + | How do I work around SDL_main errors (e.g. '' |
+ | < | ||
+ | $ / | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | Segmentation fault (core dumped) | ||
+ | </ | ||
**Answer: | **Answer: | ||
- | By default, Linux does not allow non-root processes to bind to ports below 1024. This was done as a security measure, although some argue that the reasons for this are obsolete. | + | Double check that you can run X applications (e.g. '' |
- | | + | |
+ | executed before switching to another user account (e.g. with '' | ||
- | For more information, | + | Work-arounds: |
- | [[howto: | + | - Clean re-build all of Synchronet without SDL support (include '' |
- | [[https:// | + | - Set the '' |
- | [[https:// | + | |
- | [[https:// | + | |
===== See Also ===== | ===== See Also ===== |