turn off gui?

Hi,

I use my mini strictly to shell into, and have no need of the GUI at all, and would like to stop waisting processor cycles supporting it.

Is there any way to turn the gui off (not just boot in safe mode, but keep it off under normal booting proceedures?)

Thanks.

-- James

mini, Mac OS X (10.4.9)

Posted on Apr 16, 2007 1:55 PM

Reply
14 replies

Apr 16, 2007 7:05 PM in response to jbarros

I'm sorry but for some reason this particular topic is stuck in my head. Assuming you have the remote login service enabled in the Sharing pref pane, are you even required to have any user logged in before you can connect from a remote host using ssh? If not, what is the harm in having the graphical user login screen running? I understand that you may be using up a small amount of system resources to present the logon screen. Other than that, wouldn't that fulfill your need of having a machine that you can simply remote into a command shell when needed?

Jun 11, 2007 1:51 PM in response to jbarros

It wouldn't be a UNIX system, if you can't bring it up without a GUI! So, of course it can be done. I've done that sort of thing many times on Solaris, Linux, etc., but don't have the darwin chops to detail it here from memory. 😟

However, the basics are the same. The system follows scripts and other lists to direct its startup behavior. All that is needed is to find where the launching of the window server and graphical login server is launched, and turn it off. As long as the telnet or rlogin or ssh server is running, you can still come in over the network.

Most of the systems I'm used to, will simply post a character-based login onto the display device, treating the "console" device as a terminal itself.

If you have already solved this problem, please post your response here, and mark this item as "answered". If I get some time, I'll try to figure it out myself, as well.

Have fun,
Rick

Jun 11, 2007 3:32 PM in response to jbarros

It has been a tradition since the Mac-II that a Mac with no display attached does not create the screen buffer or draw the screen.

I have encountered this from the other end, as administrators who want "headless" operation, but occasionally want to login remotely with a screen-sharing program MUST put an adapter on the display connector, else there is no display buffer to share.

Jun 12, 2007 9:57 AM in response to Grant Bennet-Alder

It has been a tradition since the Mac-II that a Mac
with no display attached does not create the screen
buffer or draw the screen.

I have encountered this from the other end, as
administrators who want "headless" operation, but
occasionally want to login remotely with a
screen-sharing program MUST put an adapter on the
display connector, else there is no display buffer to
share.


Actually, on my small server (an old 400MHz G4 with no video card running OS X 10.4.9 Client), I have a VNC server app running. Even though it has no display or even a video card, I can still use a VNC viewer app to connect to it and be presented with a full 1024x768 GUI. I have absolutely no idea how or why it works, but it does.

MacBook Mac OS X (10.4.9) White 2.16GHz, 2 gigs RAM, OS X 10.4.9 / Ubuntu 7.04

Jun 12, 2007 2:11 PM in response to MultiFinder

MultiFinder17-

The old thinking was that if you really did not want a display, why should you have to pay the CPU power to write to it. Since there was a space in the display definition codes for "no display", they used that to tell whether you wanted the display to be "alive" or not.

Based on what you are saying, perhaps it was the XServe that changed people's thinking around completely. That and about 200 times more processing power available than when the original decision was made.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

turn off gui?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.