On 4/14/2017 12:38 PM, stan wrote:
On Fri, 14 Apr 2017 02:02:19 -0500
Chris Kottaridis <chriskot@xxxxxxxxxxxxx> 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
I think I need to be more careful as I might have interchanged startx
and xstartup. When I log into the console via an ASCII login I can run
startx and everything is fine.
When vncserver starts it runs the xstartup script, and I know it is
indeed running that because I can see output differences as I make
changes. It just doesn't seem to be getting a Window Manager going
Thanks
Chris K
Perhaps you can adapt it to your needs.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx