this post was submitted on 19 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

(Sorry for the incredibly noob question. I'm trying to figure what is possible before buying some parts, which is why I'm asking instead of just trying it out myself.)

I am planning to make a server out of a few old PC parts. I'll mostly be using it for two purposes:

(1) Serving media, cloud storage and a few other services to my devices.

(2) As a media center for a home cinema setup.

Of course, since (1) implies it will be running 24/7, I'm trying to be mindful about power consumption. One of the ways I've planned to do that is by keeping the setup headless until I actually want to use it as in (2), when I'd like to be able to launch a graphical session (for the sake of the argument, let's say in Ubuntu).

Now my question is: is there any way to launch an X session (again, simplicity, let's say I plug in a keyboard and type a command) and exit it without needing to restart the server? For example, if someone else is using the server to watch something in their own laptop, I wouldn't want to restart the server just to watch something in the home cinema.

My intuition tells me that simply running startx should not kill the existent session, is this correct?

you are viewing a single comment's thread
view the rest of the comments
[–] XeliteXirish@alien.top 1 points 11 months ago (3 children)

Why don't you just use plex for 2? Then keep the server always headless and the power consumption will be minimal?

[–] Zealousideal_Cook704@alien.top 1 points 11 months ago (1 children)

I don't think I understand what you mean by plex for 2.

[–] XeliteXirish@alien.top 1 points 11 months ago (1 children)

Plex or Jellyfin can act as your media server and stream direct to your TV. No need to have a graphical interface running on the server at all. Also has the benefit of being able to access the content anywhere.

[–] Zealousideal_Cook704@alien.top 1 points 11 months ago

Yes, I know this, but this not relevant to my question. I don't have a TV, the server is the playing device.

load more comments (1 replies)