Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] LXDE would not start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Wed Sep 06, 2017 7:51 am    Post subject: [SOLVED] LXDE would not start Reply with quote

I can't get LXDE to start via startlxde, and the error message is
Quote:
cp: cannot stat '/usr/share/lxde/pcmanfm/pcmanfm.conf': No such file or directory
despite that pcmanfm is installed. Does anyone know what the problem is?

Many thanks.


Last edited by PQPGuy on Wed Sep 06, 2017 3:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Wed Sep 06, 2017 8:01 am    Post subject: Reply with quote

See post 8107008.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Wed Sep 06, 2017 8:17 am    Post subject: Reply with quote

$ file /usr/share/lxde/pcmanfm/pcmanfm.conf:
/usr/share/lxde/pcmanfm/pcmanfm.conf: symbolic link to /etc/xdg/pcmanfm/default/pcmanfm.conf
Don't ask me how that link got created.

$ equery b /usr/share/lxde/pcmanfm/pcmanfm.conf:
 * Searching for /usr/share/lxde/pcmanfm/pcmanfm.conf ...
x11-misc/pcmanfm-1.2.5 (/etc/xdg/pcmanfm/default/pcmanfm.conf)

bug 625180
Back to top
View user's profile Send private message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Wed Sep 06, 2017 8:25 am    Post subject: Reply with quote

Thank you, charles17. In essence, you are saying that pcmanfm-1.2.5 should be unmasked, and that (along with the symbolic link creation) should take care of it, right?

The other suspicion, in my case, is that there is no startx command. I would have thought LXDE would pull down some default window manager, but apparently not.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Wed Sep 06, 2017 8:38 am    Post subject: Reply with quote

PQPGuy wrote:
Thank you, charles17. In essence, you are saying that pcmanfm-1.2.5 should be unmasked, and that should take care of it, right?
No. It isn't masked. At least not for amd64. Adding it to /etc/portage/package.accept_keywords should be enough.

PQPGuy wrote:
The other suspicion, in my case, is that there is no startx command. I would have thought LXDE would pull down some default window manager, but apparently not.
See https://wiki.gentoo.org/wiki/LXDE
Back to top
View user's profile Send private message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Wed Sep 06, 2017 9:07 am    Post subject: Reply with quote

charles17,

I upgraded pcmanfm to v. 1.2.5 and created the symlink. The error message is gone but startlxde still has no effect. For a while, I see a background process called dbus-launch which quickly disappears.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Wed Sep 06, 2017 9:20 am    Post subject: Reply with quote

I never use startlxde, see post 8107046.

It seems to me the version of lxde-common you are using is quite outdated. Try version 0.99.1 (see bug 630070)
Back to top
View user's profile Send private message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Wed Sep 06, 2017 11:53 am    Post subject: Reply with quote

charles17,

I just discovered that I didn't have XOrg installed. I always thought this was a dependency. The question I now have is: are there any other implicit dependencies of lxde-meta that you're aware of?

Many thanks.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Wed Sep 06, 2017 12:38 pm    Post subject: Reply with quote

PQPGuy wrote:
charles17,

I just discovered that I didn't have XOrg installed.
x11-base/xorg-x11 is nice to have but not a dependency. It pulls in pretty much stuff you wouldn't ever need.
Back to top
View user's profile Send private message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Wed Sep 06, 2017 2:49 pm    Post subject: Reply with quote

Quote:
x11-base/xorg-x11 is nice to have but not a dependency. It pulls in pretty much stuff you wouldn't ever need.

Unless you have switched to Wayland, how can you get around without XOrg (a.k.a. x11-base/xorg-x11 on Gentoo)???

So, I installed XOrg, and it gave me the startx script. After that, everything worked like a marvel. I use the same .xinitrc file you suggested BUT changed the second line to
Quote:
exec startlxde

But seriously, how can you do this without XOrg? (I even enabled the X flag globally, but to no avail).
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Wed Sep 06, 2017 3:11 pm    Post subject: Reply with quote

PQPGuy wrote:
But seriously, how can you do this without XOrg? (I even enabled the X flag globally, but to no avail).

xinit is enough:
Code:
emerge -avt x11-apps/xinit
Back to top
View user's profile Send private message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Wed Sep 06, 2017 3:55 pm    Post subject: Reply with quote

Ok, tried that by removing XOrg, and it worked. With that said, x11-apps/xinit should still be a dependency for lxde-base/lxde-meta, so it's still a bug. Anyhow, thanks much for your help. I'm marking this solved.

PS Just to make this clear for posterity's sake, I am starting LXDE with startx.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13509

PostPosted: Thu Sep 07, 2017 1:08 am    Post subject: Reply with quote

You only need Xorg if you want to run a framebuffer on that system to display output to the user with a monitor. If you want to run your desktop in a VNC environment, or render it remotely on an Xorg server on another system, then you do not need an X server installed. Thus, Xorg is not a hard dependency.

Do I understand your final post correctly that LXDE assumes the existence of startx and fails when that is absent, but works when it is present? If so, which LXDE package(s) depend on startx?
Back to top
View user's profile Send private message
PQPGuy
n00b
n00b


Joined: 04 Sep 2017
Posts: 31

PostPosted: Thu Sep 07, 2017 10:28 am    Post subject: Reply with quote

Hu,
Quote:
which LXDE package(s) depend on startx?

It's probably just x11-wm/openbox. (What else could it be?)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13509

PostPosted: Fri Sep 08, 2017 1:53 am    Post subject: Reply with quote

No idea. I run startx directly and let my xinitrc start my window manager, and my window manager init file starts what it needs. :)

If you can identify the specific package that assumes startx exists, I suggest filing a bug report to have its RDEPEND altered so that this does not happen to other users.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum