Re: Re: Laptop + VGA + X

2015-12-30 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Dec 30, 2015 at 10:05:22AM -0200, Hudson Flavio Meneses Lacerda wrote:
> Joel Roth wrote:
> >Hudson Flavio Meneses Lacerda wrote:
> >>Hi.
> >>
> >>The monitor of my laptop is broken, thus the screen frequently becomes
> >>white. Then, it is needed to turning off the energy and restart the laptop
> >>(not always with success).
> >>
> >>Therefore, I plugged a VGA monitor. However, the VGA monitor does not work
> >>when X is active. (It works very fine with framebuffer, though.)
> >>
> >>How to enable Xorg to use a VGA monitor plugged to a laptop?
> >
> >I use a command like this:
> >
> >xrandr --output LVDS1 --auto --output VGA1 --auto
> 
> Hi Joel.
> 
> I just tried your suggestion, but got this message:
> 
> hudson@musix:tmp$ xrandr --output LVDS1 --auto --output VGA1 --auto
> warning: output LVDS1 not found; ignoring
> warning: output VGA1 not found; ignoring
> hudson@musix:tmp$

Ah -- LVDS1 is just one of the possible names for the laptop's display.
To find out how yours are called (and what resolutions they report as
available), just try (best with second monitor attached, so you can
get a complete list):

  xrandr

(My laptop's internal monitor, for example, is called just "LVDS", not
"LVDS1").

HTH
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlaDz8oACgkQBcgs9XrR2kY3bwCdGsFon0Zg5KO0L3ntwD45Ut9b
nnsAniDH4Ynz57/nOa2yCKwJJLi0TVbc
=E45y
-END PGP SIGNATURE-



Re: Re: Laptop + VGA + X

2015-12-30 Thread francois
On Wed, Dec 30, 2015 at 10:05:22AM -0200, Hudson Flavio Meneses Lacerda wrote:
> Joel Roth wrote:
> >Hudson Flavio Meneses Lacerda wrote:

> >>How to enable Xorg to use a VGA monitor plugged to a laptop?
> >
> >I use a command like this:
> >
> >xrandr --output LVDS1 --auto --output VGA1 --auto

> I just tried your suggestion, but got this message:
> 
> hudson@musix:tmp$ xrandr --output LVDS1 --auto --output VGA1 --auto
> warning: output LVDS1 not found; ignoring
> warning: output VGA1 not found; ignoring
> hudson@musix:tmp$

Your monitor names are probably a little bit different.
Typing "xrandr" with no option will allow you to list the monitors
actually seen by X. For example I have eDP1, VGA1 and HDMI1 as
possible names for my current configuration :

$ xrandr 
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 
194mm
   1366x768  60.03*+  40.01  
   1360x768  59.8059.96  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)


francois



Re: Re: Laptop + VGA + X

2015-12-30 Thread Hudson Flavio Meneses Lacerda

Joel Roth wrote:

Hudson Flavio Meneses Lacerda wrote:

Hi.

The monitor of my laptop is broken, thus the screen frequently becomes
white. Then, it is needed to turning off the energy and restart the laptop
(not always with success).

Therefore, I plugged a VGA monitor. However, the VGA monitor does not work
when X is active. (It works very fine with framebuffer, though.)

How to enable Xorg to use a VGA monitor plugged to a laptop?


I use a command like this:

xrandr --output LVDS1 --auto --output VGA1 --auto


Hi Joel.

I just tried your suggestion, but got this message:

hudson@musix:tmp$ xrandr --output LVDS1 --auto --output VGA1 --auto
warning: output LVDS1 not found; ignoring
warning: output VGA1 not found; ignoring
hudson@musix:tmp$

Thanks.
Hudson

P.S.: The desktop manager I am using is Fluxbox (1.3.5-2).



Re: Re: Laptop + VGA + X

2015-12-30 Thread Hudson Flavio Meneses Lacerda

Gary Dale wrote:

On 29/12/15 07:00 PM, Hudson Flavio Meneses Lacerda wrote:

Hi.

The monitor of my laptop is broken, thus the screen frequently becomes
white. Then, it is needed to turning off the energy and restart the
laptop (not always with success).

Therefore, I plugged a VGA monitor. However, the VGA monitor does not
work when X is active. (It works very fine with framebuffer, though.)

How to enable Xorg to use a VGA monitor plugged to a laptop?

Thanks.
Hudson Lacerda


Which desktop manager are you using? Usually they have graphical tools
to detect the monitors and switch between them, use them both with the
same output or use them as an extra-large single display. It's pretty
rare these days to need to fiddle with config files for this.


Hi.

I am using Fluxbox 1.3.5-2 (very basic setup, with just the main bar and 
gkrellm, no "desktop" icons or other plugins).


When I used this laptop for presentations (connected to data 
projectors), I sometimes needed to use the framebuffer and tools like 
fbgs, fbi, gpm, etc.


May that be a hardware limitation? Is not X not compatible with old CRT 
monitors anymore?


Thanks.

--
Hudson Lacerda - www.hudsonlacerda.com
--

- Venha para a Diaspora* - uma rede social livre e descentralizada
https://diasporafoundation.org
https://diasporabr.com.br

- Mantenha o controle de sua computação, senão ela vai controlar você!
https://www.gnu.org/philosophy/keep-control-of-your-computing.html

- O modelo das urnas eletrônicas brasileiras é o mais antiquado e
  obscuro em uso no mundo.
http://votoseguro.org