Grafpup This forum is for the discussion of Grafpup 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.
|
 |
07-05-2007, 11:21 AM
|
#1
|
LQ Newbie
Registered: May 2007
Location: UK
Distribution: Grafpup
Posts: 28
Rep:
|
Xorgwizard with older monitor
Hi,
Using the Xorgwizard with an older monitor, one that doesn't return data to ddcprobe, seems to cause a problem.
I'm using 2.0final, and initially set up the machine using a Dell monitor (DELe008). Then I moved the machine onto an Ilyama vision master type monitor. It's 2000 vintage, which you would think has DDI data, but it seems not. (Or maybe my monitor has a broken pin on the connector, etc. etc).
I went through the xorgwizard, manually giving the size of screen I wanted (1024x768) and I have a file called /etc/X11/xorg.conf.VIACLE_266 which is the (correct) form when the monitor doesn't return anything ($PROFILEMONITOR is null).
Anyway, it causes the system to never get into X windows, as when the /usr/X11R7/bin/xlogin script checks to see if the hardware has changed, it always thinks it has, and runs xorgwizard again. And again, forever.
I'm going to look for a way to get xlogin to accept/use a file matching what I have, ie. with no monitor id string in its name, when $PROFILEMONITOR is a null variable. That could fix the problem.
It could also help those running monitor-less systems.
I'll be getting going on that when I come back from a few days away. In the meantime, if anyone has any thoughts... post here.
Cheers,
Simon.
|
|
|
07-11-2007, 06:24 AM
|
#2
|
Member
Registered: Nov 2004
Location: Adelaide, Australia
Distribution: Lindows/Linspire, SuSE, PC-BSD, ubuntu, puppy
Posts: 239
Rep:
|
Simon, have you tried copying and pasting lines from the /etc/X11/xorg.conf file (whatever the path is, lol) on another working installation into the grafpup installation (or live)?
I initially did things like that in the early versions of PC-BSD because of difficulties in configuring any resolution apart from 1024x768 in its pre-version1.0 release days.
Richard
Adelaide
South Australia
|
|
|
07-12-2007, 10:58 AM
|
#3
|
LQ Newbie
Registered: May 2007
Location: UK
Distribution: Grafpup
Posts: 28
Original Poster
Rep:
|
Hi,
No I haven't tried that, don't need to really, but thanks for the suggestion.
I've progressed a little on this: I determined that my monitor does have DDC info (not ddi, that was a typo) and the ID is correctly obtained "most of the time".
For some reason, the monitor didn't return it during the incident that led to me starting this thread.
What I have done, is added some lines to the 'xlogin' script, to detect the lack of monitor (either because it really is unplugged, or it's there but unresponsive to a ddcprobe) and set a flag. This lets me know whether to ignore the (null) $PROFILEMONITOR shell variable which occurs in that case.
I don't quite know where to go with this bit of code next, but my idea is that I could find and use an xorg.conf, taken from *any* previously-used one on the system, with the matching video chipset.
That would work in the event the monitor is unplugged or no DDC info is returned, and get X started - with 'some kind of' display parameters.
I need X to start, because I'm going to use x11vnc for remote desktop access. That uses the 'main desktop', not extra ones separate from the main, like some other VNC programs do (TightVNC etc). I also found that running a second X server (TightVNC) was costly to my system speed (it's only a medium power machine).
I also had trouble getting logins to function on tightvnc type programs, since Slim only permits one instance running at a time. That was a whole load of problems I didn't fancy addressing, so I've gone for the alternative path of using the main desktop over VNC. It lets me work on the machine if I'm at the console, or elsewhere on my network. Quite in line with the Puppy concept I think, simple and lean, but effective.
Last edited by emlsnws; 07-12-2007 at 11:02 AM.
|
|
|
07-13-2007, 11:23 AM
|
#4
|
LQ Newbie
Registered: May 2007
Location: UK
Distribution: Grafpup
Posts: 28
Original Poster
Rep:
|
Oh, I forgot to mention.
In working out what was going on with the xlogin script, I found that it had fallen foul of a problem that's occurred before....
I think it was lines 265 and 304 of xlogin, the variable $HOME is referred to - but when xlogin is run from /etc/inittab that variable is not defined. So, I was seeing error messages like:
//.config/XLOADED : not found
Nathan has seen this elsewhere and it's an easy fix. I put this:
at the top of the file, which fixed it just fine.
|
|
|
All times are GMT -5. The time now is 06:03 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
|
|