On 07/23/2014 02:08 AM, Michael D. Setzer II wrote:
On 23 Jul 2014 at 1:47, Robert Moskowitz wrote:

Date sent:              Wed, 23 Jul 2014 01:47:37 -0400
From:                   Robert Moskowitz <r...@htt-consult.com>
To:                     Community support for Fedora users
<users@lists.fedoraproject.org>
Subject:                vnc not into gnome but Xfce but still not working
Send reply to:          Community support for Fedora users
<users@lists.fedoraproject.org>
        > OK.  I believe I figured out what is wrongish.
I normally run gnome, so in my ~/.vnc/xstartup I have:

exec gnome-session &

as the last line.  But this fedora 20 arm system is running Xfce! So
after a quick google search, I changed that to:

exec xfce4-session &

But still I get vnc having a blank screen.  That no desktop is running
in vnc.  /var/log/messages says:

............


What exactly do you have in the /home/user/.vnc/xstartup file

Mine is as follows
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec  /bin/sh /etc/xdg/xfce4/xinitrc #   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" &
startxfce4 &
#twm &


Note: The change in the xinitrc to use the xfce4 and the startxfce4 &
Mine is quite different. This is created by tigervnc-server with only the last line changed by me:

.vnc]$ cat xstartup
#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec xfce4-session &


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to