XGL supercedes GDM for X server startup options

Bug #150628 reported by mmomjian
2
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned
Declined for Gutsy by Henrik Nilsen Omma
xserver-xgl (Ubuntu)
Won't Fix
Undecided
Unassigned
Declined for Gutsy by Henrik Nilsen Omma

Bug Description

I was trying to get remote X11 working on my Ubuntu-Gutsy-build-13 laptop with compiz and emerald. After lots of work, I saw this line when I did a ps -ef -ww|grep X:
matthew 11391 11337 0 12:12 ? 00:00:00 /bin/sh /usr/share/xserver-xgl/Xgl-lockfile-wrapper :1 -accel xv:pbuffer -accel glx:pbuffer -nolisten tcp -fullscreen -br +xinerama

As you can see, it is the -nolisten tcp flag that is killing the remote X11 connection. I set out to find a way to remove the flag.

The first thing I did was make sure that the box "Deny remote TCP connections" was unchecked in gdmsetup. I preceded to edit /etc/gdm/gdm.conf, /etc/gdm/gdm.conf-custom, /etc/X11/xinit/xserverrc, and many other files I can't remember.

I then tried logging in to "Failsafe GNOME" instead of "Run XClient Script", and the argument was gone. I concluded that it was XGL causing the problem.

Finally, I did a grep nolisten on /etc/X11 and got this line:
98xserver-xgl_start-server:XGL_OPTS="-nolisten tcp -fullscreen -br +xinerama"

Bingo! I edited that file to remove the -nolisten tcp argument and restarted the X server, and ps -ef -ww|grep X now said:
matthew 11391 11337 0 12:12 ? 00:00:00 /bin/sh /usr/share/xserver-xgl/Xgl-lockfile-wrapper :1 -accel xv:pbuffer -accel glx:pbuffer -fullscreen -br +xinerama

I can provide any other info you need.

Revision history for this message
John Dong (jdong) wrote : Re: [Bug 150628] XGL supercedes GDM for X server startup options

Yeah, I can believe this happens; -nolisten tcp is in there because
unless it's in there, Xgl opens a TCP port to the public whenver it is
running.

Revision history for this message
mmomjian (matthew-momjian) wrote :

Yes, but ceartinly if you disable the arg with gdmsetup, XGL should see this, no? I have trouble believing I am the only person running XGL who wants to do remote X11.

Revision history for this message
John Dong (jdong) wrote : Re: [Bug 150628] Re: XGL supercedes GDM for X server startup options

Yeah, perhaps we should detect the GDM setting (parent X server setting,
rather) of TCP listening and have that apply to Xgl too.

I've not heard of others trying to use Xgl over a remote X11 connection,
so I 'm not surprised if you're the only one

Revision history for this message
mmomjian (matthew-momjian) wrote :

<I've not heard of others trying to use Xgl over a remote X11 connection,
so I 'm not surprised if you're the only one>

Huh? I'm not trying to use XGL over a remote connection... I'm just using XGL as my window manager and trying to get normal X11 working.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Invaliding the compiz bug; this has nothing to do with compiz.

I, too, am not surprised that you're the first to try this. I've only ever done X-over-SSH or used a more network-friendly protocol setup such as xvnc, both of which work. Also, there's still an underlying :0 X server which will be respecting the gdmsetup options.

Also note that Xgl is not a window manager, it's an X server :).

Changed in compiz:
status: New → Invalid
Revision history for this message
mmomjian (matthew-momjian) wrote :

not correct

Revision history for this message
mmomjian (matthew-momjian) wrote :

sorry for ^^^ I was trying to edit the compiz bug report. You are correct this does not affect compiz sry my bad. I would think this would be an easy bugfix.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

This bug was nominated for Gutsy but does currently not qualify for a 7.10 stable release update (SRU) and the nomination is therefore declined.
According the the SRU policy, the fix should already be deployed and tested in the current development version before an update to the stable releases will be considered. With 7.10 now released, that policy applies to this bug. See: https://wiki.ubuntu.com/StableReleaseUpdates .
The bug is not being closed as work will continue on fixing it for the next release, Hardy Heron (8.04). If the state of this bug should change such that it qualifies for the SRU process, please contact the person who originally declined it and ask them to re-evaluate it. To help improve the state of this bug see: https://wiki.ubuntu.com/Bugs/HowToTriage .

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

xserver-xgl has been deprecated upstream, and removed from Intrepid. Closing the bug as won't fix.

Changed in xserver-xgl:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.