[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Need help with next version of Fl_TeacherTool



On 12/19/05, Eric Harrison <eharrison 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]