Coder Social home page Coder Social logo

XFCE not launching about ly HOT 16 CLOSED

anupam-git avatar anupam-git commented on June 11, 2024
XFCE not launching

from ly.

Comments (16)

anupam-git avatar anupam-git commented on June 11, 2024 2

The compiling issue was a stupid one. It seems that the linked options ($LINK in your makefile) should be at given last.
Updated the makefile, and everything compiled good.

Even ly is launching the session too.
All good now.

from ly.

nullgemm avatar nullgemm commented on June 11, 2024 1

Thanks a lot, I had no idea what could cause your issue. That's fixed in c13ca1c.

from ly.

nullgemm avatar nullgemm commented on June 11, 2024 1

I added /bin and /sbin in the default PATH with 5e7437b

from ly.

nullgemm avatar nullgemm commented on June 11, 2024

Hi, I just tried xfce4 on my fresh archlinux install and it seems to work, can you tell me which distro you are using? Is there any particular configuration on your system?

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

Fedora.. no specific configuration..
I launch using just startx

from ly.

RobertZenz avatar RobertZenz commented on June 11, 2024

Ly sits idly after successful login and nothing launches.

Do you mean that the screen goes black and nothing happens, or that Ly stays visible? If Ly stays visible, can you interact with it? Have you checked whether XFCE might have been started on a different TTY (Ctrl+Alt+F1-12)?

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

By "sits idly" I meant Ly stays visible but the DE doesn't launches.
I didn't check any other TTYs except 1 and 2..

The thing is, I was testing Ly on Fedora when this problem occurred.
But as of now, I changed my distro to ubuntu.

Now, I cant even compile. Always getting an error that undefined reference to 'pam_xxxx'.
Installed libpam0g-dev, but still it did not help. I dont know why pam cannot be found.

I checked the makefile and it seems that -lpam and -lpam_misc linker options are present.

Compiler version is gcc 7.3.0

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

Now having another issue.

As of now, xfce launches in Ubuntu. But every command needs to be run as sudo.

Even running ls as from user shell gave the error.

Any idea what's happening?

from ly.

nullgemm avatar nullgemm commented on June 11, 2024

Wow. I have no idea. Ly clearly downgrades the permissions and prints an error if it fails. Maybe you can check if your user is in the necessary groups ? groups yourusername

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

Everything is good when i manually login and start the x server with startx.

Permission issue only happens when logging in with ly.

I'll do some detailed research. If I find anything I'll ping here.

If you need any more info from me, let me know. I'll be happy to help.

from ly.

RobertZenz avatar RobertZenz commented on June 11, 2024

Can you open a terminal in the ly launched XFCE session and run:

  • id
  • groups
  • echo $HOME

That is, if the opening of the terminal already requires sudo, you don't need to test this because that doesn't help. If the terminal can be opened without sudo, then please run these commands and post the exact output here. Also try to run the ls command again and also post the whole output.

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

I was looking into the issue and found out that the issue is not regarding permissions and all.

The exact issue is when logging in with ly, PATH is missing /bin and hence the commands from /bin are not running.

But when I started the xserver manually with startx, the PATH variable had /bin in it.

It was due to this missing path, the errors were being shown. I am currently trying to figure out why it is behaving like this.

Will post if I have any updates. Also let me know if you need regarding info regarding the new findings.

from ly.

nullgemm avatar nullgemm commented on June 11, 2024

This is because the default configuration does not include /bin in the PATH variable. I use ArchLinux, and in that distro /bin is a symlink to /usr/bin, so I just included /usr/bin in the PATH by default. You just have to edit the PATH to be loaded in /etc/ly/config.ini:

path=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/env

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

Then why does starting with startx includes bin in PATH?

From what I see in my /etc/ly/config.ini, path variable is not being set in config.ini. Hence it should not get overridden.

from ly.

nullgemm avatar nullgemm commented on June 11, 2024

Well... startx is a wrapper for xinit, and thus initializes everything on its own.
Ly was made under Archlinux, and sets the PATH to whatever is in labeled path in the config. If you did not set this variable (the default config obviously does not, and has the line commented), it falls back to hardcoded defaults, which do not include /bin. But I guess I could add /bin for better support. In the meantime, you can set the PATH in config.ini if you want the things to work...

from ly.

anupam-git avatar anupam-git commented on June 11, 2024

Ahh.. Understood.

Yeah, adding /bin will be a good choice.

from ly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.