In a user account : startx not working, "No Protocol Specified"
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100
Rep:
In a user account : startx not working, "No Protocol Specified"
Just now, my 'startx' has stopped working for my personal account.
I created another account to use Slackware.It drops 'startx' a few first times now. I have to call the command twice. Don't know why, I don't get those very often.
I believe it happened about around the time that I accidentally typed 'startx' into the terminal while using my personal account but I don't think it caused it. I am uncertain what caused it. I tried digging.
Basically, I log in and I type startx, the screen goes blank completely. I panic and I go for the F1+Alt+Ctrl combo and wind up into the terminal to an ever going loop of "No Protocol Specified'4 times and a couple of dots over and over again on the screen.
I Ctrl+X combo that and its as usual business again. Anytime I type startx I get a blank screen followed by 'No Protocol Specified'.
Any help in this area? Please? I understand there is the simple but tedious move of moving everything over to a new user. But if there is a shorter way to sort this out then it'd be nice. Maybe some insight into the issue.
you have a program called script run it with a file name like Xerror.txt
then startx
script will write the complete output from startx and what ever error messages there are in Xerror.txt
when your sure X will not start give it a crtl+alt+back space the enter exit on the VT you ran script from
(without the error messages it's damn hard to fix X)
then post the Xerror.txt here you can use links -g for a web browser from a VT with out X running
my install connects to the net out of the box most likely yours will to
or you could type X -configure and try that xorg.conf file X will give you a message telling you how to test the new xorg.conf file it just wrote
about moving to another user
read the man page for chown and tell it to work on * then */* then */*/* keep adding /* until it has walked the whole
user directory tree then just copy the directory tree
if you have an accidental power off this also works on /tmp
with rm to delete ALL the lock files and unused scokets
you may even have a lock file keeping X from running
Distribution: Slackware 13.0, Ubuntu 9.10, Windows XP Pro SP3
Posts: 100
Original Poster
Rep:
Quote:
Originally Posted by rob.rice
you have a program called script run it with a file name like Xerror.txt
then startx
script will write the complete output from startx and what ever error messages there are in Xerror.txt
when your sure X will not start give it a crtl+alt+back space the enter exit on the VT you ran script from
(without the error messages it's damn hard to fix X)
then post the Xerror.txt here you can use links -g for a web browser from a VT with out X running
my install connects to the net out of the box most likely yours will to
or you could type X -configure and try that xorg.conf file X will give you a message telling you how to test the new xorg.conf file it just wrote
about moving to another user
read the man page for chown and tell it to work on * then */* then */*/* keep adding /* until it has walked the whole
user directory tree then just copy the directory tree
if you have an accidental power off this also works on /tmp
with rm to delete ALL the lock files and unused scokets
you may even have a lock file keeping X from running
Okay, I did the second thing you asked me to try.
Here are the error messages:
Code:
X.Org X Server 1.9.5
Release Date: 2011-03-17
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.37 Slackware Linux Project
Current Operating System: Linux darkstar 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686
Kernel command line: BOOT_IMAGE=Linux ro root=805 vt.default_utf8=0
Build Date: 18 March 2011 12:08:03AM
Current version of pixman: 0.20.2
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: Sat Oct 20 22:48:38 2012
(EE) Unable to locate/open config file: "/root/xorg/conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.