These are some of my notes for vnc-server on f18
Notes: I have been unable to use gnome on remote server
01. yum groupinstall xfce-desktop
on the remote computer
02. yum install tigervnc, tigervnc-server
on the remote computer
03. vnc server configuration
su -
cd /lib/systemd/system
cp vncserver@.service
vncserver@:1.service
edit the file
vncserver@:1.service
replace <user> in the two lines with the userid
that will be used to sign on to the vnc server.
04. copy or move the modified file
vncserver@:1.service
to /etc/systemd/system/
systemctl daemon-reload
systemctl --system daemon-reload
systemctl enable
vncserver@:1.service
systemctl start
vncserver@:1.service
05. sign on to the vnc-server computer with the
userid specified in the
vncserver@:1.service
run the vncpasswd commmand to setup a vnc
password.
vncpasswd
06. before signing into the account assuming gnome
is the default session change it to xfce.
07. cd /home/user/.vnc
create a file called xstartup assuming there is no
existing such file.
touch xstartup
chmod +x xstartup
08. sample xstartup file
vncconfig -iconic -nowin &
unset SESSION_MANAGER
export VNCSESSION="TRUE"
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
#xterm -geometry 80x24+10+10 -title "$VNCDESKTOP" &
#fluxbox &
/usr/bin/xfce4-session &
09. Change firewall on vnc-server computer to allow
access to the vnc-server port 5901
10. Now back on the computer that wants to access the
vnc-server start the application remote desktop
click the connect icon
protocol should be vnc and on the host line enter
the ip address of the vncserver followed by colon
and 1.
Example:
192.168.1.50:1
you will be prompted for the vnc password
and then probably the xfce screensaver password