TigerVNC / tigervnc

High performance, multi-platform VNC client and server
https://tigervnc.org
GNU General Public License v2.0
4.85k stars 907 forks source link

Connection does not start in full screen mode by default #1752

Open KR2615 opened 2 months ago

KR2615 commented 2 months ago

Describe the bug Connection does not start in full screen mode by default

To Reproduce Steps to reproduce the behavior:

  1. I went to Options > Display > Full Screen *
  2. Input > Keyboard > Pass system keys to server marked On
  3. No Matter which type I check, VNC session starts in window, I need to click Right Mouse Button and tick Full Screen

Expected behavior VNC session should start on full screen, no ability to switch back to host OS using Alt + Tab, Alt + Tab should work on remote machine.

Screenshots If applicable, add screenshots to help explain your problem.

Client (please complete the following information):

Server (please complete the following information): It happend on any server

Additional context Add any other context about the problem here.

hildred commented 2 months ago

Full screen can be set on the command line specifically '-FullScreen -FullscreenSystemKeys. For more details consult the manual xtigervncviewer(1).

To set command line options on programs started from your window manager consult your window manager's documentation. (It may be as simple as right click and select properties but as I do not know which window manager you are using I cannot give exact advice.

KR2615 commented 2 months ago

I edited /usr/share/applications/xtigervncviewer.desktop and added: Exec=/usr/bin/xtigervncviewer -FullScreen -FullscreenSystemKeys Does not work for me. Also starts in windowed mode

hildred commented 2 months ago

Try starting it from a terminal, this will both allow you to see messages and minimize window manager issues for the moment. Also note that some window managers may interfere with or not support full screen applications.

Another option if you are setting up a kiosk is to use a full-screen window manager like ratpoison. note that ratpoison does not like full screen applications and behaves oddly when apps ask for full-screen but as it is already full-screen and does not use typical system keys it just works without the options set.

KR2615 commented 2 months ago

Dunno how to setup kiosk. I launched /usr/bin/xtigervncviewer -FullScreen -FullscreenSystemKeys IP:port directly from command line and the result is the same (window)

BTW the viewer works properly on Debian 11 and 12

hildred commented 2 months ago

If you were trying to set up a kiosk you would know what one was there fore you are not and we can ignore that. So the only question is there something with Ubuntu's package or the window manager. Can you try the official tigervnc build?

samhed commented 1 month ago

I have seen the same issue on Fedora 39. I think it is a problem with GNOME, it started happening quite recently. I cannot reproduce the issue when running XFCE locally.