Slashdot Mirror


Apple Tries to Patent Fast User Switching

Ashcrow writes "An article from The Register points out Apple's attempt to patent fast user switching. It seems that Steve Jobs admits that Microsoft beat them to the punch but believes Panther's implementation is superior."

40 of 445 comments (clear)

  1. Old news! by Anonymous Coward · · Score: 1, Informative
  2. Direct link to feature description on Apple by $$$$$exyGal · · Score: 4, Informative

    Here's the Direct Link.

    --
    Very popular slashdot journal for adul
  3. Re:When was this last on Slashdot? by nacs · · Score: 3, Informative

    You've probably just seen it on other sites since the news has been out for a while now.

    --
    "I filter at +6, and have yet to miss out on an important comment." (#822545)
  4. Can someone please read the article by Anonymous Coward · · Score: 5, Informative

    because it appears that nobody here is able to. They are not patenting fast user switching per-se but changing application settings and preferences on the fly, such as what location manager is doing.

  5. Re:Actually unix beat them both by madcow_ucsb · · Score: 3, Informative

    It's definitely possible to run multiple X sessions on different virtual consoles. Sucks a bit of ram, but you can definitely do it.

  6. Re:Actually unix beat them both by gantrep · · Score: 5, Informative

    Sure, multipse X sessions are easy! Here's a very nice tutorial on how to do that.

  7. That's like saying... by itistoday · · Score: 3, Informative

    ...that UNIX beats itself. OS X is UNIX, and user switching is really just as fast as on any other *NIX based system, the only delay is Apple's insistance on having a perty Quartz graphics transition between it.

    1. Re:That's like saying... by Anonymous Coward · · Score: 4, Informative
      OS X is not UNIX. Unix is a trademark of the Open Group. They say it is not a Unix. Stop trying to dilute their trademark.

      Repeating the same lie over and over doesn't make it true.

  8. Re:Actually unix beat them both by Anonymous Coward · · Score: 2, Informative

    That's pretty much what XP does anyway. Keep all the apps and the windowing system up on a virtual screen. Sucks up some ram and is a copy of UNIX's innovation. Par for the course.

  9. Legit by alset_tech · · Score: 5, Informative

    If you read the article, you will see that Apple has filed a CONTINUATION of a patent involving user-switching, originally granted in 1995. This is a completely legitimate move on their part. It is arguable that they have owned this technology for years. As for using SU for user switching, this would be true as an earlier form, however the patent applies to the GUI. Dan

    --
    Standing on the shoulders of giants.
    1. Re:Legit by WindBourne · · Score: 2, Informative

      Yes, but the original patent will most likely be ruled invalid. X has had this capability as it was designed in since the 80's (ever wonder about the format of DISPLAY variable? hostname:display#:screen#). This patent might be interesting (it allows for physical changes to the hardware as you move across sessions ; personally, I think it foolish), but the original will almost certainly be ruled invalid due to prior art.

      --
      I prefer the "u" in honour as it seems to be missing these days.
  10. Important Quote by jmt9581 · · Score: 5, Informative

    Straight from The Register story (the The Register story?):

    At WWDC, Jobs admitted that Microsoft had beaten Apple to market by offering such a feature in Windows XP, but he claimed Apple's implementation was the better of the two.

    That would imply, surely, that Microsoft has a solid prior art claim?

    No. The current application, filed last November and updated this past June, turns out to be a continuation of a patent, number 6,512,525 filed in August 1995, long before Windows XP arrived, and finally granted in January 2003 with the same title. That patent is also assigned to Apple.


    :)

    --

    My blog

  11. Re:When was this last on Slashdot? by Durin_Deathless · · Score: 2, Informative

    It was on macslash

    --
    You should use AdiumX on your Mac.
  12. Re:um... by 2nd+Post! · · Score: 1, Informative

    Nope.

    Read the article.

    Grok fast user switching
    Grok Location Manager

    Unless the X-Terminals you're talking about actually changed system settings, preferences, and configuration states (like IP address, network connection settings, battery/power settings, screen savers, executed scripts, startup and shutdown services, and ran programs in the background), FUS and LM is a different beast.

    It's *obvious* in hindsight, but OS 9 had it, and Windows 95, 98, ME, NT, 2k, and XP don't, so perhaps it isn't *obvious* in design? Perhaps that makes it worth patenting?

    It's still a better patent than, say, One Click.

  13. Re:SU by The+Turd+Report · · Score: 3, Informative

    Actually it is a means by which anyone can become anyone else, with the correct password.

  14. Fast user Switching by gh0ul · · Score: 2, Informative

    as a developer I recieved a free copy of the developer preview of OSX 10.3, and the fast user switching is by far superior in speed and eye candy.

  15. Actually, no by cscx · · Score: 4, Informative
    su actually stands for "Switch User" I believe, and you can in fact switch to any user:
    SU(1) OpenBSD Reference Manual SU(1)

    NAME
    su - substitute user identity

    SYNOPSIS
    su [-fKLlm] [-a auth-type] [-c login-class] [login [shell arguments]]

    DESCRIPTION
    su requests the Kerberos password for login (or for ``login.root'', if no
    login is provided), and switches to that user and group ID after obtain-
    ing a Kerberos ticket granting access. A shell is then executed, and any
    additional shell arguments after the login name are passed to the shell.
    su will resort to the local password file to find the password for login
    if there is a Kerberos error or if Kerberos is not installed. If su is
    executed by root, no password is requested and a shell with the appropri-
    ate user ID is executed; no additional Kerberos tickets are obtained.
  16. Re:The Fast User Switching I Want to See... by frohike · · Score: 1, Informative

    I also expect that to be the last such migration in my life time. It might be famous last words, however I do have trouble believing 64-bit processing and addressing will get outgrown by any software we'll be running on the desktop.

    The PS2 has a full 128-bit processor. The EE (MIPS R5900) is based around a 32-bit MIPS design, has 32-bit instructions, etc, but all 32 of the general purpose registers are 128 bits wide. Really crazy. You can use those as real 128-bit registers, or you can split them up and do MMX-type operations on them. With a proper version of GCC, you can declare 128-bit variables without doing the long-long kludge on 64-bit values, etc.

    I don't have a link to something about it right now, but you can probably google for one without much trouble (and it's described at length in the PS2 Linux PDFs). Either way, there's already a 128-bit processor out there! I acknowledge that you said "desktop software" and it's not like we all have them on our desks, but a few million people already have them in their living rooms ;)

  17. Re:What the hell? by spooje · · Score: 2, Informative

    Acutally Apple is trying to patent Fast Switching for handheld devices, not desktops. Also they already had the patent for it from teh Newton Days, this is just an extension and adding in multiple devices and personas to slightly enhance the patent. It was in the article. Not a very big deal.

    --
    Tea and kung-fu. Life is good. Rising Phoenix
  18. Read the article by 2nd+Post! · · Score: 2, Informative

    Apple happens to have prior art, since 1995, that applies to the current patent, and is evidently a continuation of that patent.

  19. Re:What the hell? by Grishnakh · · Score: 2, Informative

    If there's a prior implementation, how can it be patented,

    Prior art doesn't matter for patent applications, unless there's prior art that has already been patented.

    When patent examiners get a new patent, they look for prior art in the USPTO patent database. The assumption is that if there's any prior art, someone would have patented it. If there aren't any patents, then it passes that test. They don't actually bother to check if there's non-patented prior art, even if it's something anyone in the field would know about. The examiners have very little time to check each patent and pass it, and they know that if anyone disagrees they can just go through the court systems.

  20. startx -- :1 by Erisian+Pope · · Score: 5, Informative

    On linux (and probably any other system with XFree86 ) To get to the first virtual console Use: CTL+ALT+F1. Then login and type:

    someone@server someone]$ startx -- :1

    X windows starts using the next available console. To switch between X sessions use CTL+ALT+F7 and CTL+ALT+F8. To start more sessions use :2, :3 etc. This has been available (but not well documented) for many years. Have Fun!

    1. Re:startx -- :1 by Anonymous Coward · · Score: 1, Informative

      Fixed in CVS.

  21. Re:Actually unix beat them both by mcgroarty · · Score: 3, Informative
    It's definitely possible to run multiple X sessions on different virtual consoles. Sucks a bit of ram, but you can definitely do it.

    It's not only possible, but some of us have been doing this for over ten years. If Apple pursues this patent, I'm definitely calling prior art on this.

  22. Re:SU by optikSmoke · · Score: 3, Informative
    Of course, some environment variables are still based off of the original login, so if you have trouble there then you need to logout and login. In most cases, though, su works just fine.

    You can simply include the "-" arg if you want to fix all the env vars and get a proper login shell: "su -" will give you a root shell, "su - joe" will give you a shell for joe, etc -- all variables, etc properly set.

  23. Re:Skins == Trademark by tupps · · Score: 4, Informative

    The case against UI skins maker was the use of the Apple Logo and calling it Aqua. Most of the people removed the apple logo and changed the name and everything was ok.

    --
    Go out and get sailing!
  24. Re:Actually unix beat them both by zenyu · · Score: 4, Informative

    Anyone know if KDE/Gnome or even Xfree is planning something like this? I heard talk about multiple X servers, but its not out of the box simple use, of even possible.

    If you use gdm to login, add the line "1=Standard" after "0=Standard" in your gdm.conf. If you use kdm I think you just add the line ":1 local@tty1 /usr/X11R6/bin/X vt8" after the line ":0 local@tty1 /usr/X11R6/bin/X vt7", but I don'y use kdm, so your milage may vary. (xdm is more complicated, so google if ya use that). As suggested by the kdm config to start a new X server on another virtual terminal just specify the vt you want to use. I think this has been around since shortly after XFree86 was first ported to Linux, maybe earlier on the BSD's. Recently it's been possible to program virtual terminal switching to keys other than the basic F1-F12, so easy switching isn't limited to just 12 users anymore. I never understood why multiple X servers haven't been used in the Linux distro's, at least on a "allocate one X terminal per 256 MB of RAM the computer has" basis. My desktop has had a gigabyte or more of RAM for years, I'm not really concerned about a few extra buffers eating up a tiny bit of memory. Even my laptops with 256MB-512MB in the last 5 years can handle an additional X server without batting an eye.

    You can also give the different servers different configurations, which is the traditional use for this. But by default the X server started by kdm/gdm requires a login and uses the same config, so it is exactly what you want. BTW if you want to be able to login with the same user twice you will have to enable that, by default it is not permitted to prevent remote users from starting lots of X servers and consuming all your resources... (though this is also limited by the number of virtual terminals you allow.)

  25. I don't think so by 2nd+Post! · · Score: 4, Informative

    Unless you're familiar with Location Manager and can disagree with that implementation, I don't believe there *is* prior art.

    Or rather, that Mac OS (Classic, not X) *is* the prior art, and that *Apple* owns the original patent, of which this is merely a continuation if you read the article.

    Location Manager allows a single user to change multiple settings on a computer with a single selection:

    Wireless Plugged
    Wireless Unplugged
    Netless Plugged
    Netless Unplugged
    Wired Plugged
    Wired Unplugged
    At Home
    At Work
    Roaming Unplugged

    So that with a single selection the user can change:
    Bandwidth settings on Qucktime and the network
    Power/Battery/Energy saver settings
    Screen Saver settings
    Printer settings
    Network settings (DHCP and Proxies)
    Browser settings ... AppleScripts to manage everything else

    If you look at 'Multiple locations - User' :: 'Multiple users - Machine' then it does appear valid that Fast User Switching is a continuation of the original patent Apple holds regarding the technology that is Location Manager.

    su is *not* fast user switching, it is just changing the user locally in a terminal; and it doesn't change the settings of the machine, applications, or even the environment *outside* the terminal, unlike FUS or Location Manager.

    1. Re:I don't think so by 2nd+Post! · · Score: 4, Informative

      Okay, so the connection between fast user switching at location manager?

      However, I will answer an unasked question, where you question the value of location manager.

      My laptop starts at home, plugged into power but with airport. I use that setting.

      I go to work, where I have wired ethernet and power. Mail settings change, as do proxies.

      I then go to a meeting, where I have no wireless or wired, and no power. Battery settings correspondingly change.

      A second laptop user wants to create an adhoc network to transfer files after the meeting. I switch to the wireless unplugged.

      Go back to my desk, and it's back to 'work' settings

      I then go home, and it's back to wireless plugged. But perhaps a friend calls, and I drop by. I am now roaming unplugged to check my email, and then I put my system to sleep while we watch a DVD over a beer and snacks.

      I then go back home, and back to wireless plugged.

      You can question the value all you want, but this is how I live with my laptop ^^

      Now this isn't possible under XP: I have friends with XP laptops, and they have to shut down and restart when they change from mode to mode: Wired, wireless, unwired. The corresponding proxy changes, DHCP changes, etc, also require fiddling with the network control panel. And any corresponding changes to bandwidth uses also require fiddling in the respective programs, and printing preferences, etc. My printers at work and at home were automatically configured via Location Manager. Heck, even the display calibration of the monitor at work and the monitor at home.

      So now you ask about FUS?

      Okay, so in *my* situation, I'd have multiple logins for *myself*.

      An admin login, with a bright red desktop where I do all my admin stuff.
      My 'personal' login where I have my email, IM, and browsing apps
      My 'work' login where I might use Photoshop, iDVD, iMovie, and other stuff.
      My 'developer' login where I would have XCode and a handful of terminals, X11, and some man pages loaded up.

      Just for ME

      And I might live *mostly* in the personal login, but I would switch once in a while to admin to install or maintain stuff, I would switchinto work to do worklike stuff a little more often, and developer whenever I felt the need to, say, build mozilla, or code something.

      If my friend came over and wanted to use the web, I would switch to a 'guest' login, or request that they do so.

      This is not something I would do on my PowerBook, but rather my PowerMac.

      How does this relate to Location Manager? Because it is me, one user, with multiple use models, first handled by location manager for my laptop to handle certain configurations, and then handled by fast user login to handle certain usage patterns. One requires mobility, the other requires a lot of CPU and ram (Hmm, like a G5)

      is this useful for you?

      Possibly not. You think location manager is of dubious use to you, but I know I loved it.

      I also know with FUS that my dad would have one account for him to handle scanning and photos, since that's what he does, and I would give my friends a guest account for web, email, and IM, while I would use 3 or 4 accounts myself.

      Again, that is the value to ME and that is why *I* think it's worth existing and possibly even a patent. Just because it's worthless to you, or anyone else reading, does not deny the value of FUS or LM.

    2. Re:I don't think so by steeviant · · Score: 3, Informative

      All of the things you mention sound vaguely useful, for someone clueless about the actual workings of their machine.

      Hmm, so if I were 'clueful', rather than moving to the top of my screen, I'd much rather click on the terminal and type in a line to set my new network address, a line to delete the default route, a line to add a new default route, and then edit the /etc/resolv.conf line and change the nameservers, and then go to the preference pane for internet settings and change my cache settings every single time I move my laptop between the office and home.

      Not every network in the world has DHCP on it, the location manager bundles all of this stuff up in a nice, easily accessible script. Thank you for accusing me of being clueless you gormless twat.

      under OS-X, 90% of the "useful" progs run setuid root anyway, so again, you basically have every user a superuser. Why switch between equally useless (or open to abuse, depending on your perspective) accounts?

      I also take issue with the idea that most useful programs run with root priviliges, this statement makes me wonder if you've ever laid eyes upon an OS X machine in your life, but more disturbingly, it makes me wonder what you actually meant by your statement.

      Is there some new found study linking the percentage of programs running as root with security?

      I certainly haven't found anything that allows me to do things I shouldn't be able to do, and programs that require root priviliges usually seem only to want the priviliges to accomplish the task they require before dropping back to normal user. The fact that OS X has a system wide consistent interface for doing this inside a GUI makes it MORE secure than most other Unix systems, which just choke when this happens, thus requiring you to run the program with root priviliges, making your system insecure if you have to leave it unattended for any length of time.

      In case you were wondering, my OS X machine shows 70% of it's tasks running with non-root privilige, while my OpenBSD machine shows only 43% of it's tasks running with non-root privilige, therefore I conclude that Mac OS X is more secure than OpenBSD. Logic supplied by pla.

  26. Re:SU by zapp · · Score: 2, Informative

    Su does not "maintain state" like the XP/OSX fast user switching features does. If I log in as user1, then user2 wants to finish some old work, I do not do "su user2" and have it resume where he last left off.

    --
    no comment
  27. Has anyone here actually read the pattent? by RalphBNumbers · · Score: 4, Informative

    Has anyone here actually read the patent that the Register article links to?
    It covers "Multiple personas for mobile devices".

    It's a hell of a stretch to go from that patent to fast user switching. The Register even admits it's a inaccurate description of user switching, although they underplay it.

    That patent sounds like it would more accurately describe a handheld device that could serve multiple roles (like a mp3 player, a movie player, a camera, a phone, etc) and could rapidly reconfigure it's GUI to accommodate whichever 'persona' the user wanted.

    I'd say this is just the Register blaring sensationalist bullshit to get attention (and succeeding wildly since they have a front page /. story now), with only their wild guess as to what Apple is actually patenting.

    --
    "The worst tyrannies were the ones where a governance required its own logic on every embedded node." - Vernor Vinge
  28. Re:Actually unix beat them both by asteinberg · · Score: 4, Informative

    Surprised I haven't seen any posts specifically describing this yet, but in KDE 3.1 (at least the version in Debian, but I think it's distro-independent) there's a "Start new session" option in the k-menu which opens up kdm in a new x session. You can also access this when the screen is locked - there's a button in the password prompt to start a new session.

    --
    The first ever Ultimate Frisbee video game: here (now
  29. Re:patents and implementation by MoreDruid · · Score: 2, Informative
    These techniques are certainly more graceful and less of an OS kludge than whatever Microsoft had to bolt onto Windows, and could easily be applied to other Unix-like OS's.
    Microsoft uses a thin local Terminal Server that's running in the background to achieve this. Quite elegant actually. The only problem with this is that it adds another layer between user & hardware, so there's a performance hit.
    I was really impressed with how WinXP handled itself in a little test I devised: Start installing MS Office in 1 account, switch to user2 and start surfing the web, fetching e-mail, etc. Switch back and hey presto! office was installed. I say: sweet. that's a good implementation. I don't know anyone who would want to do that on a daily basis, but hey, it's proof of concept.
    --
    The best weapon of a dictatorship is secrecy, but the best weapon of a democracy should be the weapon of openness.
  30. Re:SU by CatOne · · Score: 3, Informative

    su is not the same as fast user switching. I don't know whether you've used "fast user switching" on windows or OS X, but they are not at all the same. su allows you to become another user (really, in the shell). fast user switching lets you switch to a desktop which is for a specific user -- like a normal windows or OS X login. But you can have many of these running concurrently -- say one user has a window with their browser running, and one with a mail client runnning, etc. Fast user switch to another user and do whatever you want... the other users desktop is unmodified and runs just fine in the background. Of course this is a resource hog... if you have 200 MB of GUI apps running for 3 or 4 users, they're all taking up their own process space and RAM.

  31. Re:patents and implementation by Jokkey · · Score: 3, Informative

    Microsoft uses a thin local Terminal Server that's running in the background to achieve this. Quite elegant actually. The only problem with this is that it adds another layer between user & hardware, so there's a performance hit.

    I was really impressed with how WinXP handled itself in a little test I devised: Start installing MS Office in 1 account, switch to user2 and start surfing the web, fetching e-mail, etc. Switch back and hey presto! office was installed. I say: sweet. that's a good implementation. I don't know anyone who would want to do that on a daily basis, but hey, it's proof of concept.

    Except that Microsoft's fast user switching doesn't work if your computer is joined to a Windows domain. Which makes it pretty useless for a lot of settings. Example: Fast user switching would be very convenient for my wife and I, but since my home PC is joined our the campus domain, it's disabled.

  32. On Red Hat 9... by Erisian+Pope · · Score: 2, Informative

    You rock... It looked a little intimidating at first but I had a look at /etc/X11/gdm/gdm.conf and found:

    [servers]
    # These are the standard servers. You can add as many you want here
    # and they will always be started. Each line must start with a unique
    # number and that will be the display number of that server. Usually just
    # the 0 server is used.
    0=Standard
    #1=Standard

    Remove the comment before the '1=Standard' then reboot and you're good to go. (Yeah, I know, you don't need to reboot, just do a 'killall gdm-binary' but I'm trying to make this look simple.)

    Bad news is the lock screen buttons and the screen saver don't seem to work on the second desktop. I've poked around but can't seem to find a fix... Guess this is getting pretty far off topic.

  33. Re:The meat of the issue by Alan+Cox · · Score: 2, Informative

    MacOS location manager is itself old hat. Multiple roles according to what the user/system is currently doing goes back to military systems in the 1960's. The military stuff is actually vastly more powerful because you can in general tie anything to a role - security rights, commands you can run, settings, files you can read.

    Linux pcmcia has had similar stuff since about 1994/5.

    Apple's is just a *lot* prettier and more used oriented than anyone elses 8)

  34. Re:How can they even think of this? by Anonymous Coward · · Score: 2, Informative
    Mainframe operating systems have this feature too, and its an extension of the dumb-terminal idea.


    This is for switching "personas" on a "mobile device". None of the mainframes I have known were mobile, and none had any persona either (tho' I did have a SO for a while who was built like a mainframe and had persona to boot.)

  35. Re:Has anyone here actually read the patent? by Aapje · · Score: 4, Informative

    Has anyone here actually read the patent that the Register article links to?
    It covers "Multiple personas for mobile devices". That patent sounds like it would more accurately describe a handheld device that could serve multiple roles (like a mp3 player, a movie player, a camera, a phone, etc)


    A laptop is a mobile device too. In fact, the patent explicitly makes a distinction between a hand-held computer and a portable computing device (see claims 34/35, 43/44 and 50/51 from the patent). In the desciption it states that: "Computers are becoming increasingly [...] portable. [...] Laptop, notebook, and sub-notebook computers are virtually as powerful as their desktop counterparts." In other words, the class of portable computing devices referenced in the patent includes laptops.

    It covers "Multiple personas for mobile devices". It's a hell of a stretch to go from that patent to fast user switching. The Register even admits it's a inaccurate description of user switching, although they underplay it.

    The term 'user' as used in Unix is really just a persona. It's certainly not equal to a person since the root and guest accounts are not directly related to a person. They are more like roles, aka personas. Multiple personas seems to be an valid description of (fast) user switching.

    I'd say this is just the Register blaring sensationalist bullshit to get attention (and succeeding wildly since they have a front page /. story now), with only their wild guess as to what Apple is actually patenting.

    Unfortunately, I haven't got the time to examine the entire patent (it's very long), but your criticisms don't seem to hold water. So for the time, I'll have to give The Register the benefit of the doubt.

    PS. Quotes were edited for readability.

    --

    The Drowned and the Saved - Primo Levi