On 25/01/14 10:52, Bob Goodwin - Zuni, Virginia, USA wrote:
On 23.01.2014 22:14, poma wrote:
> 1.
> Log in
>
> 2.
> Print the file name of the terminal:
> $ tty
> /dev/tty1
>
> 3.
> Log in as root:
> $ su -
>
> 4.
> Set the default target to boot into:
> # systemctl set-default multi-user.target
>
> 5.
> Check the default target:
> # systemctl get-default
> multi-user.target
>
> 6.
> If you haven't already,
> Switch to/Start the multi-user.target(systemd) pka "runlevel 3" (SysV):
> # systemctl isolate multi-user.target
>
> 7.
> Make a copy of the 'startxfce4' script:
> # cp /usr/bin/startxfce4 /usr/bin/startxfce4-from-non-graphical
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 8.
> Edit the 'startxfce4-from-non-graphical' script:
> at the end of the line 118, add the following expression:
> " -- vt01"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> 9.
> The difference between these two scripts:
> # diff /usr/bin/startxfce4 /usr/bin/startxfce4-from-non-graphical
> 118c118
> <- exec $prog /etc/xdg/xfce4/xinitrc $CLIENTRC $SERVERRC
> ---
> -> exec $prog /etc/xdg/xfce4/xinitrc $CLIENTRC $SERVERRC -- vt01
>
> 10.
> Log out from root
>
> 11.
> Start the Xfce session:
> $ startxfce4-from-non-graphical
>
> 12.
> You are now logged in the Xfce session,
> with a significant difference from before, …
>
> $ loginctl list-sessions
> SESSION UID USER SEAT
> 1 1000 poma seat0
>
> 1 sessions listed.
>
> Now (via 'startxfce4-from-non-graphical' script):
> $ loginctl -p Active -p State show-session 1
> Active=yes <--
> State=active <--
>
> Before (via 'startxfce4' script):
> $ loginctl -p Active -p State show-session 1
> Active=no <--
> State=online <--
>
> In this way you start the Xfce session outside the domain of the display
> manager, like you did before and your concern regarding the handling of
> authorization(polkit) should be resolved. ;)
>
> Certain steps of the whole process can be done differently, but what is
> certainly the most important, is the eighth(8.) step!
>
>
> poma
>
>
> In addition;
>
> Essential elements of the configuration:
> tty1 -> vt01
> tty2 -> vt02
> etc.
>
> X - vtXX use the specified VT number
> i.e. use the "same" VT number as is the terminal you logged in(tty1).
>
Poma, once more I am impressed by your knowledge! And I thank you for
your patience and the time it took to write that instruction.
It works on the F-20 Virtualbox VM, next to try it on the original
F-20 on the other hard drive. This hard drive is near full and I want
to use the larger one that F-20 is on.
I find it more practical to use Virtualbox than VMware with Linux
since getting VMware to work after a kernel update is always a problem
in finding the required patches. I regret having spent the money for
VMware ...
Again, thanks,
Bob
Poma:
I've done the same to the original Fedora-20 install on the second hard
drive and all is happiness and light once more!
Many thanks,
Bob
--
http://www.qrz.com/db/w2bod
Box10 Fedora-20/64bit Linux