-   Linux - Software (
-   -   VNC and Displays (

drumltd 09-28-2003 02:12 PM

VNC and Displays
I've got VNC Server running on my RedHat9 box, and I'm accessing it from both a Win98 and Win2000 box with no problems.

However the Linux box is left running some long term software, and this has been done at the main display when I was sat at the keyboard. Now what I want to do is have a look at that display, and not a new one with nothing running. Is it possible to get VNC to work like it does on Windows to that you see the main display and not a new clean one?

Hangdog42 09-28-2003 07:43 PM


Is it possible to get VNC to work like it does on Windows to that you see the main display and not a new clean one?

Um, I think that is a pretty serious security breach, so in general X doesn't allow it. That said, if you are running KDE as your desktop, I do seem to remember there being a program called kdeshare that allowed you to do what you want.

What would be a better solution would be to run the long-term programs from VNC. As long as you don't shut down vncserver, the programs will remain running, even if you close the VNC window. As an alternative, if the long-term programs can dump output to a file, you could follow that with tail from a VNC window.

drumltd 09-29-2003 02:42 AM

The security isn't too much of a problem, as it is a private network, used only for testing ATM, but I recognise that in a real world enviroment things will be different, (but then I won't need to monitor the software in the same way)

Your other suggestions are most helpful, as usual abit of lateral thinking gets me round the problem, when I next restart the job, I'll do it from within VNC server.

Coldmiser 09-30-2003 07:41 PM

If possible, you may also want to put some logging into your application so if you are unable to get to your desktop session, you might beable to SSH into the box and look at your logs.
:D Good luck

mmunro 10-01-2003 12:35 AM

I have the same problem i need to view the active session of redhat9 VNCserver box.

Theres got to be someway of viewing the desktop of a VNC server like windows tightvnc does.

i need this to be done so i can demonstrate a procedure to a employee across my companies WAN

drumltd 10-01-2003 02:49 AM

My App does create a log file aswell, but it also prints a much more summarized log to screen, so that I can watch what's it's doing without trawling through the large log files.

I'm told outside this forum that there maybe a version of VNC that does what I'm after, but nobody can remember the name, I'll let you know if I find it.

ragnampiser 02-18-2005 07:59 PM

I have a similar set up - a media player playing mpeg4 files on a Redhat 9 Linux system.

I want to be able to see what I'm playing remotely on a Win XP Pro PC with a VNC viewer - the connection is ok but I get a blue screen on the
viewer when I connect to the Linux set up.

The player is currently started with xinit and I am using the builtin vnc module of XFree86 to act as the server for remote connection.

Could you please tell me how you configured vncserver to enable viewing of the native X display ?

Best Regards


All times are GMT -5. The time now is 02:52 AM.