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:37] – Added some information on binding to ports below 1024 as non-root on Linux, since that question seems to come up from time to time nightfox | 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 |
- | 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. It is often a bad practice to run processes as root unless it's really necessary to do so, and perhaps even more so with an Internet-accessible server. Thus, it is often desirable to run servers on standard ports (below 1024) as a non-root | + | **Question: |
- | | + | How do I work around SDL_main errors (e.g. '' |
+ | < | ||
+ | $ / | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | Segmentation fault (core dumped) | ||
+ | </ | ||
+ | |||
+ | **Answer: | ||
+ | Double check that you can run X applications | ||
+ | | ||
+ | executed before switching to another user account (e.g. with '' | ||
- | For more information, | + | Work-arounds: |
- | [[https:// | + | - Clean re-build all of Synchronet without SDL support (include '' |
- | [[https:// | + | - Set the '' |
- | [[https:// | + | |
===== See Also ===== | ===== See Also ===== |