keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Thu Dec 13, 2012 6:51 am Post subject: Xrdp permissions |
|
|
Hi. It is a long time I am searching for a solution to give more permissions to My xrdp+tigerVNC remote connection. When I normally login to my machin I have some permissions like shutdowning, restarting or mounting partions using KDE. My kde session in xrdp, however, do not have these permissions. How can I start a remote kde session that has more permissions?
this is my .xinitrc
Code: | exec ck-launch-session startkde |
this is my .vnc/xstarup:
Code: | #!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid black
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
exec ck-launch-session dbus-launch startkde
|
|
|