[K12OSN] Need help with next version of Fl_TeacherTool

Robert Arkiletian robark at gmail.com
Tue Dec 20 06:04:19 UTC 2005


On 12/19/05, Eric Harrison <eharrison at mail.mesd.k12.or.us> wrote:
>
> The "-l" makes it a login shell for the user, which should chdir
> to their home directory, etc:
>
>
> By default "su" nukes environment varibles. The $DISPLAY varible
> seems to survive, but it might be better to set the $DISPLAY as
> part of the su command:
>
>
>     # su johnsmith -l -c "export DISPLAY=ws252.ltsp:0.0; xterm &"

Thanks Eric. It works perfectly now :)

--
Robert Arkiletian
C++ GUI tutorial http://fltk.org/links.php?V19




More information about the K12OSN mailing list