Alright, I got it working now. I can get my Fedora 14 GNU log in screen remotely from the windows test computer using either TigerVNC or XMing. Here is what I did if anyone is interested.
First install vnc-server and xinetd
Code:
su -
yum install vnc-server
yum install xinetd
Here is the setup.
1. Configure XDMCP
Code:
su -
gedit /etc/gdm/custom.conf
make the file look like this
Code:
# GDM configuration storage
[daemon]
[security]
DisallowTCP=false
[xdmcp]
Enable=true
DisplaysPerHost=2
[greeter]
[chooser]
[debug]
2. Modify etc/services
Code:
su -
gedit /etc/services
make the 5900 section look like this. one vncxxxx line for each resolution you want to display. # out the vnc-server lines. each resolution will be a different port as you can see in the example.
Code:
ppsuitemsg 5863/tcp # PlanetPress Suite Messeng
ppsuitemsg 5863/udp # PlanetPress Suite Messeng
#vnc-server 5900/tcp # VNC Server
#vnc-server 5900/udp # VNC Server
vnc1440 5900/tcp # VNC and GDM
vnc800 5901/tcp # VNC and GDM
cm 5910/tcp # Context Management
cm 5910/udp # Context Management
3. Make a configuration file for each display resolution
Code:
su -
gedit /etc/xinetd.d/vnc1440
Make the files look like this. substituting your resolutions for each one change "geometry" and "depth" to match each remote machine.
Code:
service vnc1440
{
disable = no
socket_type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1440x900 -depth 24 -once -fp /usr/share/X11/fonts/misc -securitytypes=none
}
then
Code:
su -
gedit /etc/xinetd.d/vnc800
Code:
service vnc1440
{
disable = no
socket_type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 800x600 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none
}
and so-fourth
4. configure firewall (or turn off)
GUI method
Goto => System => Administration => Firewall
under the add ports tab
add 177, 5900, 5901, etc.
save configuration.
then I had to reboot to get everything working
5. install client on windows machine
on your windows machine download and install TigerVNC or Xming
Fedora 14 already has Remote Desktop Viewer in the applications menu, otherwise install another one of your choosing (if you want to connect from a remote Linux machine.
---------- Post added at 04:53 PM ---------- Previous post was at 04:27 PM ----------
note: Problems
1. I don't have sound on the remote machine
2. I cannot use su - while on the remote machine to run gedit, or any GUI programs. su - only works for commands in terminal.
3. cant mount removable storage if another user is logged in locally
4. when Xming or TigerVNC first make the connection, an error message "/usr/libexec/gconf-sanity-check-2 exited with status 256" comes up, but when you click close the log-in GUI comes up fine.
Any help with these would be appreciated.