Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-28-2003, 02:12 PM   #1
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
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?
Old 09-28-2003, 07:43 PM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
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.
Old 09-29-2003, 02:42 AM   #3
Registered: Sep 2003
Posts: 48

Original Poster
Rep: Reputation: 15
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.
Old 09-30-2003, 07:41 PM   #4
Registered: Sep 2003
Location: Chicago
Distribution: Ubuntu
Posts: 36

Rep: Reputation: 15
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.
Good luck
Old 10-01-2003, 12:35 AM   #5
LQ Newbie
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
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
Old 10-01-2003, 02:49 AM   #6
Registered: Sep 2003
Posts: 48

Original Poster
Rep: Reputation: 15
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.
Old 02-18-2005, 07:59 PM   #7
LQ Newbie
Registered: Feb 2005
Location: Warwickshire, UK
Posts: 1

Rep: Reputation: 0
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Displays systemparadox Linux - Hardware 5 02-16-2006 03:34 PM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
How to get the x displays currently open? 95se Linux - General 3 09-11-2004 11:11 AM
VNC - Selecting different WindowManagers with VNC cmfarley19 Linux - Software 0 04-16-2003 02:30 PM
Switching between X displays Dark_Helmet Linux - General 3 02-15-2003 04:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration