[GRLUG] Xnest/Xephyr

John-Thomas Richards jtr at jrichards.org
Mon Aug 29 09:37:17 EDT 2011


On Mon, Aug 29, 2011 at 06:15:03AM -0400, John-Thomas Richards wrote:
> On Sun, Aug 28, 2011 at 11:16:06PM -0400, Jeff DeFouw wrote:
> > On Sun, Aug 28, 2011 at 10:24:01PM -0400, John-Thomas Richards wrote:
> > > On Sat, Aug 27, 2011 at 09:34:40PM -0400, Jeff DeFouw wrote:
> > > > On Sat, Aug 27, 2011 at 08:14:43PM -0400, John-Thomas Richards wrote:
> > > > > I need to login as another user with a fully-functioning X session.  I
> > > > > can accomplish this easily enough via
> > > > > 
> > > > >    gdmflexiserver --xnest
> > > > > 
> > > > > However, that produces a window of just 640x480???not enough to do much of
> > > > > anything with.  Google reveals lots of people asking the question but I
> > > > > cannot find a definitive answer on how to increase this window size.
> > > > > Even 1024x768 would be workable, though I would prefer just about
> > > > > anything up to 1920x1080.
> > > > > 
> > > > > One suggestion was to add the line
> > > > > 
> > > > >    [daemon]
> > > > >    Xnest=/usr/bin/Xephyr -screen 1280x800 -extension RANDR
> > > > > 
> > > > > to /etc/gdm/gdm.conf but that has no effect.  Any ideas?
> > > > 
> > > > Are you using gdm3?  Looks like it's now "NestedXserverCommand" in 
> > > > /etc/gdm3/daemon.conf.  The default (on Debian unstable) calls 
> > > > "/usr/share/gdm/gdmXnestWrapper -br -audit 0".
> > > 
> > > Yes, I am.  Thanks for pointing me in that direction.  I cannot find any
> > > documentation on it (gdm3).  Googling "NestedXserverCommand" does not
> > > provide any links that are useful to me.  
> > 
> > I found it in the /usr/share/gdm/gdm.schemas file, which is supposed to 
> > contain a list of all the config file options for gdm3.  Based on that, 
> > you would want something like
> > 
> > [daemon]
> > NestedXserverCommand=/usr/bin/Xephyr -audit 0 -screen 1280x800 -extension RANDR
> > 
> > in /etc/gdm3/daemon.conf.
> 
> Gaah.  I hate inconsistency.  If gdm is in /etc/gdm/ and gdm3 is in
> /etc/gdm3, then shouldn't gmd3's config options be in /usr/share/gdm3?
> I saw that file and assumed (wrongly, apparently) it was for gdm, not
> gdm3.  Thanks, Jeff.  I'll give that a try.

I'm still getting a 640x480 window.
-- 
john-thomas
------
Too many have dispensed with generosity in order to practice charity.
Albert Camus, writer and philosopher (1913-1960)

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list