Click to See Complete Forum and Search --> : VNC


Wazza
04-30-2001, 11:31 PM
I am trying to get VNC running on a Mandrake 7.2 install.
I can get the server to run, but when I login via remote veiwer, after server name & password are accepted I end up with a grey desktop and no access.

Any ideas

Ashcrow
04-30-2001, 11:55 PM
I remember when I tried installing VNC ... I had to read the faq's and manuals a few times before it made sense. It's pretty sweet though when it is up and running :-).

miker
05-01-2001, 02:43 AM
dunno if this is related, but under SuSE/KDE2 I tried to get Keystone working (the KDE VNC viewer) but just got a grey screen as you describe.

Now I just use the simple VNC binary (standalone, from a gzip so runs from anywhere) and it all works fine. I use it to keep an eye on my NT servers.
http://www.uk.research.att.com/vnc/download.html

bdg1983
05-02-2001, 07:39 AM
You could try this suggestion from Caldera's knowledgebase.

I would like to use XDM to provide X services to remote clients. How is this accomplished?

Solution:

Setting up the server side of things
Edit the /etc/X11/kdm/Xaccess file to include one of the following (no quotes):
"* CHOOSER BROADCAST"
This will set the server up as the machine that queries the network for other machines that can serve XDMCP connections. This server will not actually be doing the serving of XDMCP; it will only act as a proxy that finds other machines that can provide this service.


"* CHOOSER %HOSTS"
This will do the same as the first option, but will only query the machines in a pre-defined list called "%HOSTS". If this option is used, earlier in the Xaccess file you must have a definition of this list that looks something like this:

%HOSTS host1 host2 host3 host4 host5 \
host6 host7 host8

(Note that there is nothing special about the name "HOSTS"; you can change it to "GEORGE" and precede it with a "%" and it'll have the same affect, as long as "%GEORGE" is used in the "CHOOSER" line above.)


"*"
This will open up the server to connections from any client on the network. No "chooser" menu will be assembled; if this machine receives a request from a client, it will simply start an XDMCP session.

Note that in each of these cases, "*" could be replaced by an individual machine name or a wildcarded name spec (i.e. dhcp*.calderasystems.com) if the scope of supported machines needs to be limited.


Edit the /etc/X11/kdm/xdm-config file to include the following line:
DisplayManager*chooser: /usr/X11R6/bin/chooser

Make sure KDM is running on the server after all of this is done. Restart the X system if necessary. Note that all XDMCP capable servers that you would like to appear in the chooser menu for clients will have to have at least a "*" line in its /etc/X11/kdm/Xaccess file. Only set up one server as a "chooser" (using the instructions above), and have clients always query that one "chooser" machine for a menu of XDMCP capable servers.

Setting up the client side (with X not currently running):
Start an X connection using one of the following commands:
"X -indirect chooser_server"
This will query "chooser_server" for connections, and if everything is set up correctly on that server, the client will see a chooser menu. Again, if a server is set up as a chooser, it can not serve XDMCP services; all it will do is assemble a menu of machines and send it to a client that starts X using the command above.


"X -query server"
This will query "server" directly for an XDMCP session. Note that "server" should not be set up as a chooser using the instructions listed earlier. Its Xaccess file should have a line that permits access from the client, whether the line is nothing more than the client's full machine name, or simply an "*" which opens the server to queries from any machine on the network.


"X -broadcast"
This will broadcast a plea for XDMCP connections over the entire network, and the first server that responds will offer a login prompt to the client. It's possible that each time X is started this way, a different server will end up providing the XDMCP services.

Multiple X displays
Finally, you can run multiple versions of X on different virtual terminals by specifying a number corresponding to the next X console, starting with 1. For example, the following code would start X on the first X console with the display provided by servername.
X :1 -query servername

And to start on the second X console:
X :2 -query secondservername

Please note that opening up multiple remote X displays in this way can generate a lot of traffic on your network and should be used with discretion.