DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th August 2019
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 267
Default Xfce4 desktop

Hello,
I just installed xfce4 desktop on openBSD 6.5 / amd64.
in super user mode the desktop starts well but in classic user mode without power I have an error that I do not understand.
here is my output:

Code:
[   561.675] (==) ModulePath set to "/usr/X11R6/lib/modules"
[   561.675] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[   561.675] (II) Loader magic: 0xe076b73a000
[   561.675] (II) Module ABI versions:
[   561.675]    X.Org ANSI C Emulation: 0.4
[   561.675]    X.Org Video Driver: 23.0
[   561.675]    X.Org XInput driver : 24.1
[   561.675]    X.Org Server Extension : 10.0
[   561.675] (EE)
Fatal server error:
[   561.675] (EE) xf86OpenWScons: cannot open /dev/ttyC4 (Permission denied)(EE)
[   561.675] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   561.675] (EE) Please also check the log file at "/home/phipo/.local/share/xorg/Xorg.0.log" for ad>
[   561.675] (EE)
[   561.685] (EE) Server terminated with error (1). Closing log file.
>> /home/phipo/.local/share/xorg/Xorg.0.log

Code:
[   561.675] (II) Module ABI versions:
[   561.675]    X.Org ANSI C Emulation: 0.4
[   561.675]    X.Org Video Driver: 23.0
[   561.675]    X.Org XInput driver : 24.1
[   561.675]    X.Org Server Extension : 10.0
[   561.675] (EE)
Fatal server error:
[   561.675] (EE) xf86OpenWScons: cannot open /dev/ttyC4 (Permission denied)(EE)
[   561.675] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Reply With Quote
  #2   (View Single Post)  
Old 10th August 2019
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 366
Default

You should have a look here : https://www.linuxquestions.org/quest...re-4175653099/
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #3   (View Single Post)  
Old 12th August 2019
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 267
Default

can someone tell me the answer on this forum
Reply With Quote
  #4   (View Single Post)  
Old 12th August 2019
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 199
Default

You could have looked yourself, but no matter.....

Quote:
Starting with OpenBSD 6.5 (quoting from the Upgrade Guide) ....
Quote:
The Xorg binary is no longer installed setuid, so startx(1) can no longer be used by non-root users. The xenodm(1) display manager has to be used instead.

To set it up:

# rcctl enable xenodm
# rcctl start xenodm

If you wish to customize X you need to create an executable .xsession file.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #5   (View Single Post)  
Old 14th August 2019
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 267
Default

thanks you bsd-keith,
now i want to start xfce4 desktop !
i have do :
1/ pkg_add -iv xfce4
2/ pkg_add -iv slim slim-themes
3/ Create a file called " .xinitrc" and add the following line into it. (not sure in the good place)
Code:
exec startxfce4
But the window manager loaded is FVWM !

How to start Xfce4 Desktop ?
Reply With Quote
  #6   (View Single Post)  
Old 14th August 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 413
Default

Quote:
hitest>I used to use startx. Now I use xenodm and quite like it. Here's my .xsession file for XFCE.
Code:
/usr/local/bin/startxfce4 --with-ck-launch
You need it in a .xsession file, in your /home/user dir,
Code:
exec startxfce4
Should work, you may need to created the .xsession file. I don't have xfce4 installed, but there should be some information in:
Code:
/usr/local/share/doc/pkg-readmes/
You really should read those, sorry I can not post them here,because I do not have xfce4 ,and the docs, but any way, also another site says:
Quote:
Then as user add an .xsession file with a line that will start consolekit so that you can shutdown &c from within xfce4.
Code:
$ cat .xsession
exec ck-launch-session startxfce4
The link LeFrettchen posted also mentions needing the .xsession file.
================= edited ===========

For KDE, the readme docs explained all of there configurations very clearly,I would expect the same can be applied to XFCE4, the readme docs are essential for configuring it correctly.
Quote:
jggimi >from:http://daemonforums.org/showthread.p...7265#post67265 Follow the instructions in the README, Garry. I mentioned it above. Like all other package readme files, you'll find it in /usr/local/share/doc/pkg-readmes/.
If you follow the README, you'll enable messagebus, and then you'll create a $HOME/.xsession file with the last line as shown in the README.
====== edit ====
Note: Just tried installing to a VM, and the readme docs have everything one should need. All I did is add this line to my .xsession file
Code:
exec /usr/local/bin/startxfce4

Last edited by PapaParrot; 14th August 2019 at 06:59 PM. Reason: removed some things that are not necessary, added note:
Reply With Quote
  #7   (View Single Post)  
Old 15th August 2019
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 267
Default

Thanks you very mutch PapaParrot,
Hum now i have problem with my Sun Blade 1500, i have try to install xfce4 desktop,
i do:
Code:
 usrv-raptor#  pkg_add -iv xfce4                                                                 
.....
.......
...........
Update candidates: quirks-3.124 -> quirks-3.124
quirks-3.124 signed on 2019-05-03T16:59:00Z
Can't find xfce4
usrv-raptor#
May be is not a good mirror of OpenBSD Distribution (6.5)?
Reply With Quote
  #8   (View Single Post)  
Old 15th August 2019
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 366
Default

There is no xfce4 package, just xfce.

Try
Code:
pkg_add -iv xfce
and if you want more
Code:
pkg_add -iv xfce-extras
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #9   (View Single Post)  
Old 15th August 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 413
Default

Just to calrify, this is what I installed:> xfce-4.12p10.tgz https://ftp.openbsd.org/pub/OpenBSD/6.5/packages/amd64/
But yes LeFrettchen is correct, "xfce4" will not work, "xfce" or the full name "xfce-4.12p10.tgz", is needed.
Reply With Quote
Old 15th August 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 413
Default

Oddly enough, and I suppose it could cause some confusion, the /usr/local/share/doc/pkg-readmes/xfce, says,
Quote:
Startup
=======
Xfce desktop environment is launched through the 'startxfce4' script.
Simply add '/usr/local/bin/startxfce4' to your .xinitrc/.xsession
script if you use startx, xenodm or slim.
If you use gdm or kdm, have a look at
https://wiki.xfce.org/faq#starting_xfce. An xfce4.desktop file is
provided for use by gdm.

Logging out and shutting down the computer ----snip---
So I see how that could be confusing, you do use xfce4 in the start up script, ...but not for installing the package.
You really should not use "startx", and the ".xinitrc" method, at least in my opinion, so to use xenodm, be sure it is enabled, etc. as mentioned earlier.
Reply With Quote
Old 16th August 2019
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 267
Default

Hello,
on my Sun Sparc64, I can not start my desktop light xfce4, I do not understand what deamon should I start!

For example :

Code:
# pkg_add gnome
# rcctl disable xdm
# rcctl enable multicast messagebus avahi_daemon gdm
# reboot
what is the deamon of xfce4?

Last edited by philo_neo71; 21st August 2019 at 08:02 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce4 issue philo_neo71 NetBSD Package System (pkgsrc) 6 28th May 2018 12:11 PM
xfce4 appearance mechanic OpenBSD Packages and Ports 4 15th December 2014 03:59 PM
OpenBSD xfce4 kaschei OpenBSD General 5 28th June 2009 08:45 PM
Xfce4 and desktop update [gamin problem] daemonFromHeaven FreeBSD Ports and Packages 7 7th September 2008 08:20 AM
XFCE4 on 7.0 TMD3 FreeBSD Ports and Packages 3 26th July 2008 03:22 AM


All times are GMT. The time now is 10:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick