SageMath and xrdp - Environment Variable error

49 views
Skip to first unread message

Tyler Spilker

unread,
Dec 17, 2020, 2:54:08 PM12/17/20
to sage-devel
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


Tyler Spilker

unread,
Dec 17, 2020, 3:13:01 PM12/17/20
to sage-devel
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

Matthias Koeppe

unread,
Dec 17, 2020, 7:25:46 PM12/17/20
to sage-devel
Reply all
Reply to author
Forward
0 new messages