Re: VNC Server Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux