Re: VNC Server Question



On Thu, 2006-03-23 at 15:14 -0800, Ed Smith wrote:
Hi All,

Still kind of new to Linux, trying to set up VNC Server so I can access the
machine remotely from Windows. My /etc/sysconfig/vncservers file looks like
this, currently:

VNCSERVERS="1:ed"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"

So far when I connect all I get is a grey screen with a terminal window.
I've also tried commenting out the lines in the vncservers file and
launching the vncserver from command line with the following command:

vncserver :1 -name ed -depth 16 -geometry 1024x768

When I connect with the VNC client I see the same display. I'd really
appreciate if someone would tell me what I'm doing wrong. Thanks in advance!
----
2 files in your home directory - 1 file in your home/.vnc directory
# cat /home/craig/.Xclients
#! /bin/bash

# Created by Red Hat Desktop Switcher

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
exec $HOME/.Xclients-default
fi


# cat /home/craig/.Xclients-default
#!/bin/bash
# (c) 2001 Red Hat, Inc.

WM="gnome-session"
WMPATH="/usr/bin /usr/X11R6/bin /usr/local/bin"

for p in $WMPATH ; do
[ -x $p/$WM ] && exec $p/$WM
done

exit 1

# cat /home/craig/.vnc/xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#gnome-session &

Craig


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • 8.5 Windows XP "exec &"--mSoft Word and Adobe PDF hang (not Firefox)
    ... strings in the Windows registry. ... The app comes up, the file even loads, but then I get the hourglass, ... then 2) when the tclsh is exited, a Word window comes up, ...
    (comp.lang.tcl)
  • Beta testers wanted
    ... We are just finishing a new version of our PTvnc software, ... PTvncWM5, which is compatible with PocketPC 2003SE ... A Windows VNC server is supplied with PTvnc and there ...
    (microsoft.public.pocketpc.developer)
  • tk_exec and exec (mixed results)
    ... only problem is windows catches the error first and displays the ... I HATE the way exec renders the windows when you move things. ... name "lwchildsite" is not a component ...
    (comp.lang.tcl)
  • Re: Windows 2000 and XP and exec and double quotes
    ... There are problems with [exec] on Windows but not with filenames ... How do you call and which filenames exactly give you problems? ... Windows filenames can not contain quotes. ...
    (comp.lang.tcl)
  • RE: Xvnc server.
    ... I try to run exec /etc/X11/xinit/xinitrc ... Subject: Xvnc server. ... I've never set up vncserver like this, but if your windows vncviewer is ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)