9.10 and fixed X resolution?

stan stanb at panix.com
Mon Aug 24 16:27:08 UTC 2009


On Sat, Aug 22, 2009 at 09:53:35AM +0200, Oliver Grawert wrote:
> hi,
> Am Freitag, den 21.08.2009, 15:44 -0400 schrieb stan:
> > On Fri, Aug 21, 2009 at 04:03:29PM +0200, Oliver Grawert wrote:
> > > hi,
> > > 
> > > Am Freitag, den 21.08.2009, 09:43 -0400 schrieb stan:
> > > > X comes up in a very low resolution/color config. In years past the
> > > > resolution, and color depth was specifed in te`he Xserver config file, but
> > > > these days it seems to get auto detected, when X starts up.
> > > 
> > > have a look at
> > > https://lists.ubuntu.com/archives/ubuntu-mobile/2009-July/002546.html
> > > 
> > If I understand that article corectly, it allows one to change the
> > resolution _after_ the VirtualBox is up. Unfortunately, in my case that's
> > too late, as Windows has already configured based upon the low res/low
> > color setup. I really need X to come up in a reasonable res on the TTY,
> > even though the machine does not have a monitor connectd. I suspect that
> > what I need to do is put a nodeline entry in the X config file. I supose,
> > in theroy I could use a 2nd X config file for just this tty, but I would as
> > soon the main X session came up in a decent res when this machine is
> > rebooted, as well.
> just work out the xrandr line needed for your proper resolution and put
> it into an X startup script
> i.e. /etc/X11/Xsession.d/45custom_xrandr-settings
> 
aOK, this is helpful, but my sitation is slightly different. In addition to
puting this here, which I assume will control the "main" X sesion, I invole
a 2nd dedicated X session for teh Virtulbox user. I have a script in
/etc/init.d that, among other things does "/usr/bin/startx -- :1 vt9".
That's one of the reasons I initialy wnated to set this up in the X config
file, as it would have been global to all X sessions started on this
machine.

However, I supose I should do this "the Ubuntu way" {-). So, given that,
will this one location control all X sessions?

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.




More information about the ubuntu-users mailing list