The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Poll: Who uses a GUI on a pure linux server?

    Discussion in 'Linux Compatibility and Software' started by Thaenatos, Apr 11, 2011.

  1. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    I dont. I find the gui to be a waste of resources and a security risk. I do however use the gui on my pseudo servers as they are basically desktop OS' with server features installed. But other then that CLI.
     
  2. ThinkLover

    ThinkLover Notebook Consultant

    Reputations:
    36
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    31
    CLI FTW!
    I've even caught myself couple times not typing "startx" after logging in my ThinkPad just because I could read my emails faster by mutt than logging in web gmail interface, lol :D
     
  3. Peon

    Peon Notebook Virtuoso

    Reputations:
    406
    Messages:
    2,007
    Likes Received:
    128
    Trophy Points:
    81
    It depends. Production servers are heavily locked down and therefore CLI-only, but there's no policy with regards to what can go on development/testing clusters so some have GUIs while others don't.
     
  4. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    Ill have to try mutt out, but both my pseudo server and mobile thinkpad start the x window system automatically.

    Any of my pure servers dont get accessed locally so CLI is just easier and more peace of mind for me. Pseudo servers on the other hand have a gui. I guess it comes down to personal preference of the admin.
     
  5. Dillio187

    Dillio187 Notebook Evangelist

    Reputations:
    56
    Messages:
    341
    Likes Received:
    0
    Trophy Points:
    30
    CLI only for mine. Less updates and less of a security risk.
     
  6. Jack

    Jack Guest

    Reputations:
    0
    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    I only use the GUI on the server for ease of setup. Copying files into the correct folders, folder/file navigation, etc.
     
  7. debguy

    debguy rip dmr

    Reputations:
    607
    Messages:
    893
    Likes Received:
    4
    Trophy Points:
    31
    Try midnight commander!
     
  8. Joel

    Joel coffeecoffeecoffeecoffee

    Reputations:
    1,059
    Messages:
    1,663
    Likes Received:
    0
    Trophy Points:
    55
    I'm currently running CLI on one of my servers. Much easier, IMO.
     
  9. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    For me the gui doesnt improve file navigation. I still do most of my copying in CLI.
     
  10. Jack

    Jack Guest

    Reputations:
    0
    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    Ok, well it does for me. Guess some people are more experienced and more oriented where their files are :D
     
  11. Sxooter

    Sxooter Notebook Virtuoso

    Reputations:
    747
    Messages:
    3,784
    Likes Received:
    8
    Trophy Points:
    106
    I had a problem with early installs of Ubuntu 10.04LTS where under certain conditions, the CLI only version wouldn't finish booting but with the GUI installed it would. Had to do with that sreadahead thing. anyway, the solution at first was install gnome, have a GUI, never use it.

    Other than that, no I don't put GUIs on servers.
     
  12. Primes

    Primes Notebook Deity

    Reputations:
    919
    Messages:
    1,736
    Likes Received:
    718
    Trophy Points:
    131
    Maybe another reason not to use a gui. :p

    Network security blunders: Tales from the field

    They were working on the production firewall server gathering some data for a support case, the server was windows. The admin reached across the table and accidentally leaned on the mouse, which was over the Start Menu. As fate has it in for us network engineers at all times, the mouse activated the Start Menu and was unbelievably over the shutdown menu item when it popped up. Yep, right there in the middle of production this financial corporation watched their production firewall shutdown.
     
  13. Patrick

    Patrick Formerly beat spamers with stiks

    Reputations:
    2,284
    Messages:
    2,383
    Likes Received:
    93
    Trophy Points:
    66
    CLI since all the servers are VM hosts.
     
  14. Sxooter

    Sxooter Notebook Virtuoso

    Reputations:
    747
    Messages:
    3,784
    Likes Received:
    8
    Trophy Points:
    106
    I had something similar happen with a Windows NT4.0 domain controller. I was logged into it to do some fairly simple maintenance, and I went to log out. Hit start -> logout. And the machine just sat there, not logging me out. Waited about 60 seconds, still nothing. Thinking maybe I missed the logout button etc I hit the start button again. right as I hit it it started to log me out. Race condition. Machine logs me out but leaves the start menu up and alive over a black screen. Machine now fails to respond to any input. Ran around the office telling everyone to save their stuff NOW as the PDC was likely crap out at any moment. 5 minutes later it hung hard, and had to be power cycled.

    I cannot imagine the person who thought running a production firewall / networking stack on windows was a good idea.
     
  15. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    Hey I always say to each their own. If it works better for you but not for me that doesnt make it wrong. :)

    The issue with GUIs is that it allows you to use things like vnc and remote desktop(although disabled access as default). VNC is enabled by default and isnt the most secure technique. Granted I use VNC, but that is when Im already SSH'd into the box and technically local at that point.

    But yes the gui does open up doors by default that must be manually locked if you want to be fully secure.
     
  16. lupusarcanus

    lupusarcanus Notebook Consultant

    Reputations:
    244
    Messages:
    263
    Likes Received:
    0
    Trophy Points:
    30
    For a server? CLI for sure, man! Heck, I wouldn't even use a monitor; I'd just SSH into the box when I need too.

    There isn't too much of a point in a GUI if you feel comfortable with the command line. Just wastes resources and disk space.
     
  17. Peon

    Peon Notebook Virtuoso

    Reputations:
    406
    Messages:
    2,007
    Likes Received:
    128
    Trophy Points:
    81
    I have a shell script that generates files inside directories which are nested 20+ levels deep (and yes, there is a reason for having so many layers). Using the GUI is already painful enough since it's a power-clicking session just to get to the file I need. With the CLI, even with Tab autocompletion, it would be downright crazy, especially when I have to do it twice to mv or cp the file to a similarly deeply-nested directory.
     
  18. Thomas

    Thomas McLovin

    Reputations:
    1,988
    Messages:
    5,253
    Likes Received:
    0
    Trophy Points:
    205
    My server has a GUI, but that's because it is a media center as well.
     
  19. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    My home server is the same. It pulls everything from web server to media server. While I primarily work in bash, there are just some tasks you need a gui for and streaming video is one of them.
     
  20. ThinkLover

    ThinkLover Notebook Consultant

    Reputations:
    36
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    31
    mplayer can play a video without X :D
     
  21. silentivm

    silentivm Notebook Guru

    Reputations:
    48
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    15
    When I had a home server, it ran GUI-less, console-only and was accessed through SSH.
     
  22. KnightZero

    KnightZero Notebook Consultant

    Reputations:
    93
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    30
    My two linux servers now run Fluxbox for a single purpose - its much easier to manage BOINC via graphical rather than the command line. I deal with them mostly via SSH, though, and when I am in front of the monitor hooked into them, its CLI all the way.
     
  23. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    Thats great and all but can you run a windows 7 VM running slingbox and netflix (need to try it on wine) in bash? :p
     
  24. Jack

    Jack Guest

    Reputations:
    0
    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    And since when does a server need to run netflix? :p
     
  25. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    LoL like I said my home server does everything since I only have 2 computers. I even use it for a tv when we are in the office (netflix and slingbox). :p
     
  26. pinsb

    pinsb Notebook Consultant

    Reputations:
    18
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    30
    +1 l
     
  27. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    I don't use a GUI on my server. Only on my desktop machines. I still install X apps on the server though... ssh -X FTW. You can even set up a Cygwin+X install to tunnel apps to a Windows desktop if you want.
     
  28. ThinkRob

    ThinkRob Notebook Deity

    Reputations:
    1,006
    Messages:
    1,343
    Likes Received:
    2
    Trophy Points:
    56
    I sorta, kinda do.

    I use Deluge on my local machine to connect to the deluged instances on my seedboxes. :D
     
  29. ThinkLover

    ThinkLover Notebook Consultant

    Reputations:
    36
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    31
    And, ofc, you are using your seedboxes for seeding torrents of linux distros :p

    No doubts, my server is doing the same, thats why it's equipped with 2TB HDD.
     
  30. ThinkRob

    ThinkRob Notebook Deity

    Reputations:
    1,006
    Messages:
    1,343
    Likes Received:
    2
    Trophy Points:
    56
    Actually, yes. I see Linux ISOs, Creative Commons-Licensed films and music, and free-to-distribute game updates/mods.
     
  31. lupusarcanus

    lupusarcanus Notebook Consultant

    Reputations:
    244
    Messages:
    263
    Likes Received:
    0
    Trophy Points:
    30
    That's cool! :cool:

    But your upload speed is crazy. :eek: I can barely get 0.5 MB/s!
     
  32. ThinkLover

    ThinkLover Notebook Consultant

    Reputations:
    36
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    31
    Hah, looks like I've passed focusing test.
    I like your reply! :D

    BTW, rtorrent + some webui and you can get rid of X on your server.
     
  33. ThinkRob

    ThinkRob Notebook Deity

    Reputations:
    1,006
    Messages:
    1,343
    Likes Received:
    2
    Trophy Points:
    56
    What makes you think I'm running an X server on the seedboxes? ;)

    deluged is the only bit that's on the boxes. The GTK client is on my local machine -- I simply set up a tunnel to whichever seedbox I want to manage. I've tried rTorrent/ruTorrent a number of times. In my experience it's a lot more trouble than it's worth. rTorrent is somewhat unstable, plus I'd have to maintain the package myself (I run Debian on my seedboxes, although that's gonna change soon.) ruTorrent is stable, but buggy, plus I don't like the idea of having to expose the 'A' and 'P' parts of LAMP to the outside world just because I want a GUI. That increases the box's attack surface substantially, and I don't want that. They ain't cheap, and I don't want them being used to remind folks how they can score cheap Viagra.

    Oh, and that upload speed is nothing. Now that Slackware 13.37 is out, my boxes are a *lot* busier: 'ossbox' (the one in the picture) is averaging around 80-90 mbit/s sustained (that would be about 11 MB/s). :p The ones I've got with FDCServers resellers are a bit slower due to FDCServers' general policy of hitting their customers over the head with a bag of suck, but they're still doing about 40-50 mbit/s, mostly on the Slackware torrents. That'll die down in a few days, but then there's the Ubuntu release to seed...

    Back on topic, I try to avoid running X or anything like it on servers. I do, however, like daemons that use their own protocol(s) to let me connect a pretty GUI on another machine, especially when they're less chatty than X (and thus better equipped for use over an SSH tunnel).
     
  34. helikaon

    helikaon Notebook Consultant

    Reputations:
    269
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
    +1
    I'm at the boat where 'what works faster' for me is good. I have on my RHEL/CentOS servers always the X server present. But not running.
    Default runlevel is without X, but i can start it, run vncserver (ssh tunnel to it) or run mentioned ssh -X .... sometimes its good to have clickable tool handy, since its faster (in some special ocassion), with combination of 'vi' editor ... :)