You are not logged in.
Hello,
on my PC runs actual Archlinux x86_64, on the remote computer runs Ubuntu 16.04.1
I activated the xdmcp in /etc/lightdm/lightdm.conf:
[XDMCPServer]
enabled=true
port=177
I enabled listening on port 6000 in /etc/X11/xinit/xserverrc:
#exec /usr/bin/X -nolisten tcp "$@"
exec /usr/bin/X -listen tcp "$@"
I exported a cookie file on the PC with
xauth extract my-cookie.file :0
and imported this file on the remote box with
xauth merge my-cookie.file
I restarted the PC after these changes.
The command
ps -ef | grep Xorg
displays
/usr/lib/xorg-server/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Consequently the Xserver is not listening on the default port 6000!
The command
nmap -p 6000 <pc.ip.address>
displays
Host is up (0.000042s latency).
PORT STATE SERVICE
6000/tcp closed X11
I don't use any firewall!
I changed the script /usr/bin/Xorg to check the call to /usr/lib/xorg-server/Xorg[.wrap] to
if [ -x "$basedir"/Xorg.wrap ]; then
echo "$@" > /tmp/Xorg-wrap.args"
exec "$basedir"/Xorg.wrap "$@"
else
echo "$@" > /tmp/Xorg.args"
exec "$basedir"/Xorg "$@"
fi
After PC restart I didn't find any of both files! That's why I think, Xwayland is in use!
Few days ago as I installed the Archlinux on my PC. I also installed Xwayland, but I don't know if it is in use!
Command
ps -ef | grep X
displays only two lines
/usr/lib/xorg-server/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
grep X
Should I uninstall Xwayland?
Can anybody help me to get the remote access running?
Thanks in advance
Michael
Offline
Please read the Code of Conduct, notably these sections:
* https://wiki.archlinux.org/index.php/Co … s_and_code
* https://wiki.archlinux.org/index.php/Co … ow_to_post
and edit your post to remove the redundant plea for help and add code tags.
Moving to NC...
Offline
Welcome to the arch linux forums mickpf
/etc/lightdm.conf
[Seat:*]
#xserver-allow-tcp=falseYou did not mention changing that setting to true.
Why do you believe lightdm would use xinit?
edit:
added missing filename for settings excerpt
Last edited by loqs (2017-02-09 19:40:02)
Offline