VNC to FC3/4 onto console

Heya All.

How can I configure VNC on a FC/RH server in such a way that a client PC can VNC to server and view the console display (.ie. if I want to see what soemone else is doing on the server locally?

Hope above makes sense.

TIA

A.

arakisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pjedmondCommented:
As you've discovered, the console desktop is nominally display:0. Normally you cannot access this using a vnc client. However, there are solutions:

You can make sure that the normal login is in fact to a vnc server:
http://www.linuxjournal.com/article/5499 - messy, and I don't like it.

There used to be something called xb0rfserver or solthing similar, but it now appears that the modern equivalent is x for vnc:

http://xf4vnc.sourceforge.net/doc.html

HTH:)

0
ahoffmannCommented:
> .ie. if I want to see what soemone else is doing on the server locally
you mean doing on the remote tty console, or connected to the reomte mashine with X?

If you mean X, then simply use
  xwd -display x:x -root

man xwd xpr xgrabsc
0
leisnerCommented:
I never got xf4vnc working...

On recent X implementations you can export the X desktop...

I can't find it now, but you loaded a module and did some magic to your X configuration file --
I got it working but the performance was abysmal.

These seems to be a new solution I haven't looked at yet:
http://www.karlrunge.com/x11vnc/

One of the problems I saw with the X configuration file implementation (and I think kde desktop
sharing used it) was it only worked after someone logged in...you didn't get the splash screen
exported from vnc...if you want to see if someone is logged in, just do ps... ;-)

I may look at this program this weekend -- I've wanted a good way to export my console for a long
time (I run a vnc session at startup, and when I want to run X on th elocal machine, I run vncviewer inside X...this is so I can get to the session from various laptops around the house).

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

ahoffmannCommented:
> .. you didn't get the splash screen ..
you need to have xdm run with VNC enabled also, for obvious reason :)
0
pjedmondCommented:
Guess what! - in the rpm package (vnc-server) shipped with RHEL4 (and I guess also part of the FC3 disto), there is a binary called /usr/bin/x0vncserverwhich enables you to connect to the console in exactly the same way as you would for a vnc server on a windows platform.

Worksv much like mentioed in x11vnc above.

HTH:)
0
pjedmondCommented:
Bit more research...:

vnc 4 is the package that includes x0vncserver. Available from http://www.realvnc.com

The man entry is a little sparse :

x0vncserver -h

gives more details.

Once logged in to the console:

x0vncserver -display=1 PasswordFile=~/.vnc/passwd

makes the console appear as vnc server on display :1





0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arakisAuthor Commented:
Thankyou all for your help.

Have accepted pjedmond response as answer as gives me exactly what I was after!

Thanks again,

A.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.