No graphical way to allow TCP logins to Xserver in gdmsetup. No alternate method documented.

Bug #498434 reported by komputes on 2009-12-19
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: gdm

There is no graphical way to allow TCP logins to Xserver. This feature was lost with the introduction of the new gdmsetup in karmic. The is no documentation on an alternate way to accomplish this task.

ProblemType: Bug
Architecture: i386
Date: Sat Dec 19 01:47:18 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: gdm 2.28.1-0ubuntu2.1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: gdm
Uname: Linux 2.6.31-16-generic i686

komputes (komputes) wrote :
Sebastien Bacher (seb128) wrote :

The option seems a poweruser one and not one for this tools

Changed in gdm (Ubuntu):
importance: Undecided → Wishlist
komputes (komputes) wrote :

Seb, you are correct as most users do not use this. However, how would a poweruser go about making this change in karmic (conf file)? Is this documented anywhere?

I recommend having a default config file with commented instructions that a user can easily modify should they need this option enabled.

Not sure if it's documented but if it's not it should, letting the bug open for that, we are not going to add the option to the gtk interface though which is made for standard users

summary: - [karmic] No Graphical way to allow TCP logins to Xserver in gdmsetup
+ No Graphical way to allow TCP logins to Xserver in gdmsetup
summary: - No Graphical way to allow TCP logins to Xserver in gdmsetup
+ No graphical way to allow TCP logins to Xserver in gdmsetup
komputes (komputes) on 2010-01-13
description: updated
summary: - No graphical way to allow TCP logins to Xserver in gdmsetup
+ No graphical way to allow TCP logins to Xserver in gdmsetup. No
+ altername method documented.
summary: No graphical way to allow TCP logins to Xserver in gdmsetup. No
- altername method documented.
+ alternate method documented.
komputes (komputes) wrote :

Found the gdm daemon to be documented in /usr/share/gnome/help-langpack/gdm/en_GB/gdm.xml although I am:
1) Unsure how a user should find this information (simplest way to access this in readable format)
2) Unsure if this works (needs testing)
3) Surprised not to see this documented elsewhere (wiki)

Below is the section this bug is concerned with. Attached is a simplified text file of the configuration options found in the xml file cited above.

Config file:
/etc/gdm/custom.conf

Security Options
[security]

Option:
DisallowTCP

Usage example:
DisallowTCP=true

Details:
If true, then always append -nolisten tcp to the command line when starting attached Xservers, thus disallowing TCP connection. This is a more secure configuration if you are not using remote connections.

komputes (komputes) wrote :

Strike issue 1 - found it in a readable format:
http://library.gnome.org/admin/gdm/2.28/configuration.html.en#daemonconfig

Now only needs testing and wiki documentation.

Mark Sobell (mark-sobell) wrote :

Fix works in 10.04.

I created a file named /etc/gdm/custom.conf with the following contents on a server named lynx1:

[security]
DisallowTCP=false

I then rebooted lynx1.

From another system I gave the following commands

$ export DISPLAY=lynx1:0.0
$ xeyes

The eyes appeared on lynx1.

When I removed the custom.conf file and rebooted, I got the following message when I ran xeyes:

$ xeyes
Error: Can't open display: lynx1:0.0

shankao (shankao) wrote :

I agree that this is an advanced configuration option and should not be in the standard ones, but available in some installable program from the ubuntu software center.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers