connect to ubuntu 20.04 from mac os 11.4(m1 chip) pops x11 err dialog #41

Closed
opened 2026-02-20 22:20:53 -05:00 by deekerman · 47 comments
Owner

Originally created by @jsrdzhk on GitHub (Jun 3, 2021).

host machine:mac mini(m1 chip)
target machine:ubuntu 20.04.02
ubuntu use x11 as windowing system

Originally created by @jsrdzhk on GitHub (Jun 3, 2021). host machine:mac mini(m1 chip) target machine:ubuntu 20.04.02 ubuntu use x11 as windowing system
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

picture?

@rustdesk commented on GitHub (Jun 3, 2021): picture?
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

image

@jsrdzhk commented on GitHub (Jun 3, 2021): ![image](https://user-images.githubusercontent.com/31811412/120615559-fd5a0c00-c48a-11eb-8cff-c8c003df60fa.png)
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

Screenshot_2021-06-03_16-43-21

@jsrdzhk commented on GitHub (Jun 3, 2021): ![Screenshot_2021-06-03_16-43-21](https://user-images.githubusercontent.com/31811412/120616074-7f4a3500-c48b-11eb-8f89-61c3b46cd55e.png)
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

Can you show me the output of loginctl?

@rustdesk commented on GitHub (Jun 3, 2021): Can you show me the output of `loginctl`?
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

and /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log

@rustdesk commented on GitHub (Jun 3, 2021): and /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

➜ ~ loginctl
SESSION UID USER SEAT TTY
10 1000 rodneycheung seat0 tty2
12 1000 rodneycheung pts/1
13 1000 rodneycheung
c3 125 gdm seat0 tty1

@jsrdzhk commented on GitHub (Jun 3, 2021): ➜ ~ loginctl SESSION UID USER SEAT TTY 10 1000 rodneycheung seat0 tty2 12 1000 rodneycheung pts/1 13 1000 rodneycheung c3 125 gdm seat0 tty1
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

[2021-06-03 15:46:58.289020 +08:00] INFO [src/main.rs:90] start --service
[2021-06-03 15:46:58.712423 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000
[2021-06-03 15:46:58.712452 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-03 15:46:59.190358 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I
cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-03 15:46:59.528308 +08:00] INFO [src/platform/linux.rs:192] DISPLAY: rodneycheung-OptiPlex-9020:1
[2021-06-03 15:46:59.528339 +08:00] INFO [src/platform/linux.rs:193] XAUTHORITY: /run/user/1000/gdm/Xauthority
[2021-06-03 16:39:44.888021 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 125
[2021-06-03 16:39:44.944312 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 125 -o pid= | xargs -I
cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-03 16:39:45.133643 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 125 -o pid= | xargs -I
cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-03 16:39:45.479860 +08:00] DEBUG [src/platform/linux.rs:277] w gdm
[2021-06-03 16:39:45.917217 +08:00] DEBUG [src/platform/linux.rs:280] 16:39:45 up 1:02, 0 users, load average: 3.59, 3.46, 3.79
[2021-06-03 16:39:45.917240 +08:00] DEBUG [src/platform/linux.rs:280] USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
[2021-06-03 16:39:45.917245 +08:00] DEBUG [src/platform/linux.rs:291] ls -l /tmp/.X11-unix/
[2021-06-03 16:39:45.938549 +08:00] DEBUG [src/platform/linux.rs:297] total 0
[2021-06-03 16:39:45.938579 +08:00] DEBUG [src/platform/linux.rs:297] srwxrwxrwx 1 gdm gdm 0 6月 3 16:39 X0
[2021-06-03 16:39:45.938585 +08:00] INFO [src/platform/linux.rs:192] DISPLAY: :0
[2021-06-03 16:39:45.938589 +08:00] INFO [src/platform/linux.rs:193] XAUTHORITY: /run/user/125/gdm/Xauthority
[2021-06-03 16:40:18.650065 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000
[2021-06-03 16:40:18.650103 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I
cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-03 16:40:18.787717 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I
cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-03 16:40:18.944155 +08:00] INFO [src/platform/linux.rs:192] DISPLAY: rodneycheung-OptiPlex-9020:1
[2021-06-03 16:40:18.944179 +08:00] INFO [src/platform/linux.rs:193] XAUTHORITY: /run/user/1000/gdm/Xauthority
[2021-06-03 16:44:07.901731 +08:00] INFO [src/platform/linux.rs:212] restart server

@jsrdzhk commented on GitHub (Jun 3, 2021): [2021-06-03 15:46:58.289020 +08:00] INFO [src/main.rs:90] start --service [2021-06-03 15:46:58.712423 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000 [2021-06-03 15:46:58.712452 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-03 15:46:59.190358 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-03 15:46:59.528308 +08:00] INFO [src/platform/linux.rs:192] DISPLAY: rodneycheung-OptiPlex-9020:1 [2021-06-03 15:46:59.528339 +08:00] INFO [src/platform/linux.rs:193] XAUTHORITY: /run/user/1000/gdm/Xauthority [2021-06-03 16:39:44.888021 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 125 [2021-06-03 16:39:44.944312 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 125 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-03 16:39:45.133643 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 125 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-03 16:39:45.479860 +08:00] DEBUG [src/platform/linux.rs:277] w gdm [2021-06-03 16:39:45.917217 +08:00] DEBUG [src/platform/linux.rs:280] 16:39:45 up 1:02, 0 users, load average: 3.59, 3.46, 3.79 [2021-06-03 16:39:45.917240 +08:00] DEBUG [src/platform/linux.rs:280] USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT [2021-06-03 16:39:45.917245 +08:00] DEBUG [src/platform/linux.rs:291] ls -l /tmp/.X11-unix/ [2021-06-03 16:39:45.938549 +08:00] DEBUG [src/platform/linux.rs:297] total 0 [2021-06-03 16:39:45.938579 +08:00] DEBUG [src/platform/linux.rs:297] srwxrwxrwx 1 gdm gdm 0 6月 3 16:39 X0 [2021-06-03 16:39:45.938585 +08:00] INFO [src/platform/linux.rs:192] DISPLAY: :0 [2021-06-03 16:39:45.938589 +08:00] INFO [src/platform/linux.rs:193] XAUTHORITY: /run/user/125/gdm/Xauthority [2021-06-03 16:40:18.650065 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000 [2021-06-03 16:40:18.650103 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-03 16:40:18.787717 +08:00] DEBUG [src/platform/linux.rs:506] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-03 16:40:18.944155 +08:00] INFO [src/platform/linux.rs:192] DISPLAY: rodneycheung-OptiPlex-9020:1 [2021-06-03 16:40:18.944179 +08:00] INFO [src/platform/linux.rs:193] XAUTHORITY: /run/user/1000/gdm/Xauthority [2021-06-03 16:44:07.901731 +08:00] INFO [src/platform/linux.rs:212] restart server
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

DISPLAY: rodneycheung-OptiPlex-9020:1

Looks like this causes the problem. rodneycheung-OptiPlex-9020 is your localhost?

@rustdesk commented on GitHub (Jun 3, 2021): > DISPLAY: rodneycheung-OptiPlex-9020:1 Looks like this causes the problem. rodneycheung-OptiPlex-9020 is your localhost?
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

rodneycheung-OptiPlex-9020 is the guest machine(ubuntu 20.04)'s name,log is from guest machine's /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log
err dialog is from host machine(mac os big sur 11.4)

@jsrdzhk commented on GitHub (Jun 3, 2021): rodneycheung-OptiPlex-9020 is the guest machine(ubuntu 20.04)'s name,log is from guest machine's `/root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log` err dialog is from host machine(mac os big sur 11.4)
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

how about echo $XAUTHORITY and echo $DISPLAY?

@rustdesk commented on GitHub (Jun 3, 2021): how about `echo $XAUTHORITY` and `echo $DISPLAY`?
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

Try out this new build https://github.com/rustdesk/rustdesk/releases/download/1.1.5/rustdesk-1.1.5.deb
Remove old version first.

@rustdesk commented on GitHub (Jun 3, 2021): Try out this new build https://github.com/rustdesk/rustdesk/releases/download/1.1.5/rustdesk-1.1.5.deb Remove old version first.
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

echo $XAUTHORITY and echo $DISPLAY returned empty.And I already use the latest version of rustdesk

@jsrdzhk commented on GitHub (Jun 3, 2021): echo $XAUTHORITY and echo $DISPLAY returned empty.And I already use the latest version of rustdesk
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

this is a new build for u

@rustdesk commented on GitHub (Jun 3, 2021): this is a new build for u
Author
Owner

@jsrdzhk commented on GitHub (Jun 3, 2021):

It works.Btw,does rustdesk support connect guest directly by LAN?I mean use IP to connect guest machine.

@jsrdzhk commented on GitHub (Jun 3, 2021): It works.Btw,does rustdesk support connect guest directly by LAN?I mean use IP to connect guest machine.
Author
Owner

@rustdesk commented on GitHub (Jun 3, 2021):

use IP

1.1.6

@rustdesk commented on GitHub (Jun 3, 2021): > use IP 1.1.6
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

Hello, I have the same problem between Win10 and Ubuntu18.04. After I reboot my ubuntu18.04, my Win10 can't connect to it. But Ubuntu18.04 can connect to Win10.
Then I try to reboot these computers. Win10 can connect to Ubuntu18.04 between Ubuntu18.04 is unlock. However, the connection is refused after the Ubuntu18.03 is unlock.

@SEUZTh commented on GitHub (Jun 6, 2021): Hello, I have the same problem between Win10 and Ubuntu18.04. After I reboot my ubuntu18.04, my Win10 can't connect to it. But Ubuntu18.04 can connect to Win10. Then I try to reboot these computers. Win10 can connect to Ubuntu18.04 between Ubuntu18.04 is unlock. However, the connection is refused after the Ubuntu18.03 is unlock.
Author
Owner

@rustdesk commented on GitHub (Jun 6, 2021):

The same error dialog?

@rustdesk commented on GitHub (Jun 6, 2021): The same error dialog?
Author
Owner

@rustdesk commented on GitHub (Jun 6, 2021):

The latest 1.1.5 build (20210604)? Also please show me /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log

@rustdesk commented on GitHub (Jun 6, 2021): The latest 1.1.5 build (20210604)? Also please show me /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

I deleted the software in Ubuntu18.04 and re-install it, then the Win10 can connect to it. But after I reboot the Ubuntu18.04, there is still the same problem.

@SEUZTh commented on GitHub (Jun 6, 2021): I deleted the software in Ubuntu18.04 and re-install it, then the Win10 can connect to it. But after I reboot the Ubuntu18.04, there is still the same problem.
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

The latest 1.1.5 build (20210604)? Also please show me /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log

image

@SEUZTh commented on GitHub (Jun 6, 2021): > The latest 1.1.5 build (20210604)? Also please show me /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log ![image](https://user-images.githubusercontent.com/50619570/120933604-6f518000-c72d-11eb-8a24-eaa6ac7f56fc.png)
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

After I re-install it, the file is like this:
[2021-06-07 01:08:40.401035 +08:00] INFO [src/main.rs:90] start --service [2021-06-07 01:08:40.416470 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000 [2021-06-07 01:08:40.416485 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-07 01:08:40.431407 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-07 01:08:40.442976 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :1 [2021-06-07 01:08:40.442991 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/1000/gdm/Xauthority

@SEUZTh commented on GitHub (Jun 6, 2021): After I re-install it, the file is like this: `[2021-06-07 01:08:40.401035 +08:00] INFO [src/main.rs:90] start --service [2021-06-07 01:08:40.416470 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000 [2021-06-07 01:08:40.416485 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-07 01:08:40.431407 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-07 01:08:40.442976 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :1 [2021-06-07 01:08:40.442991 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/1000/gdm/Xauthority `
Author
Owner

@rustdesk commented on GitHub (Jun 6, 2021):

What error dialog?

@rustdesk commented on GitHub (Jun 6, 2021): What error dialog?
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

After I reboot the Ubuntu18.04, the file is like this:

[2021-06-07 01:16:30.715607 +08:00] INFO [src/main.rs:90] start --service
[2021-06-07 01:16:32.630929 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 121
[2021-06-07 01:16:32.630946 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-07 01:16:32.637736 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-07 01:16:32.647389 +08:00] DEBUG [src/platform/linux.rs:278] w gdm
[2021-06-07 01:16:32.650966 +08:00] DEBUG [src/platform/linux.rs:281]    01:16:32 up 0 min,  0 users,  load average: 0.32, 0.07, 0.02
[2021-06-07 01:16:32.650975 +08:00] DEBUG [src/platform/linux.rs:281]   USER     TTY      来自           LOGIN@   IDLE   JCPU   PCPU WHAT
[2021-06-07 01:16:32.650979 +08:00] DEBUG [src/platform/linux.rs:292] ls -l /tmp/.X11-unix/
[2021-06-07 01:16:32.651638 +08:00] DEBUG [src/platform/linux.rs:298]   总用量 0
[2021-06-07 01:16:32.651648 +08:00] DEBUG [src/platform/linux.rs:298]   srwxrwxrwx 1 root root 0 6月   7 01:16 X0
[2021-06-07 01:16:32.651655 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0
[2021-06-07 01:16:32.651658 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/121/gdm/Xauthority
@SEUZTh commented on GitHub (Jun 6, 2021): After I reboot the Ubuntu18.04, the file is like this: ``` [2021-06-07 01:16:30.715607 +08:00] INFO [src/main.rs:90] start --service [2021-06-07 01:16:32.630929 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 121 [2021-06-07 01:16:32.630946 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-07 01:16:32.637736 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-07 01:16:32.647389 +08:00] DEBUG [src/platform/linux.rs:278] w gdm [2021-06-07 01:16:32.650966 +08:00] DEBUG [src/platform/linux.rs:281] 01:16:32 up 0 min, 0 users, load average: 0.32, 0.07, 0.02 [2021-06-07 01:16:32.650975 +08:00] DEBUG [src/platform/linux.rs:281] USER TTY 来自 LOGIN@ IDLE JCPU PCPU WHAT [2021-06-07 01:16:32.650979 +08:00] DEBUG [src/platform/linux.rs:292] ls -l /tmp/.X11-unix/ [2021-06-07 01:16:32.651638 +08:00] DEBUG [src/platform/linux.rs:298] 总用量 0 [2021-06-07 01:16:32.651648 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 7 01:16 X0 [2021-06-07 01:16:32.651655 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0 [2021-06-07 01:16:32.651658 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/121/gdm/Xauthority ```
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

the same dialog
image

@SEUZTh commented on GitHub (Jun 6, 2021): the same dialog ![image](https://user-images.githubusercontent.com/50619570/120934529-31565b00-c731-11eb-8c28-a7921a1558bf.png)
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

After I use Win10 unlock the Ubuntu18.04 remotely, the dialog is 连接已被断开

@SEUZTh commented on GitHub (Jun 6, 2021): After I use Win10 unlock the Ubuntu18.04 remotely, the dialog is 连接已被断开
Author
Owner

@rustdesk commented on GitHub (Jun 6, 2021):

w gdm

This is login screen.
Still can not connect, after login in?

@rustdesk commented on GitHub (Jun 6, 2021): > w gdm This is login screen. Still can not connect, after login in?
Author
Owner

@SEUZTh commented on GitHub (Jun 6, 2021):

w gdm

This is login screen.
Still can not connect, after login in?

image

@SEUZTh commented on GitHub (Jun 6, 2021): > > w gdm > > This is login screen. > Still can not connect, after login in? ![image](https://user-images.githubusercontent.com/50619570/120935645-58fbf200-c736-11eb-91a5-70005ff8e350.png)
Author
Owner

@rustdesk commented on GitHub (Jun 6, 2021):

Please try out sudo service restart rustdesk, check if you can connect, then give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log

@rustdesk commented on GitHub (Jun 6, 2021): Please try out `sudo service restart rustdesk`, check if you can connect, then give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log
Author
Owner

@SEUZTh commented on GitHub (Jun 9, 2021):

Please try out sudo service restart rustdesk, check if you can connect, then give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log

~$ sudo service restart rustdesk
restart: unrecognized service
~$ rustdesk
INFO:TIS: scaleFactor 1
INFO:TIS: current platform: Linux
INFO:TIS: is_zh:  true
INFO:TIS: is_xfce:  false

(rustdesk:5335): GLib-CRITICAL **: 11:02:12.713: Source ID 219 was not found when attempting to remove it

(rustdesk:5335): GLib-CRITICAL **: 11:02:21.773: Source ID 1035 was not found when attempting to remove it
@SEUZTh commented on GitHub (Jun 9, 2021): > Please try out `sudo service restart rustdesk`, check if you can connect, then give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log ```bash ~$ sudo service restart rustdesk restart: unrecognized service ``` ```bash ~$ rustdesk INFO:TIS: scaleFactor 1 INFO:TIS: current platform: Linux INFO:TIS: is_zh: true INFO:TIS: is_xfce: false (rustdesk:5335): GLib-CRITICAL **: 11:02:12.713: Source ID 219 was not found when attempting to remove it (rustdesk:5335): GLib-CRITICAL **: 11:02:21.773: Source ID 1035 was not found when attempting to remove it ```
Author
Owner

@SEUZTh commented on GitHub (Jun 9, 2021):

[2021-06-10 10:59:12.758527 +08:00] INFO [src/main.rs:90] start --service
[2021-06-10 10:59:13.295555 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 121
[2021-06-10 10:59:13.295578 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-10 10:59:13.305845 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I
cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-10 10:59:13.319053 +08:00] DEBUG [src/platform/linux.rs:278] w gdm
[2021-06-10 10:59:13.323279 +08:00] DEBUG [src/platform/linux.rs:281] 10:59:13 up 0 min, 0 users, load average: 0.00, 0.00, 0.00
[2021-06-10 10:59:13.323289 +08:00] DEBUG [src/platform/linux.rs:281] USER TTY 来自 LOGIN@ IDLE JCPU PCPU WHAT
[2021-06-10 10:59:13.323292 +08:00] DEBUG [src/platform/linux.rs:292] ls -l /tmp/.X11-unix/
[2021-06-10 10:59:13.323982 +08:00] DEBUG [src/platform/linux.rs:298] 总用量 0
[2021-06-10 10:59:13.323991 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 10 10:59 X0
[2021-06-10 10:59:13.323999 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0
[2021-06-10 10:59:13.324001 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/121/gdm/Xauthority
[2021-06-10 10:59:33.248582 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000
[2021-06-10 10:59:33.248604 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I
cat /proc//environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-10 10:59:33.260876 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I
cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-10 10:59:33.274424 +08:00] DEBUG [src/platform/linux.rs:278] w zth
[2021-06-10 10:59:33.278181 +08:00] DEBUG [src/platform/linux.rs:281] 10:59:33 up 0 min, 0 users, load average: 1.32, 0.33, 0.11
[2021-06-10 10:59:33.278193 +08:00] DEBUG [src/platform/linux.rs:281] USER TTY 来自 LOGIN@ IDLE JCPU PCPU WHAT
[2021-06-10 10:59:33.278198 +08:00] DEBUG [src/platform/linux.rs:292] ls -l /tmp/.X11-unix/
[2021-06-10 10:59:33.278861 +08:00] DEBUG [src/platform/linux.rs:298] 总用量 0
[2021-06-10 10:59:33.278870 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 10 10:59 X0
[2021-06-10 10:59:33.278875 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 10 10:59 X1
[2021-06-10 10:59:33.278881 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0
[2021-06-10 10:59:33.278886 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/1000/gdm/Xauthority

@SEUZTh commented on GitHub (Jun 9, 2021): [2021-06-10 10:59:12.758527 +08:00] INFO [src/main.rs:90] start --service [2021-06-10 10:59:13.295555 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 121 [2021-06-10 10:59:13.295578 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-10 10:59:13.305845 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-10 10:59:13.319053 +08:00] DEBUG [src/platform/linux.rs:278] w gdm [2021-06-10 10:59:13.323279 +08:00] DEBUG [src/platform/linux.rs:281] 10:59:13 up 0 min, 0 users, load average: 0.00, 0.00, 0.00 [2021-06-10 10:59:13.323289 +08:00] DEBUG [src/platform/linux.rs:281] USER TTY 来自 LOGIN@ IDLE JCPU PCPU WHAT [2021-06-10 10:59:13.323292 +08:00] DEBUG [src/platform/linux.rs:292] ls -l /tmp/.X11-unix/ [2021-06-10 10:59:13.323982 +08:00] DEBUG [src/platform/linux.rs:298] 总用量 0 [2021-06-10 10:59:13.323991 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 10 10:59 X0 [2021-06-10 10:59:13.323999 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0 [2021-06-10 10:59:13.324001 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/121/gdm/Xauthority [2021-06-10 10:59:33.248582 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000 [2021-06-10 10:59:33.248604 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-10 10:59:33.260876 +08:00] DEBUG [src/platform/linux.rs:507] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-10 10:59:33.274424 +08:00] DEBUG [src/platform/linux.rs:278] w zth [2021-06-10 10:59:33.278181 +08:00] DEBUG [src/platform/linux.rs:281] 10:59:33 up 0 min, 0 users, load average: 1.32, 0.33, 0.11 [2021-06-10 10:59:33.278193 +08:00] DEBUG [src/platform/linux.rs:281] USER TTY 来自 LOGIN@ IDLE JCPU PCPU WHAT [2021-06-10 10:59:33.278198 +08:00] DEBUG [src/platform/linux.rs:292] ls -l /tmp/.X11-unix/ [2021-06-10 10:59:33.278861 +08:00] DEBUG [src/platform/linux.rs:298] 总用量 0 [2021-06-10 10:59:33.278870 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 10 10:59 X0 [2021-06-10 10:59:33.278875 +08:00] DEBUG [src/platform/linux.rs:298] srwxrwxrwx 1 root root 0 6月 10 10:59 X1 [2021-06-10 10:59:33.278881 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0 [2021-06-10 10:59:33.278886 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/1000/gdm/Xauthority
Author
Owner

@rustdesk commented on GitHub (Jun 9, 2021):

You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb

@rustdesk commented on GitHub (Jun 9, 2021): You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb
Author
Owner

@SEUZTh commented on GitHub (Jun 10, 2021):

You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb

Thanks, the problem has been solved!

@SEUZTh commented on GitHub (Jun 10, 2021): > You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb Thanks, the problem has been solved!
Author
Owner

@rustdesk commented on GitHub (Jun 10, 2021):

You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb

Thanks, the problem has been solved!

Could you give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log again? This is a workaround, I need to give a more robust solution.

@rustdesk commented on GitHub (Jun 10, 2021): > > You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb > > Thanks, the problem has been solved! Could you give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log again? This is a workaround, I need to give a more robust solution.
Author
Owner

@SEUZTh commented on GitHub (Jun 11, 2021):

You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb

Thanks, the problem has been solved!

Could you give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log again? This is a workaround, I need to give a more robust solution.

[2021-06-11 11:16:54.678055 +08:00] INFO [src/main.rs:90] start --service
[2021-06-11 11:16:55.132709 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 121
[2021-06-11 11:16:55.132726 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-11 11:16:55.442720 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-11 11:16:55.750068 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-11 11:16:56.058363 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-11 11:16:56.365587 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-11 11:16:56.376810 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-11 11:16:56.385299 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0
@ 
@SEUZTh commented on GitHub (Jun 11, 2021): > > > You ubuntu 18.4 looks very wield, totally different from mine. Try out https://github.com/rustdesk/rustdesk/releases/download/tmp/rustdesk-1.1.6.deb > > > > > > Thanks, the problem has been solved! > > Could you give me the full copy of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log again? This is a workaround, I need to give a more robust solution. ```bash [2021-06-11 11:16:54.678055 +08:00] INFO [src/main.rs:90] start --service [2021-06-11 11:16:55.132709 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 121 [2021-06-11 11:16:55.132726 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-11 11:16:55.442720 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-11 11:16:55.750068 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-11 11:16:56.058363 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-11 11:16:56.365587 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-11 11:16:56.376810 +08:00] DEBUG [src/platform/linux.rs:521] Run: ps -u 121 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-11 11:16:56.385299 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :0 @ ```
Author
Owner

@jsrdzhk commented on GitHub (Jun 23, 2021):

😂after I update rustdesk to 1.1.6,x11 error appear again,here's the content of /root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log:

[2021-06-23 16:52:50.309593 +08:00] INFO [src/main.rs:90] start --service
[2021-06-23 16:53:03.673131 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000
[2021-06-23 16:53:03.673157 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:04.392290 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:05.006119 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:05.555163 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:06.099349 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:06.667868 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:07.228458 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:08.107076 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:08.635416 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:09.202807 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g'
[2021-06-23 16:53:09.794520 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g'
[2021-06-23 16:53:10.012007 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :1
[2021-06-23 16:53:10.012036 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/1000/gdm/Xauthority
[2021-06-23 16:54:39.333333 +08:00] INFO [src/platform/linux.rs:213] restart server
@jsrdzhk commented on GitHub (Jun 23, 2021): 😂after I update rustdesk to 1.1.6,x11 error appear again,here's the content of `/root/.local/share/logs/RustDesk/service/rustdesk_rCURRENT.log`: ``` [2021-06-23 16:52:50.309593 +08:00] INFO [src/main.rs:90] start --service [2021-06-23 16:53:03.673131 +08:00] INFO [src/platform/linux.rs:165] uid of seat0: 1000 [2021-06-23 16:53:03.673157 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:04.392290 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:05.006119 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:05.555163 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:06.099349 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:06.667868 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:07.228458 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:08.107076 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:08.635416 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:09.202807 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' | sed 's/XAUTHORITY=//g' [2021-06-23 16:53:09.794520 +08:00] DEBUG [src/platform/linux.rs:540] Run: ps -u 1000 -o pid= | xargs -I__ cat /proc/__/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^DISPLAY=' | sed 's/DISPLAY=//g' [2021-06-23 16:53:10.012007 +08:00] INFO [src/platform/linux.rs:193] DISPLAY: :1 [2021-06-23 16:53:10.012036 +08:00] INFO [src/platform/linux.rs:194] XAUTHORITY: /run/user/1000/gdm/Xauthority [2021-06-23 16:54:39.333333 +08:00] INFO [src/platform/linux.rs:213] restart server ```
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

/root/.local/share/logs/RustDesk/service/

Could you show me ls -ls /root/.local/share/logs/RustDesk/server/?

@rustdesk commented on GitHub (Jun 23, 2021): > /root/.local/share/logs/RustDesk/service/ Could you show me `ls -ls /root/.local/share/logs/RustDesk/server/`?
Author
Owner

@jsrdzhk commented on GitHub (Jun 23, 2021):

total 36
4 -rw-r--r-- 1 root root 3697 6月  23 15:36 rustdesk_r2021-06-23_15-45-13.log
4 -rw-r--r-- 1 root root 2662 6月  23 15:45 rustdesk_r2021-06-23_16-05-56.log
8 -rw-r--r-- 1 root root 5352 6月  23 16:46 rustdesk_r2021-06-23_16-52-53.log
8 -rw-r--r-- 1 root root 4975 6月  23 16:53 rustdesk_r2021-06-23_16-53-10.log
4 -rw-r--r-- 1 root root 3607 6月  23 16:54 rustdesk_r2021-06-23_16-54-39.log
4 -rw-r--r-- 1 root root 4075 6月  23 17:25 rustdesk_r2021-06-23_17-54-40.log
4 -rw-r--r-- 1 root root 2779 6月  23 17:54 rustdesk_rCURRENT.log
@jsrdzhk commented on GitHub (Jun 23, 2021): ``` total 36 4 -rw-r--r-- 1 root root 3697 6月 23 15:36 rustdesk_r2021-06-23_15-45-13.log 4 -rw-r--r-- 1 root root 2662 6月 23 15:45 rustdesk_r2021-06-23_16-05-56.log 8 -rw-r--r-- 1 root root 5352 6月 23 16:46 rustdesk_r2021-06-23_16-52-53.log 8 -rw-r--r-- 1 root root 4975 6月 23 16:53 rustdesk_r2021-06-23_16-53-10.log 4 -rw-r--r-- 1 root root 3607 6月 23 16:54 rustdesk_r2021-06-23_16-54-39.log 4 -rw-r--r-- 1 root root 4075 6月 23 17:25 rustdesk_r2021-06-23_17-54-40.log 4 -rw-r--r-- 1 root root 2779 6月 23 17:54 rustdesk_rCURRENT.log ```
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

Can you confirm if below variables are correct?

DISPLAY: :1
XAUTHORITY: /run/user/1000/gdm/Xauthority

@rustdesk commented on GitHub (Jun 23, 2021): Can you confirm if below variables are correct? > DISPLAY: :1 XAUTHORITY: /run/user/1000/gdm/Xauthority
Author
Owner

@jsrdzhk commented on GitHub (Jun 23, 2021):

There's no display connected to guest machine.Does it matter?

@jsrdzhk commented on GitHub (Jun 23, 2021): There's no display connected to guest machine.Does it matter?
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

matter

Yes, matters

@rustdesk commented on GitHub (Jun 23, 2021): > matter Yes, matters
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

no display

Was there display when RustDesk worked?

@rustdesk commented on GitHub (Jun 23, 2021): > no display Was there display when RustDesk worked?
Author
Owner

@jsrdzhk commented on GitHub (Jun 23, 2021):

I switched the display's input source after start RustDesk.

@jsrdzhk commented on GitHub (Jun 23, 2021): I switched the display's input source after start RustDesk.
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

I switched the display's input source after start RustDesk.

Maybe this is the problem though I have never tested. Without display, how can RustDesk know the display size?

@rustdesk commented on GitHub (Jun 23, 2021): > I switched the display's input source after start RustDesk. Maybe this is the problem though I have never tested. Without display, how can RustDesk know the display size?
Author
Owner

@jsrdzhk commented on GitHub (Jun 23, 2021):

Microsoft remote control can adjust display resolution.Maybe you can try some protocol like RDP.😂

@jsrdzhk commented on GitHub (Jun 23, 2021): Microsoft remote control can adjust display resolution.Maybe you can try some protocol like RDP.😂
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

display

#59

@rustdesk commented on GitHub (Jun 23, 2021): > display #59
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

RDP

It is not a small project.

@rustdesk commented on GitHub (Jun 23, 2021): > RDP It is not a small project.
Author
Owner

@rustdesk commented on GitHub (Jun 23, 2021):

As a temp solution, you can install xrdp on Ubuntu, and rdp to Ubuntu using RustDesk port forwarding.

@rustdesk commented on GitHub (Jun 23, 2021): As a temp solution, you can install xrdp on Ubuntu, and rdp to Ubuntu using RustDesk port forwarding.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#41
No description provided.