LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-09-2005, 01:47 AM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Regular user can't log influxbox?


I installed Debian base system first using the the net install CD. Then I installed Xorg from testing repo as follow:
Code:
apt-get install xserver-xorg xserver-common xfonts-base
and then installed fluxbox from stable repo. by
Code:
apt-get install fluxbox
Also I installed xdm.
Code:
apt-get install xdm
I then created a file in root directory called .xinitrc and added the file
exec /usr/bin/fluxbox into. Now I am able to log into fluxbox as a root user. But I am not able to do so using my own user name. At xdm login manager when I type my username and password it brings back the login scree again. But when I boot to the console(text mode) and login with my username and type startx, I am able to boot into fluxbox.

Why this is happening? It seems that only root user can start the XServer.

Any idea? Also is there any to start fluxbox without installing any login managers like xdm,kdm or gdm?
 
Old 11-09-2005, 01:55 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You said it - you used startx to get into fluxbox. So, I could imagine you can run it without xdm, gdm, kdm, (any)dm

Check out that the problem is not caused by permissions - make the .xinitrc file you created readable by all, if it's not:

Code:
chmod a+r /.xinitrc
if you want flux to start automatically, make some scripting to run startx at boot...check the init files
 
Old 11-09-2005, 02:13 AM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Ok, I have reached a stage where I can start the fluxbox by typing the command startx on root and my own username. Now I want to automate this process. In short how can I make the command startx to execute everytime I log into my account from the console mode. I don;t want to type the startx command. The startx script should be called automatically.

Thank you for your help.
 
Old 11-09-2005, 02:34 AM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Ok got it. I created a file called .bash_profile and just wrote startx there. And It worked. I hope this is the correct way of doing it?

Any suggestions?
 
  


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
Wine as regular user scouture Linux - Software 2 03-11-2005 09:49 PM
can a regular user mount devices ruwach Linux - Software 6 12-07-2004 12:40 PM
Can't Login As Regular User After Trying... drdroid Linux - General 8 02-08-2004 11:30 AM
Can't log in as regular user Fugazi Linux - Newbie 1 12-27-2003 04:07 PM
How do I login as a regular user? hitbob Linux - Newbie 2 10-04-2003 05:14 AM

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

All times are GMT -5. The time now is 11:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration