You are not logged in.
So I go through "Beginner's Guide" and get to the part about "Choose and install a graphical interface".
I want LXDE so I try to follow directions in wiki article for "LXDE",
installing group lxde and other items as they are suggested.
Now
as root user I can start LXDE by issuing from command line
xinit /usr/bin/startlxde
and I get LXDE running OK with menus populated with the few applications I have so far.
Problem:
As a non-root user, I start LXDE by issuing from command line
xinit /usr/bin/startlxde
but the only menu items I get are "Run" (which does nothing) and "Log Out" with does offer me a log-out window.
I suspect a file exists somewhere that root user can find and use
but
non-root user either cannot find it or doesn't have sufficient permissions.
Ideas? Advice?
Thanks.
Last edited by llsyblanket (2012-09-09 03:11:24)
Offline
We need more information. How much of the wiki did you do? Did you do this part?
After the installation finishes, copy three files to ~/.config/openbox as instructed by pacman:
Place menu.xml, rc.xml and autostart in ~/.config/openbox
They can be found in /etc/xdg/openboxAs the user of interest
mkdir -p ~/.config/openbox cp /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/autostart ~/.config/openbox
Did you do this part?
If not using a display manager you would like to add
export DESKTOP_SESSION=LXDEto your ~/.bash_profile in order xdg-open to function properly.
Do you have a .xinitrc file in your user/home directory?
To start LXDE from the command line without a ~/.xinitrc:
$ xinit /usr/bin/startlxdeIf ~/.xinitrc already exists this will not work.
Last edited by 2ManyDogs (2012-09-09 03:12:14)
Offline
Thanks for your reply!
All these things got done (and maybe undone) during the last fews day of trial and error.
Just now,
re-did
mkdir -p ~/.config/openbox
cp /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/autostart ~/.config/openbox
checked contents of ~/.bash_profile
and it did indeed contain
export DESKTOP_SESSION=LXDE
command "echo $DESKTOP_SESSION" did return "LXDE"
file ~/.xinitrc does not exist.
Tried again, as non-root user, hoping I'd get lucky
xinit /usr/bin/startlxde
Alas, same result,
only 2 menu items: "Run" and "Logout"
Last edited by llsyblanket (2012-09-09 03:42:42)
Offline
OK, I'm not an LXDE expert (and it's very late here) so you might have to wait for help.
Offline
OK, my non-root user has LXDE menus now.
Here is what I think happened:
This first time I launched LXDE from command line using
xinit /usr/bin/startlxde
I did so as root user.
So,
all the configuration files that were created in non-root user's home directory were owned by root.
hence
when when non-root user launched LXDE, non-root did not have sufficient permissions (access) to configuration files in its own home directory.
The fix:
use chown to make non-root the owner of any files I could find in non-root's home directory.
Hope this helps any one with similar problems.
Offline