Index: /trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
===================================================================
--- /trunk/src/VBox/Frontends/VBoxShell/vboxshell.py	(revision 29536)
+++ /trunk/src/VBox/Frontends/VBoxShell/vboxshell.py	(revision 29537)
@@ -191,5 +191,4 @@
                     matches.append(word)
 
-
         try:
             for m in getMachines(self.ctx, False, True):
@@ -525,6 +524,9 @@
 
 def cmdExistingVm(ctx,mach,cmd,args):
+    session = None
     try:
-        session = ctx['global'].openMachineSession(mach.id)
+        vb = ctx['vb']
+        session = ctx['mgr'].getSessionObject(vb)
+        vb.openExistingSession(session, mach.id)
     except Exception,e:
         printErr(ctx, "Session to '%s' not open: %s" %(mach.name,str(e)))
