Howto activate xdmcp? Ubuntu Mate 15.10 Rapsberry PI

Hi folks

first of all. Great job! Works great.

I wonder how to activate xdmcp? I looked in some Ubuntu faqs but didn’t found what I needed :smile:
Any hints on that?

Regards

Stephan

Hi Stephan,

try this:

https://wiki.ubuntu.com/xdmcp

Thanks Wolfman

I saw this article before, but my xdmcp knowledge is too limited. I tried to add the xdmcp enable statement in most of the conf files in the /etc/lightdm directory, but all I get over xdmcp (using xephyr) is a black screen…

Contents of /etc/lightdm:

sforth@daddelpi:/etc/lightdm$ ls -alR
.:
total 28
drwxr-xr-x 3 root root 4096 Dez 9 21:14 .
drwxr-xr-x 131 root root 12288 Dez 9 21:45 …
-rw-r–r-- 1 root root 2757 Aug 7 03:30 lightdm-gtk-greeter.conf
drwxr-xr-x 2 root root 4096 Dez 9 21:42 lightdm-gtk-greeter.conf.d
-rw-r–r-- 1 root root 452 Okt 14 01:31 users.conf

./lightdm-gtk-greeter.conf.d:
total 16
drwxr-xr-x 2 root root 4096 Dez 9 21:42 .
drwxr-xr-x 3 root root 4096 Dez 9 21:14 …
-rw-r–r-- 1 root root 340 Jun 26 10:17 01_ubuntu.conf
-rw-r–r-- 1 root root 1544 Dez 9 21:42 99_ubuntu-mate.conf

Did you alter the conf file as root?, press Alt + F2 and enter “gksudo caja”, navigate to the folder and then try altering the conf file as “root” and save it!.

This is the bit from that link I posted above and I assume you just change the bits you need to lightdm!.

To enable XMDCP in Ubuntu 10.04 with the default (GNOME) GDM display manager, create the file “custom.conf” under /etc/gdm/ with the following contents: [daemon]

RemoteGreeter=/usr/lib/gdm/gdmlogin

[xdmcp]
Enable=true

Then restart GDM, either by restarting the entire computer or running the following command (log out locally before you run this!):

sudo service gdm restart

Yes I did. I am used to operate Solaris systems :smile:
Forgot to mention that this is a Raspberry PI running Ubuntu Mate 15.10

Regards Stephan

Hi Stephan,

I don’t really know myself so can’t really help you further as I know nothing about RasPI!. :frowning:

Thanks anyway! :slight_smile: I’ll do further Google investigations :smile:

1 Like

Hi, pingaffe

Did you already figured out? Just in case, I’d like to share how did I do. It’s seems MATE does not have /etc/lightdm/lightdm.conf by default. so I created lightdm.conf and write those line below;

[LightDM]
start-default-seat=false
xserver-allow-tcp=true
[SeatDefaults]
xserver-allow-tcp=false
greeter-session=lightdm-greeter
[XDMCPServer]
enabled=ture

and reboot. Then it should be work. at least my RPI3 with Ubuntu MATE 15.10 is works fine with this configuration.
The point is Xwindow must not be started on RPI3. I mean GUI login. and must allow tcp session.

This is exactly what I was looking for to get a Xdmcp client working to for my Pi.

I did notice (and correct) the enabled XDMCPServer option to “true” though. Looks like a typo.