Results 1 to 7 of 7

Thread: Macosx Fast User Switching & How it's done on linux.

  1. #1
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342

    Macosx Fast User Switching & How it's done on linux.

    This is an easy tip.

    See here first: http://www.apple.com/macosx/features/fastuserswitching/

    Description:

    3D-Desktop is an OpenGL program for switching virtual desktops in a seamless 3-dimensional manner on Linux. The current desktop is mapped into a fullscreen 3D environment where you may choose other screens. Several different visualization modes are available.

    Download 3D-Desktop
    http://desk3d.sourceforge.net/

    And after you ./configure & make && make install
    Open a konsole

    3ddesk --acquire
    &
    And asign a hotkey with this command:
    /usr/bin/3ddesk --nozoom --mode=cylinder

    Done now you can do Fast User Switching the way mac does it.


  2. #2
    Guest
    All this is going to do is change windows though right? Its not actually going to let you login as a new user....

  3. #3
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342
    Ahhh yup you are right dam you mcangeli
    I e-mail the creator of 3D-Desktop about how you would go about switching users when you switch screens .
    Maybe if he responds he will do it for me and i will not have to figure it out my self Hmm.....Maccorin you know c and opengl don't you?
    Can you help with this a patch maybe?

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Atlanta, GA
    Posts
    215
    It looks like that's the case.

    I'd like to have a slick way of locking my session, while allowing for another user to log in

  5. #5
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342
    I am looking a the source here and i might be able to compleate this my self but do not quoat me on that i am not a c or c++ programmer.
    unless there is a ruby port of this.
    So if anyone has free time hay this is a cool project.
    Ahh mcangeli it is starting to look like linuxfoo is my project site. Wuups
    Wenn Sie Spaß meines Englisch mich Willensfuckingtötung Sie bilden.

  6. #6
    Advisor
    Join Date
    Apr 2004
    Location
    orlando
    Posts
    608
    to get the functionality you seem to want (different users on different virtual desktops), it would take a lot more then patching 3d-desktop. You'd have to change the very core of how X11 and Desktop WM's work.

    Right now when you run X11 it is "owned" by the person that started it, now if it's gdm or something, it can change it's uid, by calling setuid() so that you own it, but a non-root user cannot setuid() to some random other person.

  7. #7
    Advisor
    Join Date
    Apr 2004
    Location
    orlando
    Posts
    608
    for clarities sake, lets go through what it would take:

    you could use pam to authenticate different users... this would have to be done on the WM level though, not 3d-desktop.

    Then the WM would have to store multiple sessions in memory, it could cache it to disk though if needed.....

    so what am i saying?

    What you want is possible, but it's not possible by patching 3d-desktop, you need to patch your WM

Similar Threads

  1. Switching user-id
    By hitendra_sh in forum Linux - General Topics
    Replies: 2
    Last Post: 05-02-2007, 12:33 AM
  2. switching advice
    By wouter in forum Linux - General Topics
    Replies: 2
    Last Post: 09-22-2006, 02:22 PM
  3. MacOSX emulation on x86?
    By Blaqb0x in forum General Chat
    Replies: 7
    Last Post: 06-02-2004, 05:52 AM
  4. Switching Fully to Linux
    By BJ250 in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 08-19-2003, 02:39 AM
  5. Switching to Windows
    By in forum Windows - General Topics
    Replies: 19
    Last Post: 04-05-2003, 07:46 AM

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
  •