After upgrading to Ubuntu 17.10 I noticed some of my screencasting applications are not working, for example screencasting tools like SimpleScreenRecorder and vokoscreen. (link)
Screen-sharing option on Skype is also not working (link).
The issue occurs sometimes on later Ubuntu releases too.
Why is this happening and how do I fix this?