LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   VNC Server (https://www.linuxquestions.org/questions/linux-general-1/vnc-server-27537/)

rasejo 08-08-2002 11:16 PM

VNC Server
 
Hello,

I am using VNC3.3-- in a RedHat 7.3 environment. How can I make the server display XTerminals rather than having a copy of the gnome desktop, like in the previous versions.

BlackDogg 08-09-2002 03:37 AM

I too am trying to start a VNC server, i went by the directions from the VNC site:

http://www.uk.research.att.com/vnc/start.html

This is from the link above:

Running a Unix server
A VNC server appears, to the Unix applications which appear on it, to be a standard X display just like the one you sit in front of; but it doesn't have a physical screen attached. The applications don't know this. They just carry on running whether or not a viewer is connected, in the same way as they would regardless of whether you were actually looking at your physical screen.

You can start a new VNC server by typing:
vncserver on a Unix machine. (If you're sitting at a PC you may need to telnet to the Unix machine to get a command shell into which you can type this.) The vncserver program is a Perl script which you may need to edit to set up the directories appropriate for your local installation.

If you haven't run a VNC server before you will be prompted for a password, which you will need to use when connecting to this server. All your servers will use the same password, and you can change it at a later date using
vncpasswd With a normal X system, the main X display of a workstation called 'snoopy' is usually snoopy:0. You can also run as many VNC servers on a Unix machine as you like, and they will appear as snoopy:1, snoopy:2 etc, as if they were just additional displays. You can cause applications to use them by setting the DISPLAY environment variable to the VNC server you want, or by starting the application with the -display option. For example:
xterm -display snoopy:2 & Normally vncserver will choose the first available display number and tell you what it is, but you can specify a display number if you always wish to use the same one:
vncserver :2 Nothing will appear immediately as a result of starting a server. To see anything you need to connect a viewer to the server. See below. The server will generate a log in your ~/.vnc directory. If you have problems at this stage, see the full documentation and the FAQ .
Killing a Unix server
You can kill a Unix VNC server using, for example:
vncserver -kill :2

I followed the directions, and it seem to start, but then a few seconds later, my cable connection stopped. I then tried to connect from a winblows computer, and it would not see it all. Any body have any ideas? I'll include the actual error message when I try it out again later tomorrow.

rasejo 08-09-2002 03:58 AM

Thanks BlackDog!
The solution was by switching desktop. :) I was referring to an TWM desktop :)

BlackDogg 08-09-2002 04:10 AM

You're welcome rasejo!
Now if anyone can help me with my problem. Laff.


All times are GMT -5. The time now is 12:44 AM.