yuwen
yuwen

Reputation: 139

Whey the applications running in VNC shows up in host instead of in client?

When I connect to the vnc server with vncviewer, I get a stranger thing: I can see the desktop of gnome or xfce4 and their menus, every GUI application I launch doesn't show up. At first I thought the applications failed to run. Then I found the applications appeared in the vnc server's screen! My settings are:

vncserver: tigervncserver on Debian 10

the content of ~/.vnc/xstartup:

unset SESSION_MANAGER

exec /usr/bin/xfce4-session &

vnc client: xtightvncviewer on Debian 8

I use the client to connect a vncserver on Ubuntu 18, it works well. Do you have any suggestion to debug this issue? Thanks.

Upvotes: 3

Views: 1843

Answers (1)

Ediaz
Ediaz

Reputation: 11

On my Ubuntu/XFCE enviroment, on the host device, my DISPLAY env variable is set to :1.0 and not :0 , so when I started a vnc on :1, the applications would pop up on the host display. Just start the vncserver on :2 or above, and the problem will not occur.

Upvotes: 0

Related Questions