Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wondering if most people have GNOME or KDE installed on their server, and how much memory do these guys consumed.
I have been running a VPS website with only 256MB of RAM fine, though memory does appear to be a bottleneck at times. So got a new server with 1GB RAM but I'm surprised to see after installing CentOS 64-bit with GNOME the memory consumption varies between 600MB-1GB.
The only difference is I've never had used any GUI desktop on the VPS (don't think the hosting company offers one). Wondering if the memory consumption came entirely from the GNOME desktop I installed.
Would most people install with GNOME, configure all the stuff required, and then remove it? What's the best practice?
most professional sysadmins would not use X windows at all on a server. You might install the client libraries, but actually running GNOME or KDE on a server should be a big no no ever. You should certainly never ever leave the system logged in and running anything like this, as that's clearly just a waste of resources.
On a personal home server running Slackware I have fluxbox and xfce installed, simply because it was more trouble than it was worth to remove them from the installation. On occasion I find it useful/easier to do some things via a GUI so I start up an XDMCP session (the server is headless with no keyboard or mouse of it's own) and do what I need to do, and then drop the box back to a non-graphical runlevel. If the GUI isn't running it's not using any resources, although it might still have some cache. 99.99% of the time though it is running sans X.
Is there anyway to say, shut it down, after using it and leave it there available to be turned on again if required?
To be more specific to the question, yes especially if you set the server to boot into the console so that you have to explicitly "startx" to get a GUI going. I don't know exactly how you would do it in CentOS. It's the default in Slackware.
Generally speaking I'm alright to use pure Putty to do everything. However, I'd like to have the option to use GUI if required. Can you tell me how I can set it to not boot up with GNOME by default? And if it's already up, how can I turn it off without having to reboot?
just edit /etc/inittab to boot to runlevel 3 not 5 by default. I can't remember the exact line, it's like "id:5:initdefault" or something. Then "startx" will load the desktop all shiny style.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.