I have managed to get it working by putting a symbolic link to /usr/share/sagemath/bin/sage-env to /bin/sage-env
It looks like the environment variables aren't picked up correctly for the xrdp session and I don't understand their relationship well enough to figure it out On Thursday, December 17, 2020 at 11:54:08 AM UTC-8 Tyler Spilker wrote: > When launching QTerminal in an xrdp session in Lubuntu, running 'sage' > gives the following error > > /bin/sage: line 242: /bin/sage-env: No such file or directory > Error setting environment variables by sourcing '/bin/sage-env'; > possibly contact sage-devel (see http://groups.google.com/group/sage-devel > ). > > > When launching Sage 9.0 from an ssh session things work perfectly and I > get the command line notebook interface > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/b294c7b4-177f-4668-80dd-25eb70bf7379n%40googlegroups.com.