Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting x with lxde: error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bperegrine
n00b
n00b


Joined: 23 Dec 2017
Posts: 37

PostPosted: Wed Oct 03, 2018 12:51 pm    Post subject: Starting x with lxde: error Reply with quote

When trying to boot up x with lxde on a fresh gentoo install, it gives an error:
Could not connect: No such file or directory."

Others have faced a similar problem: see https://groups.google.com/forum/#!topic/linux.gentoo.user/okoW1bZOlho

Unfortunately the user there was not able to get that problem corrected; rather he just changed over to fluxbox

So does anyone here had the same error and was able to fix it somehow ?

[Moderator edit: fixed [url] tag. Forum auto-linking does not work when the URL contains exclamations. -Hu]
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1655
Location: United Kingdom

PostPosted: Wed Oct 03, 2018 1:58 pm    Post subject: Reply with quote

I don't use LXDE on my two machines running Gentoo, but I do use it on a machine running Lubuntu, and it works fine, so your post piqued my interest. I wonder if what you're experiencing is to do with the default locations of /etc/xdg and /usr/share that LXDE uses, as explained in the following NetBSD e-mail:

https://mail-index.netbsd.org/netbsd-users/2017/07/27/msg019993.html

Quote:
Re: Error starting lxde

    To: Leonardo Taccari <leot%netbsd.org@localhost>
    Subject: Re: Error starting lxde
    From: "Ivan \"Rambius\" Ivanov" <rambiusparkisanius%gmail.com@localhost>
    Date: Fri, 28 Jul 2017 08:39:56 +0300

On Thu, Jul 27, 2017 at 5:02 PM, Leonardo Taccari <leot%netbsd.org@localhost> wrote:
> Hello Ivan,
> (I'm also cc'ing Youri who's maintaining lxde)
>
> "Ivan \"Rambius\" Ivanov" writes:
>> [...]
>> I think most of those issues are caused by the fact that lxde uses its
>> default locations of /etc/xdg and /usr/share, instead of /usr/pkg/etc
>> and /usr/pkg/share. Is there a way to fix that?
>> [...]
>
> Yes, I think so too. Yesterday on #netbsd@Freenode we have tried to
> debug that and at the end adjusting that via environment variables
> mostly did the trick (except for the window with `Could not connect: No
> such file or directory' error opened when starting LXDE).
>
> The following ~/.xinitrc workaround these problems:
>
> #!/bin/sh
>
> export XDG_CONFIG_DIRS=/usr/pkg/etc/xdg
> export XDG_DATA_DIRS=/usr/pkg/share

I added these env vars to my ~/.xinitrc and I got a usable desktop
environment. Thank you for your help.


Regards
rambius

> startlxde
>
>
> Youri, do you know if lxde needs to be adjusted or if other xdg
> related packages are involved in that? And, do you also know if
> gdm or other display managers sets that themself? (I'm also a bit
> curious why it wasn't spotted previously!)

_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
bperegrine
n00b
n00b


Joined: 23 Dec 2017
Posts: 37

PostPosted: Thu Oct 04, 2018 1:18 pm    Post subject: Reply with quote

Iit had to do with the fact that the dbus system level service is not in the default runlevel yet appearantly.
Now fixed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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