LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-01-2005, 12:03 PM   #1
techsimian
LQ Newbie
 
Registered: Aug 2004
Distribution: Mandrake 10.0
Posts: 13

Rep: Reputation: 0
VNCView into non-headless, currently active screen?


Hi,

I've been playing around with VNC (TightVNC, specifically) for a day now, and I like it. It'll come in handy when I need to use my own Linux box when I'm stuck in a Windows cluster.

However, it's slightly annoying that I need to do this in order to activate it:

Code:
(have X stop running)
$ vncserver :0
(have a headless machine running)
Really, I don't want a headless machine that I can VNC into when I want to see what's on the screen. I need a Remotely Shared Desktop, which allows me to broadcast my desktop to a VNC client, while actually still being shown via the X server.

I looked at the KDE Desktop Sharing / Remote Desktop software and walkthrough here, and urpmi'd krfb (the rpm link on that page is dead; urpmi is the apt-get of Mandrake) - but it seems that the krfb version I got has moved on a bit, and it doesn't seem to work as described.

That page shows that you can definitely broadcast an X desktop that you're currently using, because the screenshot shows that the screen with VNCViewer on it is the one being broadcast.

However, even using VNCServer, VNCConnect and VNCViewer on my localhost (that is, not trying the KDE Remote Desktop idea), I get turned away when VNCViewer tries to connect:
Code:
# vncviewer 127.0.0.1:0
vncviewer: VNC server closed connection

# vncserver :0
A VNC server is already running as :0
I take it the VNC Server apparently running as display :0 is my X desktop (and not a display with VNC running on it afterall)

Netstat shows that nothing is listening on 5900, 5901, 5800 or 5801, so VNC is definitely not listening on :0 (or at all).

Any thoughts?

Edit: I forgot to mention, that I have been successful in having vncserver run as display :0, and then fire up X on another display, then use a VNCViewer to VNC into the :0 display as if I was VNC'ing remotely from another machine. But running two X sessions like that is - undesirable. Such a performance hit.

Last edited by techsimian; 02-01-2005 at 12:05 PM.
 
Old 02-01-2005, 04:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please understand that this behaviour is totally by design, it's just operating in a way that's not necesaily useful to your personal needs. use x11vnc instead.
 
  


Reply



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
going headless? the bishop Mandriva 5 06-24-2004 02:44 AM
headless server gravij Linux - General 2 06-06-2004 07:24 AM
"screen" for x windows? (headless windows) errh Linux - Software 0 06-03-2004 04:15 PM
Telnet/SSH screen stops responding after a while but the session is still active alllle Linux - Networking 4 05-04-2004 12:52 PM
Keeping my screen active Stephanie Linux - General 9 07-15-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 PM.

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