LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2011, 11:30 AM   #1
sin667
Member
 
Registered: Jul 2011
Posts: 59

Rep: Reputation: Disabled
Unable to start xserver on Mandrake 9.2


Hey, I'm basically a linux noobie, and have a problem with one of my machines I use for work.

As the title states I am unable to start my xserver, using the startx command I have been using for the past 5 years. It goes to the blue loading screen with the x for a cursor, hangs there for about a min or so then goes back to the command screen.

I get an error:
..
..
giving up.
xinit: Permission denied (errno 13): unable to connect to xserver

waiting for xserver to shut down

xinit: Server error.

I have tried logging on as root and trying startx again. Same error.

Any help to diagnose/solve this problem would be great.
 
Old 07-06-2011, 04:18 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Mandrake 9.2 is from 2003. It is unsupported for a very long time, you don't get any security updates and bugfixes and haven't got them for the past years. If that machine is connected to the net it is wide open for everyone to break into that system. Why are you using such an old version?
 
Old 07-07-2011, 07:46 AM   #3
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
The machine is on a closed network, and connected to a printer via scsi for the past 10 years.

The printer is still very useful, but the software that drives the printer is very old, and I believe can only run on a mandrake environment.

I understand finding help for this old version is probably slim to none. I wanted to try everything before I attempt a fresh install, as I know very little, and may not ever be able to get back running again.

Since my first post. I tried using the install CD's to find a repair utility. No dice, all I can find is an upgrade to 10.x or install fresh. That may be my only option.
 
Old 07-07-2011, 01:05 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Your hidden .Xauthority file might be the culprit. Copy it to another location, a new one will be created automatically. See if that helps.

Before attempting a fresh install, try using a live cd and see if your printer is still supported.

Last edited by {BBI}Nexus{BBI}; 07-07-2011 at 01:07 PM.
 
Old 07-07-2011, 02:35 PM   #5
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
Thanks for the idea, Nexus.

I moved the file, and then tried running startx again. Stalled the same way.

When it returned to the command screen I checked that it made a new file with the ls -a command. Sure enough it made a new one.

The printer I use is a large format machine and can only be driven using this old software. As far as I know there is no standard printer driver for it. So a live CD would probably not help unless I could load this rip software on it as well.

Any other ideas?
 
Old 07-07-2011, 02:59 PM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
What model printer? What software are you using with it? Do you know what model video card is in the machine? If you don't know please post the output of
Code:
lspci
I can't remember if Xorg was used with Mandrake 9.2, just in case it was can you post the contents of your /var/log/Xorg.0.log file. This file is likely to have a lot in it, perhaps it would better to post it to pastebin, then post the link to it here. Also the contents of your /etc/X11/xorg.conf file should one exist.

Lets see if we can't find where things are going wrong before suggesting further solutions.

Last edited by {BBI}Nexus{BBI}; 07-07-2011 at 03:04 PM.
 
Old 07-07-2011, 04:00 PM   #7
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
It's an x2Tech, from when Xerox dabbled in color graphics ~9 years ago. To this day it still prints faster than most printers on the market. The rip software I use is Caldera, a french imaging software.

I'm sorry. The lspci command posted a lot of info. Not sure if you need it all, but the bottom return is nVidia GeForce4 Ti 4200

I have no Xorg.0.log, or xorg.conf file. In either of those directories.

Closest to that name is XF86Config in /etc/X11/
or XFree86.0.log in /var/log

If that is what you want posted to pastebin let me know. I unsure how to get the contents of those files to a text file on a usb, but I'll try and find that tonight while I'm at home.
 
Old 07-07-2011, 04:32 PM   #8
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
The good news is Caldera RIP (from version 5.06 up to version 7.22) will work with Mandriva 2005. The discs can be downloaded from DistroWatch.

Newer versions of Caldera RIP run on other distros see here: Compatible Distributions.

That's all the info I need with regards to the make/model of graphics card.

The contents of XF86Config and XFree86.0.log will do. You can get them into a text file by typing (no need to navigate to the actual directories):
Code:
cat /etc/X11/XF86Config > xfconfig.txt
and
Code:
cat /var/log/XFree86.0.log > xfree86.txt
You should now have 2 txt files in your current directory. 1 called xfconfig.txt the other called xfree86.txt
 
Old 07-08-2011, 09:57 AM   #9
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
I made the txt files, but am having trouble mounting and getting the files to a usb drive...

They are too large for a floppy.
 
Old 07-08-2011, 10:02 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Compress them:
Code:
gzip -9 NAMEOFTEXTFILE
Should make them much smaller.
 
1 members found this post helpful.
Old 07-08-2011, 10:31 AM   #11
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
xfree86.txt link: http://pastebin.com/8MTrqNNB

xfconfig:
Code:
Section "Screen"
    Driver "svga"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 32
        Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
Thanks for the tip Toby.

Last edited by sin667; 07-08-2011 at 10:54 AM.
 
Old 07-08-2011, 01:21 PM   #12
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Nothing flagged up as an error in your xfree86 log. I can see something stange about your xfconfig though. The Driver section should have nv or nvidia not svga.

You can generate a new xfconfig by running as root:
Code:
XFdrake
then using your cursor keys select the correct videocard from the list.

Another option would be to select vesa as the vidoecard option, that should at least allow you to log in to a desktop.

Either way you'll get the opportunity to test your selection to see if the X server will work.
 
Old 07-08-2011, 02:06 PM   #13
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
I chose the GeForce 4 (generic) from the list, went to test and the screen went black and never came back. I had to hard reboot after 10min.

I just tried the vesa option under xfree4, same deal, I am looking at a black screen.
 
Old 07-08-2011, 02:08 PM   #14
sin667
Member
 
Registered: Jul 2011
Posts: 59

Original Poster
Rep: Reputation: Disabled
Also I wanted to thank you for taking the time, and I hope this is not as frustrating on your end as it is on mine.
 
Old 07-08-2011, 02:15 PM   #15
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
I can sympathise with your frustration. I'm happy to help out when time permits Can you take another look at your xfconfig and tell me what it says under the Driver section. Just use:
Code:
cat /etc/X11/XF86Config
and let it output to your screen.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xserver-xfree86: Xserver could not start on my ATI-radeon video card Shankarrajus Debian 2 07-17-2006 07:00 AM
Unable to Start Xserver w/AIW 7500 Paulymon Linux - Newbie 1 08-30-2005 06:51 PM
Start with no Xserver LinxNew Mandriva 1 05-08-2005 04:42 PM
XServer do not start mcp_achindra Linux - Software 1 04-29-2004 06:24 AM
Mandrake 8.0, cant start Xserver att666 Linux - Software 4 12-05-2001 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration