johnelle
September 9th, 2012, 01:25 PM
I am using xrdp as an alternative to the ummm "limited" desktop sharing included in Ubuntu 12.04. I noticed it was properly setting up my environment so I added a . /etc/environment to /etc/xrdp/startwm.sh file. It sets the path correctly but none of the other environmental stuff (like JAVA_HOME) get set. After I am logged in I can issue . /etc/environment from a terminal window and everything is fine. I've fiddled with this a bit but can't get this to work automagically.
Any suggestions?
Any suggestions?