1

I got a macbook pro and I want to share it with some of my friend located at the other side of internet. He can use Internet.

Now I want him to give access to my whole Macbook (XCode for most) so he can do developments at his location using my macbook. Now I need to ask is there a way we can both utilize the samme macbook having two virtual OS (one for me and one for him) without affecting each others' privacy?

Is it possible to share the macbook across more than 1 user? I don't mean Remote Desktop like of thing in Windows.

4

3 回答 3

1

“Xcode 共享”不清楚您的意思是共享源代码和拆分开发工作(即,您的朋友在互联网的另一端有自己的带有 Xcode 的 Mac)还是您的意思是您需要他实际使用 Xcode通过 Internet 在您的计算机上。

如果您的意思是共享源代码,那很简单:Xcode 内置了版本控制。使用它。或者,您可以使用许多其他常见的代码控制系统之一。颠覆就是其中之一。有许多。

如果您所说的“Xcode 共享”是指通过 Internet 进行某种形式的屏幕共享,您可以这样做:在您的 Mac 上设置一个无法访问您的帐户的新帐户。这不是万无一失的,但如果你是“朋友”,那肯定有一些信任。要设置新帐户,请转到系统偏好设置/帐户。如果您愿意,也可以在您的帐户上使用FileVault 。然后允许您的朋友 VNC 到您创建的帐户。

我认为通过 Internet 共享屏幕来运行 Xcode 的性能会让你们在沮丧地扯掉最后一根头发之后都秃顶。这将是缓慢和低分辨率的。当您的朋友正在使用计算机时,您无法使用计算机。你的朋友会有一个糟糕的开发环境。

让您的朋友购买一台二手 Mac,使用SubversionCVS,并节省您的头发...

另一种可能性:将您朋友的工作限制为仅发短信,并使用 ssh 和 gcc。然后,您可以使用 Xcode 将他的努力融入到整个项目中。

于 2011-01-16T08:48:18.653 回答
0

你可以给他 ssh 访问权限,但是他不能使用 Xcode。你可以给他 VNC 访问权限,但那是你不想要的远程桌面。此外,使用 VNC,您不能同时使用计算机。

至于隐私,你可以给他自己的用户帐户。但是您必须找到一些方法来配置 VNC,以便它在登录窗口中运行。我不确定如何做到这一点,或者是否可以做到,但这听起来应该是可能的。

您将在系统偏好设置的共享窗格下找到 VNC(“屏幕共享”)和 SSH(“远程登录”)选项。

于 2011-01-16T08:32:32.437 回答
0

Yes,

This kind of sharing is possible via VNC which is tunneled through SSH. Just Google VNC over SSH and you will get lots of tutorials. I have tried this on a lan and it works well.

Over the internet you need to have a Dynamic DNS service if you do not have a static external IP and you need to port forward the SSH port(i.e. port 22) on your home router.

I have used TeamViewer in the past for this but there is a BIG problem with it, when we drag buttons to the code area to link them and generate code a blue line should show up in xcode depicting the link, but it does not show this blue line when done via TeamViewer for some reason and that link cannot be made.

于 2012-07-04T09:48:18.330 回答