On Fri, 14 Apr 2017 02:02:19 -0500
Chris Kottaridis <chris...@quietwind.net> wrote:

> I have a Fedora 25 installation that was setup originally with server 
> installation and have since added gnome desktop package groups and
> others.
> 
> On the console I get a standard non-graphical login prompt and from 
> there I can type startx and get into gnome just fine.
> 
> I don't want to change that.
> 
> I do want to use VNC to connect in over net and run gnome. I have 

[snip]
 
> Before any of the exec lines those apps seem to be running.
> 
> Just no window manager.
> 
> Any pointers would be appreciated.
> 
> I want to keep the console with an ASCII login and then use startx to 
> get a GUI from the console, but I want to also be able to get a GUI
> via VNC

I have a script that I run in multiuser that allows me to select which
desktop I will use when I run startx.  It acts like a text greeter.
This is an edited version of what I have in that script that could be
used to always start Gnome.

XCLIENTS=/home/$USER/.Xclients

echo '*** Replacing existing ~/.Xclients or creating new one.'
echo '#! /bin/bash' > $XCLIENTS
echo ' ' >> $XCLIENTS
chmod +x $XCLIENTS
echo 'GSESSION="$(type -p gnome-session)"' >> $XCLIENTS
echo 'exec $GSESSION' >> $XCLIENTS
echo 'Starting X with Gnome...'
startx -- vt10  
exit 0

Perhaps you can adapt it to your needs.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to