Skip to main content

[HDGEM] How to Customize Desktop Environment for xRDP Session

If you do not want to use the default desktop environment, you can customize it by creating a .Xclients file (X is capital!!!) in your home directory to launch the desktop environment you want and making it executable. In order to do this, open a terminal and run one of the following commands
Gnome 3:
echo "gnome-session" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
Gnome Fallback:
echo "gnome-fallback" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
KDE:
echo "startkde" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
MATE:
echo "mate-session" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
Cinnamon:
echo "cinnamon" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service  
Xfce4:
echo "startxfce4" > ~/.Xclients  chmod +x ~/.Xclients  sudo systemctl restart xrdp.service


--
Posted By Blogger to HDGEM at 1/27/2017 09:44:00 AM
Post a Comment

Popular posts from this blog

How to reset password of Jenkins

Reset password of JenkinsPrefer way, No securities were harmedSee also:
What is Jenkins' initial admin password

To reset it without disabling security if you're using matrix permissions (probably easily adaptable to other login methods): In config.xml, set disableSignup to false.Restart Jenkins.Go to the Jenkins web page and sign up with a new user.In config.xml, duplicate one of the <permission>hudson.model.Hudson.Administer:username</permission> lines and replace username with the new user.If it's a private server, set disableSignup back to true in config.xml.Restart Jenkins.Go to the Jenkins web page and log in as the new user.Reset the password of the original user.Log in as the original user. Optional cleanup: Delete the new user.Delete the temporary <permission> line in config.xml.
Alternative way:
ssh to the server, disable authentication, set the password via the Jenkins Web UI, then enable authentication.

How to Remove / Hide "Powered by Blogger" (Attribution Gadget)

Settings -> Template -> Edit HTML -> Jump to widget: choose Attribution1

Change it to:

<b:widget id='Attribution1' locked='false' mobile='no' title='' type='Attribution'/>

Go to Layout, remove Attribution1 widget.

To hide: Template -> Customize ->  Advanced -> Add CSS - Paste the following code  -> Apply to Blog:
#Attribution1 { display: none!important; }