Ubuntu – Killing X-related processes when CrashPlan is running

backupUbuntux11xorg

I am currently running Ubuntu Server 12.04, but this applies to all flavours of Linux really.

This server does a bunch of things and is controlled remotely via ssh. Some time ago I have installed XFCE for those times when I didn't really feel like commandlining or to speed up some program configuration. It's off most of the time and I only launch it when I need it.

Today I installed CrashPlan to have my other computers on the network backup to the server. For those of you who don't know it, CrashPlan comes with two services, one is the actual backup engine and one is the GUI. So I installed in on the server, launched the GUI to configure it and then killed X (sudo service lightdm stop).

But now every time I try to login remotely with RDP from my Windows machine (xdrp is installed on the server) I am able to connect graphically to the server, which means that all the X-related processes are still running.

What have I forgotten? Is it possible to stop running the CrashPlan GUI service and have it never start anymore?

Best Answer

What makes you think X-related processes are still running? When you log in remotely xrdp (re-)connects you to your GUI environment. If you don't have one running already then xrdp-sesman will cause a GUI environment to get initialized. (If you want to prevent that you could sudo service xrdp stop although it will likely come back on re-boot unless you prevent that.)

Why not just ssh into the Ubuntu server and do a ps -ef to assure yourself that no processes are running that you do not expect? In the case of CrashPlan you would see CrashPlanService all the time but you only see CrashPlanDesktop if the GUI is running.

Related Question