Error 111 Unable To Connect To X Server
Contents |
Cannot run startx as non-root user General support questions Post Reply Print view Search Advanced search 5 posts • Page 1 of 1 Annorax Posts: connection refused errno 111 unable to connect to x server 5 Joined: 2013/10/05 18:12:04 [SOLVED] CentOS 6.4: Cannot run startx as non-root
Xinit Connection Refused Errno 111 Unable To Connect To X Server
user Quote Postby Annorax » 2013/10/06 01:52:16 Hello all,I have CentOS 6.4 and Fluxbox up and running. I error in gxstrt unable to connect to x server am able to run 'startx' as a root user to launch Fluxbox with no problems but when I 'su -' into another user, I get this error:xauth: creating new authority unable to connect to x server resource temporarily unavailable file /home/msmigiel/.serverauth.1689Fatal server error:PAM authentication failed, cannot start X server. Perhaps you do not have console ownership?(EE)Please consult the CentOS support at http://wiki.centos.org/Documentation for help.(EE)^Cgiving up.xinit: Connection refused (errno 111): unable to connect to X serverxinit: No such process (errno 3): unexpected signal 2.When I log in directly as the other user, it works. My ~/.xinitrc contains the single line "exec
Unable To Connect To X Server Centos 6
startfluxbox" and my /etc/inittab is set to level 3 with "id:3:initdefault:". I Google'd around a bit and saw some other people with the issue but the few solutions I found were for folder versions and do not work for me. Does anyone know what might be wrong? Top Annorax Posts: 5 Joined: 2013/10/05 18:12:04 Re: [SOLVED] CentOS 6.4: Cannot run startx as non-root user Quote Postby Annorax » 2013/10/06 11:19:08 I've managed to fix this by editing /etc/pam.d/xserver to look like the following:#%PAM-1.0auth sufficient pam_rootok.so#auth required pam_console.soauth sufficient pam_permit.soaccount sufficient pam_permit.sosession optional pam_keyinit.so force revokeI don't see a way to edit my own post or change the title so any mods, please feel free to mark this thread Solved. Top TrevorH Forum Moderator Posts: 16772 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: [SOLVED] CentOS 6.4: Cannot run startx as non-root user Quote Postby TrevorH » 2013/10/06 11:24:55 From the throwaway comment you made about using su, I suspect that's actually your problem. I would expect it to work if you logon as the correct user to start with. The log
Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Advanced Search Forum BackTrack 4 Forums Beginners Forum unable to connect to x server arch Connecting to X server refused If this is your first visit, be unable to connect to x server ubuntu sure to check out the Forum Rules by clicking the link above. You may have to register
Unable To Connect To X Server Raspberry Pi
before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results http://www.centos.org/forums/viewtopic.php?t=4743 1 to 4 of 4 Thread: Connecting to X server refused Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 08-19-2010,05:58 AM #1 Ace193 View Profile View Forum Posts Just burned his ISO Join Date Aug 2010 Location Montana Posts 4 Connecting http://www.backtrack-linux.org/forums/showthread.php?t=31942 to X server refused I am very new to linux/backtrack. I recently tried to download the .iso of backtrack 4, and I used unetbootin just as this site recommended to install on usb drive. All seemed to work, but when I type: startx and press enter, a whole bunch of stuff pops up like (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server error. 08-19-2010,08:35 AM #2 Archangel-Amael View Profile View Forum Posts Super Moderator Join Date Jan 2010 Location Somewhere Posts 8,010 Re: Connecting to X server refused Reboot, try fixvesa before typing startx and see if that fixes the problem. If not you will need to provide more info. Example post can be found through searching here and google. To be successful here you should read all of the following. ForumRules ForumFAQ If you are new to Back|Track Back|Track Wiki Failure t
installed the ubuntu 7.10 version, and im tryn to get gnome to work. https://www.howtoforge.com/community/threads/x-dosnt-start.20987/ After "apt-get install gnome" i try to start it by "startx" i recive this error: Code: [emailprotected]:~$ startx xauth: creating new authority file /home/mayhem/.serverauth.4928 X: cannot stat /etc/X11/X (No such file or directory), aborting. giving up. xinit: Connection refused (errno 111): unable to connect to X server xinit: No such process (errno 3): Server unable to error. What to do? Last edited: Mar 4, 2008 mayhem, Mar 3, 2008 #1 topdog Active Member HowtoForge Supporter Do you have the package xserver-xorg-core installed ? As the link to your Xorg is missing. topdog, Mar 4, 2008 #2 mayhem New Member No i havnt done that. I will do it unable to connect now, thanks mayEdit: I did "sudo apt-get install xserver-xorg-core" and it installed everything, but it dosnt start now, when i do "startx" this comes up: Code: [emailprotected]:~$ startx xauth: creating new authority file /home/mayhem/-serverauth.2345 X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.3) Current Operating System: Linux zeroseven.address.com 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC 2008 i686 Build Date: 18 January 2008 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present 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: Tue Mar 4 13:46:13 2008 (==) Using config file: "/etc/X11/xorg.conf" Fatal server error: No valid FontPath could be found. XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after