Re: VNC Window Manager won't start

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

 



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

Perhaps you can adapt it to your needs.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux