Results 1 to 5 of 5

Thread: Default desktop by user

  1. #1

    Default Default desktop by user

    Anyone know if there's a way to set the default desktop environment on a per-user basis?

    Not that I'm all that sure how to change the system default environment, I do recall changing a session to something other than the default and being asked if I wanted to set it as the new default

    I just can't remember if that was in an earlier version of suse or whether it was one of the fedora versions I used

    A friend of mine who logs in remotely wants a look at xcfe which is installed, but as he logs in with nxclient he doesn't get the option to choose what type of session

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Default desktop by user

    It is possible, and has been for a long time, but I don't know if there is any tool to set it, other than a text editor.

    Obviously it can't be set before login since the system doesn't know who you are at that point.

    However once login has happened, the display manager xdm will look for a file called .xsession in the user's home directory and run it if present. You can edit this script to change the window manager here.

    However I don't know if kdm (the K display manager) looks at this file at all. Maybe it looks at another file, you'd have to investigate.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,525
    Blog Entries
    15

    Default Re: Default desktop by user

    Quote Originally Posted by Ecky
    Anyone know if there's a way to set the default desktop environment on a
    per-user basis?

    Not that I'm all that sure how to change the system default
    environment, I do recall changing a session to something other than the
    default and being asked if I wanted to set it as the new default

    I just can't remember if that was in an earlier version of suse or
    whether it was one of the fedora versions I used

    A friend of mine who logs in remotely wants a look at xcfe which is
    installed, but as he logs in with nxclient he doesn't get the option to
    choose what type of session
    Hi
    Yes, the nxclient lets you chose a desktop session, in the case of
    xfce4 you need to use the 'custom' option on the client when at the
    'desktop' page when running the wizard. Select the radio button 'run
    the following command' in here enter /usr/bin/startxfce4, you could also
    advise the user to try xdm which should give a session screen.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
    up 6:50, 3 users, load average: 0.00, 0.09, 0.12
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22


  4. #4

    Default Re: Default desktop by user

    I tried the xdm setting in nx locally mate and accepting authentication etc, but then goes to a blank screen, not even a command prompt

    I'll check out the xsession file and also give malcom's suggestion for the custom setting a try

    It's really only for the remote nx sessions I'm concerned about, so if the custom way works out that'll be ideal
    Last edited by Ecky; 14-Jan-2009 at 06:51. Reason: typo

  5. #5

    Default Re: Default desktop by user

    That custom method works a treat

    Thanks for that mate

Posting Permissions

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