Re: having issues..

2019-01-29 Thread Adam Jackson
On Mon, 2019-01-28 at 19:32 +, Jeff Welch wrote:

> (EE) PAM authentication failed, cannot start X server.
> Perhaps you do not have console ownership?

You're running startx from ssh instead of from the console?

The message is telling the truth, the default PAM policy in RHEL and
its clones requires console ownership to start X.  If you don't like
that, comment out the pam_console.so line in /etc/pam.d/xserver:

#%PAM-1.0
auth   sufficient   pam_rootok.so
#auth   required pam_console.so
accountrequired pam_permit.so
sessionoptional pam_keyinit.so force revoke

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: having issues..

2019-01-29 Thread Walter Harms


> Jeff Welch  hat am 28. Januar 2019 um 20:32 geschrieben:
> 
> 
> Hey guys.. im having trouble when trying to run startx to start GNOME Desktop.
> See below.
> 

hi,
there was a patch from Michal Srb some time ago,
are you willing to test ?

re,
 wh


> 
> 
> [jwelch@Jeff-CentOS-Server /]$ startx
> xauth:  file /home/jwelch/.serverauth.31051 does not exist
> xauth:  file /home/jwelch/.Xauthority does not exist
> xauth:  file /home/jwelch/.Xauthority does not exist
> 
> (EE)
> Fatal server error:
> (EE) PAM authentication failed, cannot start X server.
> Perhaps you do not have console ownership?
> (EE)
> (EE)
> Please consult the The X.Org Foundation support
>  at http://wiki.x.org
> for help.
> (EE)
> ^Cxinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: unexpected signal 2
> Couldn't get a file descriptor referring to the console
> [jwelch@Jeff-CentOS-Server /]$ xauth:  file /home/jwelch/.serverauth.31051
> does not exist
> bash: xauth:: command not found...
> Similar command is: 'xauth'
> [jwelch@Jeff-CentOS-Server /]$ xauth:  file /home/jwelch/.Xauthority does not
> exist
> bash: xauth:: command not found...
> Similar command is: 'xauth'
> [jwelch@Jeff-CentOS-Server /]$ xauth:  file /home/jwelch/.Xauthority does not
> exist
> bash: xauth:: command not found...
> Similar command is: 'xauth'
> 
> 
> [jwelch@Jeff-CentOS-Server /]$ sudo startx
> xauth:  file /root/.serverauth.31664 does not exist
> xauth:  file /root/.Xauthority does not exist
> xauth:  file /root/.Xauthority does not exist
> 
> 
> X.Org X Server 1.20.1
> X Protocol Version 11, Revision 0
> Build Operating System:  3.10.0-693.17.1.el7.x86_64
> Current Operating System: Linux Jeff-CentOS-Server 3.10.0-957.1.3.el7.x86_64
> #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64
> Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-957.1.3.el7.x86_64
> root=/dev/mapper/cl_jeff--centos--server-root ro crashkernel=auto
> rd.lvm.lv=cl_jeff-centos-server/root rd.lvm.lv=cl_jeff-centos-server/swap rhgb
> quiet LANG=en_US.UTF-8
> Build Date: 15 November 2018  04:59:43PM
> Build ID: xorg-x11-server 1.20.1-5.1.el7
> Current version of pixman: 0.34.0
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 28 14:08:41 2019
> (==) Using config directory: "/etc/X11/xorg.conf.d"
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> pci id for fd 15: 102b:0532, driver (null)
> (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
> 
> 
> 
> 
> R/s
> 
> Jeff Welch
> Customer Success Manager (CSM)
> Splunk Certified Architect II
> Splunk Inc.
> CASP, CEH, CCNA, SEC+
> Mobile: 301.752.0749
> Email: jwwe...@splunk.com ;
> jeffr...@splunk.com
> Washington D.C. > San Francisco | Cupertino | London | Hong Kong | Seattle |
> Plano
> 
> [cid:image001.png@01D4B716.2E0574A0]
> This message is intended only for the personal, confidential, and authorized
> use of the recipient(s) named above. If you are not that person, you are not
> authorized to review, use, copy, forward, distribute or otherwise disclose the
> information contained in the message.
> 
> 
> ___
> xorg@lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s