Results 1 to 5 of 5

Thread: RDP into ubuntu default desktop change

  1. #1
    Join Date
    Jan 2013
    Beans
    6

    RDP into ubuntu default desktop change

    Hello folks,

    I have an ubuntu VM running on a vsphere, I've installed xrdp on it and can rdp to it just fine.

    When I login I an presented with unity as my desktop manager, I would like to use kde as the desktop manager instead, but I only want to change it on my user, I want to leave the other users using unity. How do I do this?

    Thanks,

    d3

  2. #2
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,554
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: RDP into ubuntu default desktop change

    From your Ubuntu comp, log out, choose KDE, and log in. It will be set as default for your user until you change it again.

  3. #3
    Join Date
    Jan 2013
    Beans
    6

    Re: RDP into ubuntu default desktop change

    I have done this and when I rdp it still logs me into unity. When I remote onto the vm instance in the vsphere client, I have kde selected next to my user.

  4. #4
    Join Date
    Jan 2013
    Beans
    6

    Re: RDP into ubuntu default desktop change

    I modified /etc/xrdp/startwm.sh to the following. Now when I login with my account I get KDE and when someone else logs in they get unity. Working perfectly.

    Code:
    #!/bin/sh
    
    if [ -r /etc/default/locale ]; then
      . /etc/default/locale
      export LANG LANGUAGE
    fi
    
    #. /etc/X11/Xsession
    
    USER = "$(whoami)"
    
    if [ $USER = "myName" ]; then
       startkde
    else
       . /etc/X11/Xsession
    fi

  5. #5
    Join Date
    Apr 2012
    Beans
    7,256

    Re: RDP into ubuntu default desktop change

    you could also have put it in ~/.xrdp/.xsession I think (I haven't tried it with startkde because I don't have kde desktop packages installed, but it works for setting a plain xterm)

    a bit tidier imho

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •