this post was submitted on 27 Mar 2024
19 points (85.2% liked)

Linux

48078 readers
844 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I installed x11vnc on Mint and it works fine as long as I have a monitor plugged into the server. I want to run the server without a monitor though. That apparently doesn't work with Cinnamon. I already bought a dummy plug to simulate a monitor but that seems clunky. Is there a better way? I'm also open to using a different VNC server or even a different distro (as long as it's not Ubuntu or Arch).

top 11 comments
sorted by: hot top controversial new old
[–] Khanzarate@lemmy.world 11 points 7 months ago (1 children)

According to The arch wiki, x11vnc operates differently than some other servers and is not capable of going headless. You'd need the dummy plug.

On that same page, though, it lists the alternative to x11vnc as Xvnc, and links to TigerVNC which is capable of going headless, and has an example config for going headless.

I haven't tested tigerVNC specifically, but it's known, so I expect this is the solution to your problem.

[–] Diplomjodler@feddit.de 1 points 7 months ago (1 children)

I tried to install TigerVNC but I got nowhere with it. Do you know any good guide or tutorial for seeing it up?

[–] gray@pawb.social 9 points 7 months ago

Using a dummy plug is perfectly normal for a lot of use cases, even in the enterprise. Generally if you can’t do virtual rendering (like RDP) then using a dummy plug is totally fine

[–] lurch@sh.itjust.works 5 points 7 months ago* (last edited 7 months ago) (1 children)

that's because x11vnc is an extension to an Xserver. what you need is either a standalone vncserver or a framebuffer Xserver that runs headless with x11vnc.

[–] Diplomjodler@feddit.de 4 points 7 months ago (1 children)

Care to elaborate? I have looked at various VNC servers but i haven't found usable documentation on setting them up.

[–] lurch@sh.itjust.works 1 points 7 months ago (1 children)

oh. i don't have mint, so i don't know the specifics, but usually you would install tigervnc (or tightvnc), set up a password, allow users, set up a per user startup file (containing a desktop environment or window manager to start) and start the systemd service (maybe you have to create a textfile service definition if mint didn't install one automatically).

[–] Diplomjodler@feddit.de 1 points 7 months ago (1 children)

Thanks. I've had some problems with TigerVNC. Do you know any good guide on setting it up?

[–] lemmyreader@lemmy.ml 1 points 7 months ago (1 children)

What problems do you have ? From the top of my head it is something like this :

  • Install the tigervnc-standalone-server deb package on your server

  • ssh in your server as your user and type : vncpasswd

  • Continue and type : vncserver

  • On your client connect via a vnc viewer software

This https://wiki.archlinux.org/title/TigerVNC doesn't read like an easy howto but could be useful.

[–] Diplomjodler@feddit.de 2 points 7 months ago

Cool. I'll try that tonight.

[–] beeng@discuss.tchncs.de 3 points 7 months ago

Not sure if it fits your use case, but I've been meaning to try this on my servers.

xrdp

https://www.digitalocean.com/community/tutorials/how-to-enable-remote-desktop-protocol-using-xrdp-on-ubuntu-22-04