Sharing X sessions via VNC
"Beerse, Corné"
cbeerse "at" hiscom.nl
Tue Jun 18 08:40:02 2002
> -----Original Message-----
> From: Andrew Falanga [mailto:afalanga "at" linora.com]
> Is there a way to configure the X window system to allow incoming
> connections to the default X session ie. session 0? I cannot allow
An easy config, acceptable for most unix variant:
Don't start the X login from boot (linux RedHat: runlevel 3)
Then login at the console
start vncserver with: `vncserver :0`
If needed, start the X environment: `startx` or `startx -- :1`
If needed, start the vncviewer at the console ($DISPLAY is :1) to :0.
Dedicated to XFree: http://xf4vnc.sourceforge.net/ This hooks with XFree 4.2
Dedicated to the framebuffer console device:
http://www.hexonet.de/software/x0rfbserver/ This hooks to the framebuffer
device, should also be capable of getting the text console. This one should
be able to build and run on Linux (2.4, with framebuffer), HP-UX,
SunSolaris.
> multiple sessions to run as memory is not limitless on the box in
> question. Also, I have read through the web site, but I really don't
> want to install secondary protocols to get this to work. I'd like to
> know if there's a way to allow this through vnc. My boss has told me
> that there was an article in an issue of Linux Magazine, or perhaps
> Linux Journal, that covered this, but so far I've been less than
> successful at recoving that article.
You should be able to exchange the currently installed X (XF86) with Xvnc.
This leaves the terminal in text mode (if at all) and automatically starts
Xvnc with display :0...
CBee