Gdm 2061 1977 TS 19 11:01 ? 00:00:00 /usr/bin/dbus-daemon -session -address=systemd: -nofork -nopidfile -systemd-activation -syslog-only Notice that process 53167 does the "greeter" startup.Īnd for gdm. Gdm 53270 53268 TS 19 13:56 tty1 00:00:00 /usr/libexec/gnome-session-binary -systemd -autostart /usr/share/gdm/greeter/autostart Gdm 53268 53167 TS 19 13:56 tty1 00:00:00 dbus-run-session - gnome-session -autostart /usr/share/gdm/greeter/autostart Gdm 53167 53149 TS 19 13:56 tty1 00:00:00 /usr/libexec/gdm-x-session dbus-run-session - gnome-session -autostart /usr/share/gdm/greeter/autostart
#Remote desktop to ubuntu 16 full
f - do full format listing so you get all information, including process owner.c - including the commmand line parameters.To find the gdm and gnome processes that are running use "sudo ps -efc" which will show: This has proved problematic for x11vnc as it means you cannot have single background process that is connected to a single display.Īlso the X11 display for "greeter" is not longer available once the login has completed and you are running with the user "session". Since Ubuntu 17.04 there has been seperate processes and DISPLAYs for the initial login "greeter" and the user "session". Use ls of directory to find the active DISPLAYSĭrwxrwxrwt 2 root root 4096 May 12 13:37. The X11 display is access via a unix socket, which are in directory "/tmp/.X11-unix":. So here are some tools / command I have used in getting information on what is going on.įind all the DISPLAY being used and the owner Change in security management of X11 server access.Shift of XAUTHORITY file from ~/.Xauthority to /run/user//gdm/Xauthority.Over last few Ubuntu release I have found the following things have caused x11vnc to break: Here are my tips to help "fix it up again", hence writing this up "backwards" from getting diagnostic info to then setting up remote desktop. With Ubuntu 16.04 Remote Desktop Access as easy to get going "out of the box" but from 17 on it keeps getting broken in some way due to UI sub-systems changes.
#Remote desktop to ubuntu 16 install
![remote desktop to ubuntu 16 remote desktop to ubuntu 16](https://vpsfix.com/wp-content/uploads/2015/09/vnc-screencap.jpg)
So I should never need to access the Ubuntu Gnome Desktop ever again. I read the book, the blogs and the raves and rants and know I should automate all system admin activities with scripts, bits, hacks and band aids and control everything via SSH or HTTP/S. Who needs a GUI when you have a command line ?
![remote desktop to ubuntu 16 remote desktop to ubuntu 16](https://i.pinimg.com/originals/99/5a/91/995a91c9b069f1f1c2138cdf08a26884.png)
Status: May 2021 - Broke it and fixed it (again) on Ubuntu 21.04, so writing up in antcipation of next time this breaks.