[newbie] user login problems ...

2004-06-11 Thread RickS
Hi all,

I cannot login as my normal user to any window manager or even at init
3 but if I su to ricks

[bash 09:31 PM] [EMAIL PROTECTED]:ricks]$ su ricks
[bash 09:31 PM] [EMAIL PROTECTED]:~/ricks]$ ll

it will let me login but running an app ...

[bash 09:31 PM] [EMAIL PROTECTED]:~/ricks]$ sylpheed
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0

or even this
[bash 09:40 PM] [EMAIL PROTECTED]:~/ricks]$ opera
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

opera: cannot connect to X server :0


Any ideas how to fix this ?


RickS


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] user login problems ...

2004-06-11 Thread Mikkel L. Ellertson
RickS wrote:
Hi all,
I cannot login as my normal user to any window manager or even at init
3 but if I su to ricks
[bash 09:31 PM] [EMAIL PROTECTED]:ricks]$ su ricks
[bash 09:31 PM] [EMAIL PROTECTED]:~/ricks]$ ll
it will let me login but running an app ...
[bash 09:31 PM] [EMAIL PROTECTED]:~/ricks]$ sylpheed
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified
Gtk-WARNING **: cannot open display: :0
or even this
[bash 09:40 PM] [EMAIL PROTECTED]:~/ricks]$ opera
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified
opera: cannot connect to X server :0
Any ideas how to fix this ?
RickS
It sounds like you have two seperate problems here.  I'll take a stab at 
the easy one first.  If you are starting X as root, you will not be able 
to run X programs as a normal user.  The reasion for that is that the 
user that starts X, or logs in a the window manager screen, owns the 
display.  There are security conserns with letting other users access 
the X server.

If you use su username, and then start X, there some problems as 
well.  Because you are username, but have the envirment of the user 
you were before running su, things get confused.  If you use
su - username, and then start X, things should work right.

Now, as for not being able to log in as a normal user, if would be 
helpfull to know what kind of error message.  Without that, the only 
thing I can think of is to check /etc, and see if there is a nologin 
file.  This file is normaly created when you use shutdown with a delay 
time, and prevents normal users from logging in.  If this file is still 
there for some reasion, deleting it will allow normal logins again.

Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] user login problems ...

2004-06-11 Thread RickS
On Fri, 11 Jun 2004 21:26:26 -0500
Mikkel L. Ellertson [EMAIL PROTECTED] wrote:

 RickS wrote:
  Hi all,
  
  I cannot login as my normal user to any window manager or even at init 3 but 
  if I su to ricks
  
  [bash 09:31 PM] [EMAIL PROTECTED]:ricks]$ su ricks
  [bash 09:31 PM] [EMAIL PROTECTED]:~/ricks]$ ll
  
  it will let me login but running an app ...
  
  [bash 09:31 PM] [EMAIL PROTECTED]:~/ricks]$ sylpheed
  Xlib: connection to :0.0 refused by server
  Xlib: No protocol specified
  
  
  Gtk-WARNING **: cannot open display: :0
  
  or even this
  [bash 09:40 PM] [EMAIL PROTECTED]:~/ricks]$ opera
  Xlib: connection to :0.0 refused by server
  Xlib: No protocol specified
  
  opera: cannot connect to X server :0
  
  
  Any ideas how to fix this ?
  
  
  RickS
  
  It sounds like you have two seperate problems here.  I'll take a  stab at  
  the easy one first.  If you are starting X as root, you  will not be able  
  to run X programs as a normal user.  

Thx .. makes sense to me 8)

 
 Now, as for not being able to log in as a normal user, if would be 
 helpfull to know what kind of error message.  Without that, the only 
 thing I can think of is to check /etc, and see if there is a nologin  file.  This 
 file is normaly created when you use shutdown with a delay  time, and prevents 
 normal users from logging in.  If this file is   still there for some reasion, 
 deleting it will allow normal logins  again.
 
 Mikkel
thx Mikkel,
There wasnt a nologin file in /etc .. and I can't find any error messages .. ?? or 
nothing in the logs ..
I reboot and autologin doesn't work so it dumps back to login and thats where I would 
login to root. I also added a user that can access and start kde or fluxbox with no 
problems ... 

jus not sure where to look anymore ?

RickS








Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] user login problems ...

2004-06-11 Thread Mikkel L. Ellertson
RickS wrote:
thx Mikkel, There wasnt a nologin file in /etc .. and I can't find
any error messages .. ?? or nothing in the logs .. I reboot and
autologin doesn't work so it dumps back to login and thats where I
would login to root. I also added a user that can access and start
kde or fluxbox with no problems ...
jus not sure where to look anymore ?
RickS
Oh, autologin doesn't work.  I thought you could not log in as a normal 
user at the login prompt.  You can run bootdrake, and check to make sure 
it is still set to autologin, and that the correct user is selected. 
Also, if you have not set a password for a user, you will not be able to 
log in, even though you can autologin as that user at boot.

Mikkel
--
  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] user login problems ...

2004-06-11 Thread RickS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 11 Jun 2004 22:01:28 -0500
Mikkel L. Ellertson [EMAIL PROTECTED] wrote:

|RickS wrote:
| 
| thx Mikkel, There wasnt a nologin file in /etc .. and I can't
| find any error messages .. ?? or nothing in the logs .. I reboot
| and autologin doesn't work so it dumps back to login and thats
| where I would login to root. I also added a user that can access
| and start kde or fluxbox with no problems ...
| 
| jus not sure where to look anymore ?
| 
| RickS
| 
|Oh, autologin doesn't work.  I thought you could not log in as a
|normal user at the login prompt.  
sorry I meant I couldn't login as myself and as a result autologin
wouldn't work. 

|
|Mikkel
|-- 
but I copied the .Xauthority file from the user I created to my
current normal user $HOME and it's now working .. not sure what
happened though. 

RickS 
+--+
MandrakeLinux 10.0 official -  2.6.3-13mdk-i686-up-4GB
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61
+--+
Nothing is so firmly believed as that which we least know. -- Michel
de Montaigne
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAynhSJo/ckCSqvmERAolqAJ0UjXt2I11U9t2pEMHzHDVOsV5JCQCfcg/+
qSYAzzWxgLbfe+gIM3o8Lg0=
=dKAv
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] user login problems ...

2004-06-11 Thread RickS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 11 Jun 2004 22:01:28 -0500
Mikkel L. Ellertson [EMAIL PROTECTED] wrote:

|RickS wrote:
| 
| thx Mikkel, There wasnt a nologin file in /etc .. and I can't
find| any error messages .. ?? or nothing in the logs .. I reboot
and| autologin doesn't work so it dumps back to login and thats
where I| would login to root. I also added a user that can access
and start| kde or fluxbox with no problems ...
| 
| jus not sure where to look anymore ?
| 
| RickS
| 
|Oh, autologin doesn't work.  I thought you could not log in as a
normal |user at the login prompt.  You can run bootdrake, and check
to make sure |it is still set to autologin, and that the correct
user is selected. |Also, if you have not set a password for a user,
you will not be able to |log in, even though you can autologin as
that user at boot.|
|Mikkel
|-- 

btw .. thanks again for the help 8)

RickS 
+--+
MandrakeLinux 10.0 official -  2.6.3-13mdk-i686-up-4GB
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61
+--+
Intellect annuls Fate. So far as a man thinks, he is free. -- Ralph
Waldo Emerson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAynnMJo/ckCSqvmERAk9xAKCn5lLt94N6twUpo6brRk3CnYq+egCeN2SQ
t+QVWJK74bWFnb1uRXEed78=
=yPiF
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com