VNC to FC3/4 onto console

Posted on 2006-03-25
Medium Priority
Last Modified: 2013-12-16
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.



Question by:arakis
LVL 22

Expert Comment

ID: 16289225
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:



LVL 51

Expert Comment

ID: 16289344
> .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

Expert Comment

ID: 16290316
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:

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).

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

LVL 51

Expert Comment

ID: 16290413
> .. you didn't get the splash screen ..
you need to have xdm run with VNC enabled also, for obvious reason :)
LVL 22

Expert Comment

ID: 16290779
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.

LVL 22

Accepted Solution

pjedmond earned 500 total points
ID: 16292755
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


Author Comment

ID: 16298416
Thankyou all for your help.

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

Thanks again,


Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 18 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question