Can I export the Linux Console (Virtual Terminals) via VNC using x11vnc?
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
- Can I connect via VNC to a Qt-embedded/Qtopia application running on my handheld or PC using the Linux console framebuffer (i.e. not X11)?
- How do I keep my mouse from going crazy (or going away) when switching between X and the Linux virtual console?
- Can I export the Linux Console (Virtual Terminals) via VNC using x11vnc?