Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936488 - net-misc/tigervnc-1.13.90-r1 - ignores ~/.vnc/config
Summary: net-misc/tigervnc-1.13.90-r1 - ignores ~/.vnc/config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-22 12:13 UTC by Leonid Kopylov
Modified: 2024-07-22 12:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2024-07-22 12:13:26 UTC
# emerge =net-misc/tigervnc-1.13.90-r1 -pvq
[ebuild   R   ] net-misc/tigervnc-1.13.90-r1  USE="dri3 drm gnutls java nls opengl server viewer xinerama"

net-misc/tigervnc-1.13.90-r1 doesn't create ~/.vnc folder, and also ignores
session + geometry parameters in ~/.vnc/config
setting session=gnome in ~/.vnc/config - starts gnome classic with 1024x768 resolution, no matter what you set in "geometry".

Downgrading back to net-misc/tigervnc-1.13.1-r3 solves the issue
Comment 1 Leonid Kopylov 2024-07-22 12:22:20 UTC
regarding ~/.vnc folder - vncpasswd should create this folder, but it's not being created, and need to create it manually
Comment 2 Viorel Munteanu gentoo-dev 2024-07-22 12:29:01 UTC
From the changelog at https://github.com/TigerVNC/tigervnc/releases/tag/v1.13.90

"The viewers and servers now follow the XDG Base Directory Specification, like "~/.config", for storing files in the home directory. Existing users will continue using the legacy "~/.vnc" directory, but new users will get the XDG directories."

If you already have .vnc and .config/tigervnc does not exist, it will use it for backwards compatibility.  Otherwise, it will not use .vnc and will not create it (but should create .config/tigervnc instead).
Comment 3 Leonid Kopylov 2024-07-22 12:45:03 UTC
(In reply to Viorel Munteanu from comment #2)
> From the changelog at
> https://github.com/TigerVNC/tigervnc/releases/tag/v1.13.90
> 
> "The viewers and servers now follow the XDG Base Directory Specification,
> like "~/.config", for storing files in the home directory. Existing users
> will continue using the legacy "~/.vnc" directory, but new users will get
> the XDG directories."
> 
> If you already have .vnc and .config/tigervnc does not exist, it will use it
> for backwards compatibility.  Otherwise, it will not use .vnc and will not
> create it (but should create .config/tigervnc instead).

Thank you! indeed, using ~/.config/tigervnc/config now works.
Maybe above should be printed after package installed and/or updated in documentation - https://wiki.gentoo.org/wiki/TigerVNC
Comment 4 Viorel Munteanu gentoo-dev 2024-07-22 12:47:55 UTC
Good idea.  I will document this somewhere.