LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 12-05-2011, 06:27 AM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Failed to execute login command


Hi guys after i have installed gentoo on my virtual box i followed these links to install fluxbox:

http://www.gentoo.org/doc/en/fluxbox-config.xml
http://www.gentoo.org/doc/en/xorg-config.xml

Im using root user and at the graphical login im given failed to "execute login command", i also check this forum using a different user but still failed.

http://www.linuxquestions.org/questi...ommand-736159/

but if im in runlevel 3 and execute startx im directed to the fluxbox desktop
 
Old 12-06-2011, 12:23 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Maybe root user is banned from logging in via X?

Can you log in via graphical login as non-root user with some other WM?

Where did you specify fluxbox?
 
Old 12-06-2011, 03:37 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
If it is really your login manager which is showing you that error, the problem is either with it or with the fluxbox session file, which should reside under /etc/X11/Sessions/. I can't really be any more concrete without knowing more details about how your initialization process goes.
 
Old 12-12-2011, 01:22 PM   #4
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
I also tried using other none root account but same problem.

I didn't do anything much other than follow the instructions in the gentoo X and fluxbox wiki.
 
Old 12-12-2011, 01:32 PM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Does it work with any other WM?
 
Old 12-13-2011, 01:06 PM   #6
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
now this is weird... i just left my VM shutdown for 5 days and now that im about to install a new VM to see if it works but now im able to login
 
Old 12-14-2011, 12:55 AM   #7
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
In order for your desktop to work, you need to create the .xinitrc file in your home folder and add the command to start the desktop environment.

For example, I use XFCE and I have the file in "/home/user/.xinitrc" and it's a single file that says "exec startxfce4".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using 'say' to login SSH and execute command KavithaAshok Linux - Newbie 1 03-25-2010 09:06 PM
failed to execute login command charlie_lab Slackware 2 06-28-2009 02:09 PM
failed to execute command : ifconfig <interface> create summersgone Linux - Networking 6 05-12-2009 12:04 PM
How to execute some command on GDM Login and Logout? jabran Linux - Desktop 2 08-24-2006 11:55 AM
Bash command $? failed to execute. Linh Programming 7 05-14-2004 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration