[Arm-dev] Attempt to install Xfce by hand

Mon Oct 15 20:54:38 UTC 2018
Robert Moskowitz <rgm at htt-consult.com>

Added vncserver.  See below

On 10/14/18 9:43 AM, Robert Moskowitz wrote:
>
>
> On 10/14/18 9:34 AM, Robert Moskowitz wrote:
>>
>>
>> On 10/14/18 8:25 AM, Pablo Sebastián Greco wrote:
>>>
>>> Robert,
>>>
>>> El 14/10/18 a las 08:51, Robert Moskowitz escribió:
>>>>
>>>>
>>>> On 10/12/18 3:24 PM, Pablo Sebastián Greco wrote:
>>>>>
>>>>> El 12/10/18 a las 14:08, Robert Moskowitz escribió:
>>>>>>
>>>>>>
>>>>>> So I shouldn't rush out to do more testing.  I may have the group 
>>>>>> 'soon' and do it right?  I can afford to assign more time to my 
>>>>>> paid consulting right now!
>>>>> Please test as much as you can, I don't know how long it will take 
>>>>> me to add the groups
>>>>
>>>> So let's start afresh.  I edited the seemingly appropriate group 
>>>> xml files I picked up from the main Centos repo. First I built a 
>>>> clean install, did yum update, added the epel1 repo, and created a 
>>>> user. Then I installed the rpms from the X11 DE:
>>>>
>>>> yum install glx-utils initial-setup-gui mesa-dri-drivers 
>>>> plymouth-system-theme spice-vdagent xorg-x11-drivers 
>>>> xorg-x11-server-Xorg xorg-x11-utils xorg-x11-xauth xorg-x11-xinit 
>>>> xvattr tigervnc-server wayland-protocols-devel 
>>>> xorg-x11-drv-keyboard xorg-x11-drv-libinput xorg-x11-drv-mouse 
>>>> xorg-x11-drv-openchrome
>>>>
>>>> there was:
>>>> No package xorg-x11-drv-openchrome available.
>>>>
>>>> But that SHOULD be OK.  Then I installed the Xfce DE:
>>>>
>>>> yum install Thunar xfce-utils xfce4-panel xfce4-session 
>>>> xfce4-settings xfconf xfdesktop xfwm4 gdm leafpad openssh-askpass 
>>>> orage polkit-gnome thunar-archive-plugin thunar-volman tumbler 
>>>> xfce4-appfinder xfce4-icon-theme xfce4-power-manager 
>>>> xfce4-session-engines xfce4-terminal xfwm4-theme-nodoka 
>>>> xfwm4-themes pinentry
>>>>
>>>> No package xfce-utils available.
>>>> No package leafpad available.
>>>> No package xfce4-icon-theme available.
>>>> No package xfwm4-theme-nodoka available.
>>> Those 4 pkgs are also unavailable on x86. I don't know if you 
>>> tested, but I think you should test the steps in x86, and then 
>>> replicate them on arm
>>
>> I really don't have an x86 available for testing!  Just my notebooks, 
>> and I need those as they are...
>
> No screensaver tool listed in settings.  No background theme.  No 
> background theme is no biggie, but no screensaver control?

Setting up vncserver was easy.  The only thing to note is that the 
xstartup is for gnome.  Change as follows for Xfce:

# exec /etc/X11/xinit/xinitrc
exec  /bin/sh /etc/xdg/xfce4/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startxfce4 &

You have to first start vncserver so that you get the gnome xstartup 
file.  Then you edit it, stop vncserver, and restart it.  Very 
challenging.  See my bug: 633811

With no screensaver, the session never locks.  I went away for a 
doctor's appt and came back 2 hours later and still had the open, 
unlocked, vnc session.  Of course my notebook's desktop was locked.

I inserted a usb drive, and when I went to mount it, it polkit dialog 
asked for my password.  My user account is in group wheel.  I installed 
k3b, attached a usb CD/DVD writer, but k3b did not 'see' /dev/sr0 and 
threw an error.  These are selinux policy issues that I don't know how 
to adjust.

Anyway, I am putting Centos-arm work away and going back to Nethserver 
(which is still Centos-arm) until Pablo is able to make the necessary DE 
group(s).  Or someone else much more skilled than I.

And thanks Pablo for getting it this far along!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20181015/44aa531d/attachment-0006.html>