[GRLUG] Xnest/Xephyr

John-Thomas Richards jtr at jrichards.org
Mon Sep 5 22:36:28 EDT 2011


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.

This worked—after a restart of gdm3.  :-)  Thanks.
-- 
john-thomas
------
Laws too gentle are seldom obeyed; too severe, seldom executed.
Benjamin Franklin, statesman, author, and inventor (1706-1790)

-- 
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