User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

How to start xfce/lxde ?

Wed Oct 03, 2012 2:58 pm

Hello

How can I start XFCE4 or LXDE from text mode?
Cogito ergo sum


User avatar
billb
Posts: 177
Joined: Wed Sep 19, 2012 10:27 pm

Re: How to start xfce/lxde ?

Wed Oct 03, 2012 5:38 pm

Or startxfce4 for xfce4 (if you've installed it already).

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 6:01 am

$ startxfce4
$ startx

worked
but when I logged out it showed errors.
Where can I find them to copy/paste here?
Cogito ergo sum

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 9:03 am

Cogito ergo sum

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 9:12 am

Your logs do not show any errors. This is normal operation.

An error would start with EE, as explained in the logfile

Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 9:17 am

but what about xscreensaver ?
Cogito ergo sum

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 9:20 am

xscreensaver is being killed (SIGHUP) because somebody has logged out of the desktop environment.

This is the normal method to shut down a service.

The screensaver is no longer needed when the graphical system is not needed any more.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 10:19 am

so if you say that everything is fine then good :P
Cogito ergo sum

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 1:43 pm

but... how to start openbox?
Cogito ergo sum

rymate1234
Posts: 24
Joined: Wed Oct 03, 2012 8:22 pm

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 4:18 pm

Openbox is the default window manager of lxde. If you wish to use openbox on its own, you would need to create a custom .Xinitrc. This file tells startx what to launch when it is executed.

Alternatively, you could install a graphical logn manager such as gdm, although I'm not sure how the pi would handle it.

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 5:00 pm

well if I configure raspi to boot directly to Deskrop
I can log out and log in again
and in the login window i have options: LXDE, XFCE or Openbox
and LXDE is different than Openbox
so I thought I could start Openbox directly from terminal just as I start LXDE and XCFE
Cogito ergo sum

User avatar
billb
Posts: 177
Joined: Wed Sep 19, 2012 10:27 pm

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 5:08 pm

Like this?

Code: Select all

openbox-session

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: How to start xfce/lxde ?

Thu Oct 04, 2012 5:20 pm

billb wrote:Like this?

Code: Select all

openbox-session
The most correct way I've found to start Openbox on RPi in my experience is

Code: Select all

xinit /usr/bin/openbox-session
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

User avatar
billb
Posts: 177
Joined: Wed Sep 19, 2012 10:27 pm

Re: How to start xfce/lxde ?

Fri Oct 05, 2012 1:00 am

Perfect -- thanks. :)

User avatar
Onira
Posts: 233
Joined: Tue Oct 02, 2012 6:24 pm
Location: Poland

Re: How to start xfce/lxde ?

Fri Oct 05, 2012 5:06 am

okay, it worked

but if there is no thing defined in the xinitrc
how to start LXDE instead of

Code: Select all

$ startx
?
Cogito ergo sum

Return to “Beginners”