• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install XFCE Desktop in OpenBSD

{{postValue.id}}

To install XFCE Desktop

Xfce is an open - source, fast, lightweight, user friendly software for Unix/Linux distributions. The procedures to install XFCE Desktop is explained in detail in this article.

To install the XFCE Desktop environment in OpenBSD, use the following command.
add_command
xfce
Then install the display manager as follows.
display manager

Configure the x window system

Create a file called " .xinitrc" and add the following line into it.

exec startxfce4

exec_startxfce4
Now create a file rc.local inside /etc/ directory to configure the system daemons.
Add the following lines into the file.

/usr/local/bin/slim -d

nano


Then create a file rc.conf.local under the /etc/ directory.
Add the following lines to the file.

pkg_scripts=" dbus_daemon avahi_daemon" 
dbus_enable=YES

 /etc/ directory
Reboot the system
7
After rebooting the Login screen appears. Enter the login credentials to proceed further.
login
desktop
Now, lets try to install some basic applications.

To install firefox

Run the following command to install firefox application into XFCE Desktop.

# pkg_add -iv firefox                                                           
Update candidates: quirks-2.241 ->  quirks-2.241
quirks-2.241 signed on 2016-07-26T16:56:10Z
firefox-47.0.1:mozilla-dicts-en-GB-1.3p1: ok
firefox-47.0.1:hunspell-1.3.2p2: ok
firefox-47.0.1:nss-3.24: ok
firefox-47.0.1: ok
Look in /usr/local/share/doc/pkg-readmes for extra documentation.
--- +hunspell-1.3.2p2 -------------------
Install mozilla dictionaries for extra hunspell languages.
e.g.
# pkg_add mozilla-dicts-ca 
Extracted 122645058 from 122646989


Then install thunderbird e-mail client.

# pkg_add -iv thunderbird                                                       
Update candidates: quirks-2.241 ->  quirks-2.241
quirks-2.241 signed on 2016-07-26T16:56:10Z
thunderbird-45.2.0: ok
Look in /usr/local/share/doc/pkg-readmes for extra documentation.
Extracted 110350235 from 110350597


Check to install VLC media player.

# pkg_add -iv vlc                                                              
Update candidates: quirks-2.241 ->  quirks-2.241
quirks-2.241 signed on 2016-07-26T16:56:10Z
vlc-2.2.4:libbluray-0.9.3: ok
vlc-2.2.4:libdvdcss-1.4.0: ok
&hellip 
&hellip 
&hellip 
vlc-2.2.4: ok
Extracted 209770142 from 209780087


Execute the below command to install Libre office.

# pkg_add -iv libreoffice                                                       
Update candidates: quirks-2.241 ->  quirks-2.241
quirks-2.241 signed on 2016-07-26T16:56:10Z
libreoffice-5.1.4.2p0v0:python-3.4.5: ok
libreoffice-5.1.4.2p0v0:libxslt-1.1.28p5: ok
&hellip 
&hellip 
&hellip 
libreoffice-5.1.4.2p0v0: ok
The following new rcscripts were installed: /etc/rc.d/saslauthd
See rcctl(8) for details.
Extracted 667101799 from 667111155

Tags:
jackson
Author: 

Comments ( 4 )

Destructo
Wow great guide and this worked great for me ................BUT BUT........ when i enter username and PW for root or as user it gives me a message : Failed to execute login command. i reboot and i get the logn window. how do i get back to terminal.
either way.. this was the best guide for me..thanks again!!
sorcerer
This post was helpful and I appreciate it. I have been using OpenBSD for several years I had some trouble on one of my machines getting this to work, I came upon some information that dbus and avahi perhaps have been replaced my messagebus. In rc.conf.local multicast_host=YES
pkg_scripts="messagebus"
xenodm_flags= # could use slim per your post, your choice
Then in the home folder craeted a file .xsession per the read-me
exec ck-launch-session startxfce4
This worked well.
Cheers!
dsobrinho
Very good and usefull post.
Thank you a lot.
shubers79
I installed OpenBSD 6.4 PPC on a 2005 iBook G4 with 1 GB RAM. After installation I set up networking (wifi etc) and started downloading nano-packages first. After that I followed this tutorial. XFCE 4.12 will download and install, as well as slim and slim-themes. However, installing XFCE4 there are a few small quirks that I've yet got to fix.
Command given: "pkg_add -iv xfce". Result is a list of added packages for xfce 4.12, as it's the current running version on openBSD. However, it'll state at the end not to be abled to install xfce-4.12p10 due to missing xfce4-terminal-0.8.7.4p0 and tumbler-0.2.3 packages. Upon careful scanning and searching, I've found out that the openBSD repository mirrors don't have those packages on them anymore. I wonder how to fix that?
Also: after rebooting, the system will use the graphical login and boot into xfce4 perfectly fine. The shutdown and hibernate buttons won't work though. I wonder if it's not working because I'm on a powerpc? Can they ever work on a powerpc?
And is there a way to install a package manager in xfce on openbsd, so that adding software becomes easier?
Which browsers of current date can be found and installed on openBSD and are there step-by-step guides available? Firefox and chromium are no longer supported by openBSD (since version 6.1) and hence I need an alternative. I'm asking for the guides, since it's my very first serious attempt at non Windows and non MacOS software on a dedicated platform. I do have some computer knowledge, but Unix/Linux at this level is new for me, so I should be considered Noob!
Any help will be greatly appreciated!
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Is this a Theme?

A

Not Just a theme It’s a Desktop environment which changes every things in the aspact of Design

Q

Is XFCE is a Theme?

A

Not Just a theme It’s a Desktop environment which changes every things in the aspact of Design

Q

Does it have an archive file extraction in XFCE?

A

Yes you can view and extract the archieve files

Q

Does it have a archieve file extraction?

A

Yes you can view and extract the archieve files

Q

How can I see a list of all the shortcut keys in XFCE?

A

Use the following command, which will produce a nicely formatted text list to standard output:



xfconf-query -c xfce4-keyboard-shortcuts -l -v | cut -d'/' -f4 | awk '{printf "%30s", $2; print "\t" $1}' | sort | uniq

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.