Αναρτήθηκε από: ktogias | Νοέμβριος 27, 2007

How to configure Ubuntu 7.10 to accept remote graphical logins (XDMCP)

From 04 Feb 2010 ktogias blog has been moved to blog.ktogias.gr. To read updates and new comments and comment on this post please go to: http://blog.ktogias.gr/2007/11/27/how-to-configure-ubuntu-710-to-accept-remote-graphical-logins-xdmcp/

XDMCP is the protocol that allows remote login. If you want to log into GDM remotely (I’d never turn this on on open network, use ssh for such remote usage). You can then run X with -query <thishost> to log in, or -indirect <thishost> to run a chooser.

In order to enable XDMCP on Ubuntu 7.10 I had to move /etc/gdm/gdm.conf to /etc/gdm/gdm.conf-custom . According to the docs newer gdm versions should read the configuration from gdm.conf-custom, but if gdm.conf exists then this file is used instead of the GDM Custom Configuration file for backwards support. In my Ubuntu installation both files existed, and although GDM started reading from gdm.conf after a lot of debuging I found out that some child processes ignored gdm.conf an looked for config options in gdm.conf-custom. So I moved gdm.conf to gdm.conf-custom so there is only one file from witch configuration is readed:

sudo mv etc/gdm/gdm.conf /etc/gdm/gdm.conf-custom

After that open /etc/gdm/gdm.conf-custom with a text editor as root and make sure the following options are set as shown below:

in [security] section:

DisallowTCP=false

in [xdmcp] section:

Enable=true

It’s all done! Just run X -query <serverip> :1 from the console of another pc, where <serverip> is the ip (or hostname) of the ubuntu machine where you enabled XDMCP.

Advertisements

Σχολιάστε

Εισάγετε τα παρακάτω στοιχεία ή επιλέξτε ένα εικονίδιο για να συνδεθείτε:

Λογότυπο WordPress.com

Σχολιάζετε χρησιμοποιώντας τον λογαριασμό WordPress.com. Αποσύνδεση / Αλλαγή )

Φωτογραφία Twitter

Σχολιάζετε χρησιμοποιώντας τον λογαριασμό Twitter. Αποσύνδεση / Αλλαγή )

Φωτογραφία Facebook

Σχολιάζετε χρησιμοποιώντας τον λογαριασμό Facebook. Αποσύνδεση / Αλλαγή )

Φωτογραφία Google+

Σχολιάζετε χρησιμοποιώντας τον λογαριασμό Google+. Αποσύνδεση / Αλλαγή )

Σύνδεση με %s

Kατηγορίες

Αρέσει σε %d bloggers: