Running startx as user other than root

Jeremy C. Reed reed at
Fri Oct 22 09:29:06 EEST 2004

On Fri, 22 Oct 2004, Jonathan Scott wrote:

> Fatal server error:
> PAM authentication failed, cannot start X server.
> Perhaps you do not have console ownership?
> Please consult the The X.Org Foundation sup
> at http://wiki.X.Org
> for help.
> xinit:  No such process (errno 3):  Server error.
> ===============
> I am starting X with "su -l myuser -c startx". What can I do to get
> startx to properly start my X session? Any help in getting me on the
> right path would be very much welcome.

The console needs to be owned by myuser before X is started.

Do you have a /etc/security/console.perms file? Maybe you have a
console.perms(5) man page or pam_console(8) man page.

Do you have a xserver file in /etc/pam.d/? Maybe comment out the
pam_console reference if it exists.

This might be distribution specific. (I am assuming your run Linux.)

By the way, this list (xdg) is probably not appropriate for these
questions. I don't know what the general questions list for is.
(Maybe they need one.)

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links

More information about the xdg mailing list