Find the answer to your Linux question:
Results 1 to 6 of 6
hi! I want to change the window managers (Kde,Gnome) remotely by doing ssh for the users. i read that there is a file (for each user on machine) in which ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2004
    Posts
    33

    changing window managers


    hi!
    I want to change the window managers (Kde,Gnome) remotely by doing ssh for the users. i read that there is a file (for each user on machine) in which we can write about window managers to be selected.
    how to do that.
    thanx in advance.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    IIRC, you're on Gentoo...in taht case, I know for sure that it's /etc/rc.conf.

    Just scroll down to the bottom and edit the line that says 'XSESSION='

    Just stick what you want at the end of that (i.e. XSESSION=kde-3.2) and voila!



    Oh..and for a list of valid args for that, check all the scripts in /etc/X11/Sessions/ Those are all the X startup scripts for diff. wms.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Jan 2004
    Posts
    33
    other computer linux distro is redhat.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I believe that the correct file to edit in RedHat is /etc/sysconfig/desktop.

  6. #5
    Just Joined!
    Join Date
    Jan 2004
    Posts
    33
    well i want to set it to user level
    different wm for each user.
    is /etc/sysconfig/desktop file showing the current running desktop ?

  7. #6
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    if you wan't each user to have its own choice, then ~/.xinitrc is the file you want!

    Good luck

Posting Permissions

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