Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xrdp permissions
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
keivan
n00b
n00b


Joined: 22 Nov 2010
Posts: 42

PostPosted: Thu Dec 13, 2012 6:51 am    Post subject: Xrdp permissions Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum