You are not logged in.
i installed LXDE exactly as per the wiki instructions. Post that i installed SLim also. Prior to that my X installation was also sucessful.
But when i give the śtartlxde' in xinitrc, the same fails to get launched and gives the error message of "fail to login . But if i put "openbox- session", the same gets properly launched.
Upon searching in the forums i find many had this problem where at the slim login manager a loop of back to login prompt happens, if śtartlxde' in xinitrc.
post on the forums below links suggest : " For now, either uninstall pcmanfm and use SLiM or else use a different DM/WM or login manager ¨
https://bbs.archlinux.org/viewtopic.php?id=117658
https://bbs.archlinux.org/viewtopic.php?pid=927699
Now i tried these also.
1.uninstall pcmanfm ..... doesnt solve the lxde problem, but openbox session is still sucessful
2.uninstall slim and then i start X via modifying the bash profile along with the export Desktop_Session = lxde line ............. this also fails to start lxde, instead openbox got launched the way it happens when using the .xinitrc way
One or two other external forum posts suggested modifying slim.conf. I found that also a waste and moreover other issues like the lock file not created etc are also proper on my system
googling two links came up where they show the installation like a cakewalk exactly the way it is mentioned in the wiki without any modifications to the slim.conf But my experience suggests otherwise.
I guess the problem is with LXDE, becoz X starts properly and also openbox-session.
So now with no options left to work out pls suggest the needful how to get this working or should i go for some other option.
regards
Last edited by beopen (2012-08-11 11:57:56)
Offline
Please post your .xinitrc and slim.conf so we can have a look at both files...
Could be as simple as a typo...
If the Matrix was real, it would run on Arch...
Offline
here goes the same
xinitrc:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
exec startlxde
# exec ck-launch-session startlxde
# exec openbox-session
# ...or the Window Manager of your choiceNow i uncomment whichever is necessary and also only one of them as mentioned in the wiki.
slim conf
this file i did not modify in any way so it is the default as on a fresh installation.
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4,icewm-session,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme default
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.logLast edited by ewaller (2012-07-25 03:23:58)
Offline
Hi,
Can you manually start LXDE via startx if you boot to runlevel 3 instead of 5 and don't start Slim?
Offline
beopen, please use code tags: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Offline
beopen: As often happens, jassonwryan and I are working on the same thread ![]()
Welcome to Arch, I went ahead and edited your post to add code tags. You can edit it to see how it is done. There is also a link to a help page under ever post text box.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
jasonwryan & ewaller:
Post my putting the query i was working on changing the same to modify it as i recalled the wgetpaste section of the beginners guide. i was going through the same[pastebin site & a wgetpaste usage post] in the last couple of hours besides other things. It just took me more time before you guys posted. Anyway thanks for updating my knowledge. I will ensure the forum etiquette in the future.Thanks again to both of you.
ewaller wrote " There is also a link to a help page under ever post text box. "...... i did not get this link. pls direct.
Offline
At the bottom of the thread there is a Quick post box and you can click on the blue links (there is a question mark to their left) for additional help.
Offline
Hi,
Can you manually start LXDE via startx if you boot to runlevel 3 instead of 5 and don't start Slim?
no i am unable to start the same at runlevel 3. I also noted the error displayed which goes as:
xinit: unable to run program "usr/bin/startlxde" No such file or directory
specify a program on the command line or make sure that /usr/bin is in your path
xinit: connection to X server lost
waiting for X server to shutdown Server terminated sucessfullyNow in the /usr/bin there is indeed no such file called as startlxde. Today i installed lxde, the second time using pacman -S lxde. The other day i had uninstalled the pcmanfm[ though generally i refrain from going for such solutions] and then the whole lxde, so upon a reinstallation i got a glibc error . So a delay in my next post. But finally today all system is back to normal. I reinstalled lxde and again i get the above ' unable to start ' error. I guess the other day also i must have got this error only. I today also installed fluxbox. And there is a file named startfluxbox in the /usr/bin. It gets started via startx. And so there is openbox files too, which gets installed via the lxde group installation.But there is no file in the directory with the name lxde or startlxde in this case.
Offline
Do you have lxde-common installed? It has the startlxde executable. Redownload/install if necessary.
Offline
Do you have lxde-common installed? It has the startlxde executable. Redownload/install if necessary.
Thanks for your input.
yeah i installed the same now and now lxde starts using startx.
So this puts down another query related to the above, though a solution was found.
The wiki on the first para mentions the bare min essentials required to start lxde.
Now when you go to install the lxde group using pacman -S lxde, you get the message the package has 20 elements & asks for (enter a selection : Default =All).
Now if you put 'All' it rejects as it wants a number. So i used to put 20 implying to install everything, of which you can see lxde-common,lxsession, lxde icon theme and openbox are a part besides the desktop utils.The 20th item is PcmanFm
Now after your suggestion, first i gave the command pacman -S lxde-common and it outputs the message asking to install 3 packages lxde-common,lxsession, lxde icon theme. Total download size would be 5.x mb So this means these three were not installed in my previous two attempts.
But instead of that i gave the previous pacman -S lxde and this time instead of giving the number 20, i just pressed enter and now it gave a message to download 13.x mb [ previous lxde install was 8+mb, the differential 5 mb is of the 3 packages which are not getting installed namely lxde-common,lxsession, lxde icon theme] , besides the warning message of reinstalling some of the packages
So my query here is upon the asking to install the packages for the command pacman -S lxde, when it asks for a value and if we want the entire package,what value should we give to select all of them . 20 items are shown as of now. My experience i have put above but i also found 2 ways to the same which i put below.
I experimented and found that to have the entire package installed, upon the prompt for the value :
you should press either a plain 'ENTER ' or
the next one which i tried is give the value as: 1-20 [this way also the entire 20 packages gets installed] this option also works though i did not went for reinstalling using this option, but i got 20 warning messages of reinstallation.
My query is as such solved for this part.
PS:I find that the topic of the post has a spelling error [loign for login ] which i corrected. And i had also labelled it as attributable to the Slim login manager in my first post,. Now can i change the subject,currently as [Slim DM: LXDE login fails but Openbox session successful] to remove the 'slim part '......since the query was for lxde not getting started, which i guessed was on part of slim but rather found the same attributable to something else. or should the same remain as such. Pls suggest. So that i can tag the post as solved.
Offline
This is what you should see when installing LXDE:
:: There are 20 members in group lxde:
:: Repository community
1) gpicview 2) libfm 3) lxappearance 4) lxappearance-obconf 5) lxde-common
6) lxde-icon-theme 7) lxdm 8) lxinput 9) lxlauncher 10) lxmenu-data 11) lxmusic
12) lxpanel 13) lxrandr 14) lxsession 15) lxshortcut 16) lxtask 17) lxterminal
18) menu-cache 19) openbox 20) pcmanfm
Enter a selection (default=all): There are two ways to install packages that come in these kind of groups:
- If you want the entire group (all members) installed, you just hit ENTER and it will install everything in that group
- If you want one or more members of the group installed, you enter the numbers of those members, seperated by a space, and hit ENTER
So if you enter '20', it will only install the 20th package in that group (in this case PCManFM).
If the Matrix was real, it would run on Arch...
Offline
sorry for a late posting as i was sick. Thanks for your suggestions dustbin and also everybody else who spared their time to help me.
I am marking this query as solved.
Offline