Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I export the Linux Console (Virtual Terminals) via VNC using x11vnc?

0
Posted

Can I export the Linux Console (Virtual Terminals) via VNC using x11vnc?

0

Yes, you may need to be root to access the devices that make up the linux console. To access the active Linux console via the computer’s framebuffer try something like: x11vnc -rawfb console x11vnc -rawfb console2 These will try to access the framebuffer through /dev/fb (or /dev/fb0, etc.) and if it succeeds it will show any text or graphics that is currently displayed. Keystrokes will be injected via the device /dev/tty0 (to force an explicit virtual terminal append a number, e.g. “console2” to select /dev/tty2.) If your Linux system does not have a framebuffer device (/dev/fb) you can get one by adding, e.g., vga=0x31B boot parameter. This enables the VGA framebuffer device at 1280x1024x24. 0x317 gives 1024x768x16, etc. You can also enable a Linux framebuffer device by modprobing a framebuffer driver specific to your video card. Note that this “-rawfb console” mode shows the contents of the hardware framebuffer, and so will show whatever is on the screen. It has no concept of Virtual

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123