Author |
Message |
mjl
|
Posted: Tue Jun 10, 2008 11:17 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
It is only a matter of adjusting permissions and / or enabling the root power through /etc/sudoers
Mike
|
|
Top |
|
 |
infinitenothing
|
Posted: Wed Jun 11, 2008 12:27 am |
|
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
|
I didn't see a UseDisplayDevice option on your config. On your dual head card, do you have 2 DVIs or a DVI and a VGA? If you have the latter, I'm guessing the LCD is on the DVI. Correct me if I'm wrong.
You would need to add this option to your screen or display section:
Code: Option "UseDisplayDevice" "DFP" If you have the LCD on the VGA then the option is Code: Option "UseDisplayDevice" "CRT" If you have two DVIs I think it's ... "DFP-0" for the first head or something like that. More info on: ftp://download.nvidia.com/XFree86/Linux ... dix-d.htmlAs for running the code as root, that's what the sudo command is for. Code: # sudo /usr/bin/YourScriptName.sh
should give your script aliasing or copy/delete privileges of the root.
_________________ Skill level: 10^-3
|
|
Top |
|
 |
roofchop
|
Posted: Sat Jun 14, 2008 11:10 pm |
|
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location:
Montreal, Canada
|
Hey Guys thanks for the help. I have the 2 scripts working no problem, I just need to figure out how to make the LCD (VGA) show video when the projector (DVI) is plugged in. The only way I can make it work is to unplug the projector and reboot. Any ideas?
JJ
edit: Upon closer inspection my 2 xorg.conf files are identical. Why when the projector is plugged in, there is no video on the LCD. Must be an issue of the resolution chosen by myth. I notice they are different.
_________________ roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....
Last edited by roofchop on Sat Jun 14, 2008 11:15 pm, edited 1 time in total.
|
|
Top |
|
 |
infinitenothing
|
Posted: Sat Jun 14, 2008 11:14 pm |
|
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
|
roofchop wrote: Hey Guys thanks for the help. I have the 2 scripts working no problem, I just need to figure out how to make the LCD (VGA) show video when the projector (DVI) is plugged in. The only way I can make it work is to unplug the projector and reboot. Any ideas? JJ
Did you add this line to your LCD xorg file?
Code: Option "UseDisplayDevice" "CRT" It goes under Code: Section "Monitor"
_________________ Skill level: 10^-3
|
|
Top |
|
 |
roofchop
|
Posted: Sun Jun 15, 2008 5:30 pm |
|
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location:
Montreal, Canada
|
I did add:
Code: Option "UseDisplayDevice" "CRT"
to both the monitor and the screen section with no effect.
Thanks for the input, I am completely lost on this problem these days.
JJ
_________________ roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....
|
|
Top |
|
 |
infinitenothing
|
Posted: Sun Jun 15, 2008 8:24 pm |
|
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
|
roofchop wrote: I did add: Code: Option "UseDisplayDevice" "CRT" to both the monitor and the screen section with no effect. Thanks for the input, I am completely lost on this problem these days. JJ The first thing I'd test is boot with the projector unplugged. It should go to the monitor. Now plug the projector in and try the projector script. Make sure that works. If that works, double check that your script is actually copying/linking the right file into the xorg.config file. You can double check this by running the monitor script and then using nano to look at xorg.config and looking for the new option. If that checks out, your monitor must not be announcing itself when X starts. In that case, you should also use Code: Option "ConnectedMonitor" "CRT"
Which will force detection of the VGA attached device.
Documentation: ftp://download.nvidia.com/XFree86/Linux ... dix-d.html
_________________ Skill level: 10^-3
|
|
Top |
|
 |
roofchop
|
Posted: Sun Jun 15, 2008 11:30 pm |
|
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location:
Montreal, Canada
|
Quote: The first thing I'd test is boot with the projector unplugged. It should go to the monitor. Now plug the projector in and try the projector script. Make sure that works.
If that works, double check that your script is actually copying/linking the right file into the xorg.config file. You can double check this by running the monitor script and then using nano to look at xorg.config and looking for the new option.
I have done this. After some work I know both the scripts work. I added a line at the beginning of each xorg.conf file so I could identify them.
Code: #LCD xorg.conf I tried adding Code: Option "ConnectedMonitor" "CRT" but after either Code: pkill x or a reboot there is no video on the lcd, the screen just turns blue. The only way I can get video on the lcd is to reboot with the projector unplugged.
Thanks for the input. I would be pretty happy to defeat this issue.
JJ
_________________ roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....
|
|
Top |
|
 |
infinitenothing
|
Posted: Mon Jun 16, 2008 12:24 am |
|
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
|
|
Top |
|
 |