Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/daemon/include/daemon.global.class

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1665 by niro, Thu Mar 10 18:08:47 2011 UTC revision 1666 by niro, Fri Mar 11 19:38:10 2011 UTC
# Line 86  help_topics() Line 86  help_topics()
86  # on newer xorg-servers root is not allowed to run progs in a user session  # on newer xorg-servers root is not allowed to run progs in a user session
87  x11runas()  x11runas()
88  {  {
89   if pidof X   if [[ -n $(pidof X) ]]
90   then   then
91   su - "${MCORE_UNPRIV_USER}" -c "DISPLAY=${MCORE_XORG_DISPLAY} $@"   su - "${MCORE_UNPRIV_USER}" -c "DISPLAY=${MCORE_XORG_DISPLAY} $@"
92   fi   fi

Legend:
Removed from v.1665  
changed lines
  Added in v.1666