blob: 7f7cbf8176c78a69c5479d8902b651a3c4d9aefc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
*** kfm/kfmsu2.in~ Sun Jul 5 15:53:02 1998
--- kfm/kfmsu2.in Sun Jul 5 15:53:58 1998
***************
*** 2,10 ****
echo "--------------"
echo ""
! echo "Allowing root user to use this display"
! xhost +local:root
echo ""
echo "Logging in as super user"
! su - root -c "export DISPLAY=$DISPLAY; @kde_bindir@/kfm -sw >/dev/null"
! xhost -local:root
--- 2,10 ----
echo "--------------"
echo ""
! echo "Allowing ALL (!) local users to use this display"
! xhost +local:
echo ""
echo "Logging in as super user"
! su root -c "echo DISPLAY=$DISPLAY @kde_bindir@/kfm -sw | /bin/sh > /dev/null"
! xhost -local:
|