LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2014, 10:28 AM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
adding KDE to "ubuntu server"


What are the pros and cons of adding full-blown KDE desktop to an Ubuntu server?

I have a power-house tower that I use for a workstation in my home office. There is lots of horsepower and features, but much of it is idle. I thought that I would configure server features and make them available to family and visiting friends or colleagues.

My workstation of choice is Linux Mint-XX KDE so I'm waiting for the Mint-17 KDE final release update. I'm thinking it will be easier to add full KDE to the Ubuntu 14.04 Server instead of trying to add server parts to either Mint-17 KDE or Kubuntu.

Thanks in advance,
~~~ 0;-Dan
 
Old 06-24-2014, 12:11 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by SaintDanBert View Post
What are the pros and cons of adding full-blown KDE desktop to an Ubuntu server?
in my opinion, a dedicated server should not even have a desktop, least of all such a fancy, bulky one as KDE. A text-based shell should be all it needs, typically accessed via ssh, rarely via a local console.

Quote:
Originally Posted by SaintDanBert View Post
I have a power-house tower that I use for a workstation in my home office. There is lots of horsepower and features, but much of it is idle. I thought that I would configure server features and make them available to family and visiting friends or colleagues.
Most contemporary PCs are vastly oversized for private or small office use (Why buy a faster PC? It'll just wait faster), so it seems natural to assign them one or the other extra task. Acting as a file server, intranet web server, or local mail server would be typical things.

Quote:
Originally Posted by SaintDanBert View Post
My workstation of choice is Linux Mint-XX KDE so I'm waiting for the Mint-17 KDE final release update. I'm thinking it will be easier to add full KDE to the Ubuntu 14.04 Server instead of trying to add server parts to either Mint-17 KDE or Kubuntu.
Honestly, I wouldn't use KDE deliberately. Too fancy, too playful, too heavy for my liking. But hey, your call.
As for the better approach: I think it's much easier to add some "server" functionality to an existing desktop than vice versa. What do you have in mind? What about dnsmasq, a combination of a DHCP server and a local DNS forwarder? Very quick and easy to set up. Or samba, the most frequently used file server? There are one or two tripwires about getting it to work, but it's not rocket science, either. You think of Apache to set up a local intranet? The setup is fairly easy. Same for its companions PHP and mySQL.
Installing and configuring a full-fledged desktop on a system that doesn't have one yet, however, is a tedious, awkward business.

So what are you planning, precisely?

[X] Doc CPU
 
Old 06-24-2014, 01:42 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
As far as I was aware Ubuntu "server" is just Ubuntu without Unity installed and a slightly more involved installer so that things like mdadm RAID are more easily recognised at install time?
Any desktop Linux install ought to be as easy to set up as a server as any "server" install as it's just a matter of installing the relevant servers as you would in a "server" install.
The only downside I can see to having a full blown desktop machine act as a server is that you're going to be using whatever idle power it needs 24/7 and is the reason I recently bought a Raspberry Pi which by my reckoning uses somewhere between 1/10 and 1/4 of what my desktop does.
 
Old 06-24-2014, 03:22 PM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by 273 View Post
Any desktop Linux install ought to be as easy to set up as a server as any "server" install as it's just a matter of installing the relevant servers as you would in a "server" install.
that's about what I was trying to express.

Quote:
Originally Posted by 273 View Post
The only downside I can see to having a full blown desktop machine act as a server is that you're going to be using whatever idle power it needs 24/7
Well, it depends. If you imagine a family-like community using that "server", there might be consent among them that everyone of the party might just turn on the so-called server when they need it, and shut it down later.

Quote:
Originally Posted by 273 View Post
... the reason I recently bought a Raspberry Pi which by my reckoning uses somewhere between 1/10 and 1/4 of what my desktop does.
That depends. It depends on whether you compare the power consumption of the mainboard/Pi itself (then the ratio would be even more extreme) or the entire system including peripherals. The Raspberry Pi itself runs at about 2W, while a decent contemporary mainboard easily burns about 100..150W. That's a factor of 50..75. If you include two HDDs, you're at about 160W for the desktop system and 12W for the Pi, still a ratio of almost 15.

The only really noticeable bottleneck is the lack of a Gigabit NIC on the Pi's behalf.

[X] Doc CPU
 
Old 06-24-2014, 03:32 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Doc CPU View Post
Well, it depends. If you imagine a family-like community using that "server", there might be consent among them that everyone of the party might just turn on the so-called server when they need it, and shut it down later.
Very true. I just thought it worth pointing out as it's something people don't always consider. There's the noise and heat of a PC also.
Quote:
Originally Posted by Doc CPU View Post
That depends. It depends on whether you compare the power consumption of the mainboard/Pi itself (then the ratio would be even more extreme) or the entire system including peripherals. The Raspberry Pi itself runs at about 2W, while a decent contemporary mainboard easily burns about 100..150W. That's a factor of 50..75. If you include two HDDs, you're at about 160W for the desktop system and 12W for the Pi, still a ratio of almost 15.

The only really noticeable bottleneck is the lack of a Gigabit NIC on the Pi's behalf.

[X] Doc CPU
I was being conservative and I do have an external USB drive on the Pi also. All I know is that since what I want is an always-on SSH/VPN/etc. type solution the extra electricity PC would use will pay for the Pi prettty quickly.
I suspect the "home NAS" solutions would give similar results for different loads.
As mentioned above -- it may not be relevant but it's something people sometimes forget.
 
Old 06-25-2014, 03:02 AM   #6
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by 273 View Post
I just thought it worth pointing out as it's something people don't always consider.
I guess you're right there. And even if they do, there's always a good chance of convenience kicking in after a while. From "You can leave it on, I'll need it in a few minutes" it's not a long way to "Ah, let's just leave it running, we'll need it again in the morning anyway".

Quote:
Originally Posted by 273 View Post
There's the noise and heat of a PC also.
Heat directly correlates with power consumption, and noise may be a negligible factor if the PC isn't exactly in a bedroom. Besides, there are machines that run very quiet - mine here, for instance, just emits a gentle rush of flowing air, but from a distance of two meters I hardly hear it any more. In the typical ambient noise of the day, that is. When it's totally quiet at night, I can even hear it in the adjacent living room.

Quote:
Originally Posted by 273 View Post
I suspect the "home NAS" solutions would give similar results for different loads.
Yes, probably - looking at the ratings of their power supply blocks. Typically 12V/1.5A or 12V/2A, which includes a little reserve, so we're at an average of roughly 10..15W.

[X] Doc CPU
 
1 members found this post helpful.
Old 06-25-2014, 09:24 PM   #7
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by 273 View Post
As far as I was aware Ubuntu "server" is just Ubuntu without Unity installed and a slightly more involved installer so that things like mdadm RAID are more easily recognised at install time?
Yes, that, and many of the traditional server suites are pre-installed and configured as well. NOTE -- A while back I played with Ubuntu Server and it seems that they ran 'tasksel' app during the install. For desktop *buntu, that does not happen unless you specifically load the package and run it.
Quote:
Originally Posted by 273 View Post
Any desktop Linux install ought to be as easy to set up as a server as any "server" install as it's just a matter of installing the relevant servers as you would in a "server" install.
...
Agreed! There is the 'tasksel' package and utility. There one selects various services from a user interface, packages are installed and configured. The services are the usual suspects like web browser, DNS, sendmail/procmail, server editions of SSH, FTP, DHCP and such.

So my options become:
  1. Perform a workstation install with some desktop environment and then use 'tasksel' or similar to add the various services I want.
  2. Perform a server install with the services that I want and then use 'synaptic' or similar to add my favorite desktop environment.
Both are equally trivial from a things to click and type perspective. Does anyone see reasons to prefer one over the other?

Thanks to all for the input,
~~~ 0;-Dan

Last edited by SaintDanBert; 06-25-2014 at 09:29 PM.
 
Old 06-26-2014, 01:00 AM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by SaintDanBert View Post
Agreed! There is the 'tasksel' package and utility. There one selects various services from a user interface, packages are installed and configured. The services are the usual suspects like web browser, DNS, sendmail/procmail, server editions of SSH, FTP, DHCP and such.
From my experience installing services through synaptic or using apt-get produces the same results as tasksel. I don't think tasksel does anything beyond telling the installer to add the packages required to the install. That's not to say it isn't useful but just that I don't think it adds much beyond what apt-get will give you.
 
1 members found this post helpful.
Old 06-26-2014, 01:31 AM   #9
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
I'd do it differently by installing the server and getting it doing what I wanted and then install a DE via either tasksel or via apt-get. I certainly wouldn't be putting KDE on it if the DE is just to do mundane graphical jobs however if you have a preference for KDE's native software then by all means install KDE. I'd probaby install FluxBox, MATE, or XFCE, depending on what I wanted the DE for. If it was just to have a DE I'd choose FluxBox, if I wanted more it would be MATE or XFCE depending on the native applications I wanted (XFCE has a few while MATE is really just a DE that you add applications to).
 
1 members found this post helpful.
Old 06-26-2014, 11:15 AM   #10
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by 273 View Post
From my experience installing services through synaptic or using apt-get produces the same results as tasksel. I don't think tasksel does anything beyond telling the installer to add the packages required to the install. That's not to say it isn't useful but just that I don't think it adds much beyond what apt-get will give you.
I "believe" that if one asks 'tasksel' for a mail server you get a bundle of packages. In contrast, 'synaptic' will happily install sendmail, procmail, and any other packages one at the time.

Regards,
~~~ 0;-Dan
 
Old 06-26-2014, 11:23 AM   #11
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by k3lt01 View Post
I'd do it differently by installing the server and getting it doing what I wanted and then install a DE via either tasksel or via apt-get.
My own thinking is starting to lean this way as well.
Quote:
Originally Posted by k3lt01 View Post
I certainly wouldn't be putting KDE on it if the DE is just to do mundane graphical jobs however if you have a preference for KDE's native software then by all means install KDE. I'd probaby install FluxBox, MATE, or XFCE, depending on what I wanted the DE for. If it was just to have a DE I'd choose FluxBox, if I wanted more it would be MATE or XFCE depending on the native applications I wanted (XFCE has a few while MATE is really just a DE that you add applications to).
To clarify my situation for those who are still following along, I have and use a power workstation for my home office work. I happen to prefer the world according to KDE. Since I have more cycles and other resources on the box than my work demands, I want to deploy "services" to the home-LAN for family, friends, and colleagues. In addition, I plan to deploy some services {eg -- a web server running WordPress™} so that I might learn more about them.

Thanks,
~~~ 0;-Dan
 
Old 06-26-2014, 11:39 AM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by SaintDanBert View Post
I "believe" that if one asks 'tasksel' for a mail server you get a bundle of packages. In contrast, 'synaptic' will happily install sendmail, procmail, and any other packages one at the time.

Regards,
~~~ 0;-Dan
Ah, yes, I did forget about that. I tend only to use tasksel to install SSH or, occasionally, Apache.
 
1 members found this post helpful.
Old 06-28-2014, 12:46 PM   #13
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
For those who might have little knowledge about 'tasksel':
Code:
prompt$  # open a shell or console window and type
prompt$  sudo  tasksel
...
...  an 'ncurses' graphical interface appears
...
  |    [ ] Basic Ubuntu server                                                      │
  │    [ ] OpenSSH server                                                           │
  │    [ ] DNS server                                                               │
  │    [ ] LAMP server                                                              │
  │    [ ] Mail server                                                              │
  │    [ ] PostgreSQL database                                                      │
  │    [X] Print server                                                             │
  │    [X] Samba file server                                                        │
  │    [ ] Tomcat Java server                                                       │
  │    [ ] Ubuntu Cloud Image (instance)                                            │
  │    [ ] Virtual Machine host                                                     │
  │    [ ] 2D/3D creation and editing suite                                         │
  │    [ ] Audio recording and editing suite                                        │
  │    [ ] Edubuntu desktop                                                         │
  │    [ ] Kubuntu Active                                                           │
  │    [ ] Kubuntu desktop                                                          │
  │    [ ] Kubuntu full                                                             │
  │    [ ] Large selection of font packages                                         │
  │    [ ] Lubuntu Desktop                                                          │
  │    [ ] Lubuntu minimal installation                                             │
  │    [ ] Mythbuntu additional roles                                               │
  │    [ ] Mythbuntu frontend                                                       │
  │    [ ] Mythbuntu master backend                                                 │
  │    [ ] Mythbuntu slave backend                                                  │
  │    [ ] Photograph touchup and editing suite                                     │
  │    [ ] Publishing applications                                                  │
  │    [ ] Ubuntu desktop                                                           │
  │    [X] Ubuntu desktop USB                                                       │
  │    [ ] Ubuntu touch                                                             │
  │    [ ] Video creation and editing suite                                         │
  │    [ ] Xubuntu desktop                                                          │
  │    [ ] Edubuntu live DVD                                                        │
  │    [ ] Kubuntu Active Remix live CD                                             │
  │    [ ] Kubuntu live CD                                                          │
  │    [ ] Kubuntu live DVD                                                         │
  │    [ ] Lubuntu live CD                                                          │
  │    [ ] Ubuntu Studio live DVD                                                   │
  │    [ ] Ubuntu live CD                                                           │
  │    [ ] Ubuntu live USB                                                          │
  │    [ ] Xubuntu live CD                                                          │
  │    [ ] Manual package selection                                                 │
  │                                                                                 │
  │                                  [OK]                                           │  
  │                                                                                 │
Using arrow keys, you move up-down in the list and press SPACE to select a "task".
Look in /usr/share/tasksel/*.desc for details about what happens for each
selected task.

Using the package name, you can ask 'tasksel' to explain some things
Code:
prompt$ sudo tasksel --task-packages openssh-server

python-six
python-chardet
python2.7
libwrap0
libpython2.7-stdlib
tcpd
python-requests
python-minimal
openssh-server
python-urllib3
libck-connector0
python
python2.7-minimal
ssh-import-id
ncurses-term
libpython2.7-minimal
libpython-stdlib
Once selected, you see an asterisk '*'.
NOTE -- I used an 'X' above to avoid confusion with the markup language used at LQ.

When all selections are completed, press TAB to select OK. Then press ENTER to launch the installation.

Regards,
~~~ 0;-Dan

Last edited by SaintDanBert; 06-28-2014 at 12:55 PM.
 
  


Reply

Tags
kde, server, ubuntu 14.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ubuntu] Adding "AR8131 Gigabit Ethernet" to live distro? littlebigman Linux - Software 1 02-26-2012 07:16 AM
[SOLVED] Adding PXE to a working DHCP server "pxelinux.0: Read-only file system" mrpurple Linux - Server 4 09-15-2011 07:50 PM
emerge kde-meta "die "econf failed"" on kde-base/kontact-3.5.9 Kruppe Linux - Laptop and Netbook 2 06-17-2008 05:45 AM
error "unable to load tty" after adding HDD to Ubuntu mrlankey0486 Linux - Hardware 3 04-27-2006 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration