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).

11 points

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.

permalink
report
reply
1 point

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

permalink
report
parent
reply
2 points
9 points

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

permalink
report
reply
5 points
*

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.

permalink
report
reply
4 points

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

permalink
report
parent
reply
1 point

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).

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
3 points

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

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 9K

    Monthly active users

  • 5.6K

    Posts

  • 154K

    Comments