Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-07-2004, 02:20 AM
|
#1
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
|
startx doesn't startx for user
Hi all,
Just upgraded to MDK10.1 to see if it is any improvement and it will just not go graphical unless I am root.
Issuing startx as a user shows the NVIDIA splash screen, swiftly followed by the usual background you would normally get as the login manager gets set to do its stuff. Then it just drops back to a console prompt, almost as if I had issued ctrl+alt+backspace. As root, no problems, logs in runs normally. The xorg log file shows no errors, a couple of warnings about missing fonts, but other than that no clues.
Any one any suggestions what this might be?
TIA
|
|
|
11-07-2004, 01:00 PM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
As I recall, the same thing happened to me when I was (futilely) trying out Mdk 10.1 Community recently.
I'm almost certain it was because the system had shut down abnormally the last time, and there was a lock file that was locking me as normal user out of starting X, because the system was told I was already running X. As root I located the lock file and deleted it and then I was able to start X as normal user.
I wish I remembered the details, but at least this is a clue for you that might help.
(Edit: I have just searched and haven't located any such file. So... ? I'm virtually certain this is in essence what happened, but I have no idea what file I was able to delete in order to fix it.)
Last edited by jonr; 11-07-2004 at 01:29 PM.
|
|
|
11-07-2004, 02:17 PM
|
#3
|
Member
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
|
Hi,
The lock file you refer to is /tmp/X0-lock which doesn't appear to be the cause of this problem as it isn't present prior to me issueing the startx command, and when that fails, the lock file is automatically removed. Have you any more ideas?
|
|
|
11-07-2004, 02:30 PM
|
#4
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
Really out of ideas, but I'm grateful for your reassurance I wasn't losing my mind--that there is such a file.
What I'm virtually certain of, is that it was an authority problem. Root could start X but normal user could not because authority was lacking. I wish I could remember what I did to fix it! I remember feeling very clever about it, because I was unable to get online to seek help, and I solved the problem all by myself (a rare event). Now I feel lacking in cleverness.
Please post what you find out if you do solve this problem.
Any others have ideas?
|
|
|
11-07-2004, 03:07 PM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Yeah, it also may be that the system does not recognize the user's rights to his own configuration files in his home directory.
Try this...
Log in as root and change to the user's home directory.
e.g.
cd /home/USERNAME
then
find . -exec chown USERNAME {} \;
and
find . -exec chgrp USERNAME {} \;
Then try again.
|
|
|
11-07-2004, 07:00 PM
|
#6
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
That kinda rings a bell, too. I think maybe I had to basically change some permissions and ownerships that got screwed up somehow. Which is similar to taking a lock off the files!
|
|
|
11-08-2004, 04:03 PM
|
#7
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
OK, by chance I experienced the same problem I referred to above, again today.
I was playing around with other distributions and when I came back to Mandrake root could start X but as a normal user I couldn't, and got a timeout on the Xauthority file.
The solution: as root, change owner of jon's home directory to jon; and then give u+rxw permissions to the directory.
That fixed it. I could startx again as jon.
This may not be a problem identical to the one starting this thread, but it is what happened a few weeks ago, and same immediate easy solution.
The question is how the permissions and ownership ever got changed in the first place. I may never know.
|
|
|
11-08-2004, 05:42 PM
|
#8
|
Member
Registered: Sep 2004
Distribution: FreeBSD5.4
Posts: 82
Rep:
|
upgrade
when i did the upgrade i was getting a pink background?
never figured it out.
|
|
|
11-08-2004, 07:18 PM
|
#9
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
Re: upgrade
Quote:
Originally posted by greenmeanie
when i did the upgrade i was getting a pink background?
never figured it out.
|
As root I get a red background, as normal old me, I get a really ugly blue one. 
|
|
|
11-08-2004, 07:30 PM
|
#10
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
|
|
|
11-08-2004, 07:41 PM
|
#11
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
Trade ya computers! 
|
|
|
All times are GMT -5. The time now is 04:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|