Hi Andrew, Sorry for the delay in answering. Basically, you need to do two steps to get this working. Firstly, you need to set up VNC to work with inetd/xinetd. If you've got inetd then you need to edit two files, adding the following. /etc/services: vnc-640x480x8 5950/tcp # VNC server at 640 x 480 8 bit colour /etc/inetd.conf: (all one line) vnc-640x480x8 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query dcomp2 -once -geometry 640x480 -depth 8 or if you have xinetd, create the file /etc/xinetd.d/vnc: service vnc-640x480x8 { flags = REUSE socket_type = stream protocol = tcp port = 5950 wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query hostname -once -geometry 640x480 -depth 8 log_on_failure += USERID disable = no } Then restart inetd/xinetd. Obviously, you would replace hostname with your hostname. This then lets you connect to your Linux box using to 'hostname:50' and have inetd start up a VNC server for you. If you do this, you will see the normal gray background, because you have not configured your xdm to respond to remote requests. To do this, you need to edit some files in /etc/X11/xdm. In the file xdm-confug, below the line: DisplayManager._0.setup: /etc/X11/xdm/Xsetup_0 add the line: DisplayManager.*.setup: /etc/X11/xdm/Xsetup_workstation and then uncomment the line: DisplayManager.requestPort: 0 Then copy Xsetup_0 to Xsetup_workstation. In the file Xaccess, uncomment the line: * #any host can get a login window Then, reset X - I do it by switching to runlevel 3 and then back to 5: init 3 (pause) init 5 You should now be able to connect using hostname:50 and see a xdm/kdm/gdm logon whichevery your box is configured to use. Personally, I've set up a few services, using ports 5950 5951 5952 etc, to provide different resolutions and colour depths. For example I use gary:52 to connect at 1024x768 depth 24. Gary On Sunday 09 September 2001 9:23 pm, you wrote:
Windows and Mac. Another possibility is VNC. You can get a VNC viewer to run on Linux, Windows, and (I think) the mac. You can configure your Linux box to run VNC servers to behave exactly like X does, using XDMCP to give you the GUI login etc.
Should have read :
I am *very* interested in this, as I have had absolutely no luck with getting , say, a KDM login screen. If you have, could you let me have a copy of your xstartup file, please? I have only ever managed to get a **post-login** screen for a given user.
Crap-typist, sorry.
Thanks in advance
Andrew (Schools / Technical)
-- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
participants (1)
-
Gary Stainburn