LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-08-2002, 11:16 PM   #1
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Rep: Reputation: 15
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.
 
Old 08-09-2002, 03:37 AM   #2
BlackDogg
Member
 
Registered: Jul 2002
Location: Los Angeles
Distribution: RedHat 7.3, SuSe 8.0
Posts: 71

Rep: Reputation: 15
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.
 
Old 08-09-2002, 03:58 AM   #3
rasejo
LQ Newbie
 
Registered: Aug 2002
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks BlackDog!
The solution was by switching desktop. I was referring to an TWM desktop
 
Old 08-09-2002, 04:10 AM   #4
BlackDogg
Member
 
Registered: Jul 2002
Location: Los Angeles
Distribution: RedHat 7.3, SuSe 8.0
Posts: 71

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


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC server Swift&Smart Linux - Software 0 06-30-2004 11:52 PM
VNC Server linuxguru Linux - General 5 09-21-2003 09:02 AM
VNC server Kocil Mandriva 2 08-22-2003 07:25 AM
VNC on a server RedHat123 Linux - Security 1 09-30-2002 10:41 AM
VNC server niamor Linux - Networking 1 09-23-2002 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration