RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1473323 - vnc session garbles .gvfs permissions
Summary: vnc session garbles .gvfs permissions
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tigervnc
Version: 7.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Grulich
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-20 13:28 UTC by Jiri Prajzner
Modified: 2020-01-24 13:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-24 13:28:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jiri Prajzner 2017-07-20 13:28:32 UTC
Description of problem:
vnc session garbles .gvfs permissions in user's home directory after launching and application. the permissions are restored once the vncserver is restarted.

Version-Release number of selected component (if applicable):
tigervnc-server-1.8.0-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. log on the provisioned server and launch vncserver
2. open a remote desktop session
3. launch an application, such as firefox

Actual results:
[root@hostname firefox]# ls -la /home/test/
ls: cannot access /home/test/.gvfs: Permission denied
total 36
drwx------. 17 test test 4096 Jul 20 08:41 .
drwxr-xr-x.  3 root root   18 Jul 20 05:15 ..
-rw-------.  1 test test   89 Jul 20 08:55 .bash_history
-rw-r--r--.  1 test test   18 Mar  7 11:13 .bash_logout
-rw-r--r--.  1 test test  193 Mar  7 11:13 .bash_profile
-rw-r--r--.  1 test test  251 Jul 20 05:20 .bashrc
drwxrwxr-x. 16 test test 4096 Jul 20 08:41 .cache
drwxrwxr-x. 14 test test  261 Jul 20 07:36 .config
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Desktop
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Documents
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Downloads
-rw-------.  1 test test   16 Jul 20 07:35 .esd_auth
d??????????  ? ?    ?       ?            ? .gvfs
-rw-------.  1 test test  314 Jul 20 07:35 .ICEauthority
drwx------.  3 test test   19 Jul 20 07:35 .local
drwxrwxr-x.  4 test test   39 Jul 20 08:40 .mozilla
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Music
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Pictures
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Public
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Templates
drwx------.  3 test test   50 Jul 20 08:41 .thunderbird
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Videos
drwxr-xr-x.  2 test test  168 Jul 20 07:35 .vnc
-rw-------.  1 test test  139 Jul 20 07:35 .Xauthority

Expected results:
[root@hostname firefox]$ ls -la
total 36
drwx------. 17 test test 4096 Jul 20 09:01 .
drwxr-xr-x.  3 root root   18 Jul 20 05:15 ..
-rw-------.  1 test test   89 Jul 20 08:55 .bash_history
-rw-r--r--.  1 test test   18 Mar  7 11:13 .bash_logout
-rw-r--r--.  1 test test  193 Mar  7 11:13 .bash_profile
-rw-r--r--.  1 test test  251 Jul 20 05:20 .bashrc
drwxrwxr-x. 16 test test 4096 Jul 20 09:01 .cache
drwxrwxr-x. 14 test test  261 Jul 20 07:36 .config
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Desktop
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Documents
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Downloads
-rw-------.  1 test test   16 Jul 20 07:35 .esd_auth
dr-x------.  2 test test    0 Jul 20 09:01 .gvfs
-rw-------.  1 test test  628 Jul 20 09:01 .ICEauthority
drwx------.  3 test test   19 Jul 20 07:35 .local
drwxrwxr-x.  4 test test   39 Jul 20 08:40 .mozilla
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Music
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Pictures
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Public
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Templates
drwx------.  3 test test   50 Jul 20 08:41 .thunderbird
drwxr-xr-x.  2 test test    6 Jul 20 07:35 Videos
drwxr-xr-x.  2 test test  227 Jul 20 09:00 .vnc
-rw-------.  1 test test  278 Jul 20 09:00 .Xauthority

Additional info:
the permissions are restored once the vncserver is restarted.

Comment 3 Jiri Prajzner 2018-06-28 12:04:57 UTC
still reproducible in rhel 7.6, tigervnc-server 1.8.0-6

Comment 4 Jan Grulich 2020-01-16 12:38:48 UTC
How do you start tigervnc? Do you use it as systemd service or you run vncserver directly?

Comment 5 Jiri Prajzner 2020-01-21 07:47:14 UTC
i start it directly.

Comment 6 Jan Grulich 2020-01-23 14:30:38 UTC
I tried it now and cannot reproduce it. Can you try with a new user?

Comment 7 Jiri Prajzner 2020-01-24 10:51:02 UTC
latest rhel 8.2:
[root@beaker-firefox-develop-1072 ~]# su -l test
Last login: Fri Jan 24 05:27:09 EST 2020 on tty1
[test@beaker-firefox-develop-1072 ~]$ ls -l
total 0
drwxr-xr-x. 2 test test   6 Jan 24 05:24 Desktop
drwxr-xr-x. 2 test test   6 Jan 24 05:24 Documents
drwxr-xr-x. 2 test test   6 Jan 24 05:24 Downloads
drwxr-xr-x. 2 test test   6 Jan 24 05:24 Music
drwxr-xr-x. 2 test test 100 Jan 24 05:26 Pictures
drwxr-xr-x. 2 test test   6 Jan 24 05:24 Public
drwxr-xr-x. 2 test test   6 Jan 24 05:24 Templates
drwxr-xr-x. 2 test test  57 Jan 24 05:27 Videos
[test@beaker-firefox-develop-1072 ~]$ ls -la
total 28
drwx------. 15 test test 4096 Jan 24 05:27 .
drwxr-xr-x.  4 root root   36 Jan 24 05:17 ..
-rw-r--r--.  1 test test   18 Aug 30 01:30 .bash_logout
-rw-r--r--.  1 test test  141 Aug 30 01:30 .bash_profile
-rw-r--r--.  1 test test  332 Jan 24 05:18 .bashrc
drwx------. 13 test test 4096 Jan 24 05:27 .cache
drwx------. 11 test test  215 Jan 24 05:25 .config
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Desktop
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Documents
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Downloads
-rw-------.  1 test test   16 Jan 24 05:24 .esd_auth
-rw-------.  1 test test  942 Jan 24 05:27 .ICEauthority
drwxr-xr-x.  3 test test   19 Jan 24 05:24 .local
drwx------.  5 test test   66 Jan 24 05:27 .mozilla
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Music
drwxr-xr-x.  2 test test  100 Jan 24 05:26 Pictures
drwxrw----.  3 test test   19 Jan 24 05:24 .pki
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Public
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Templates
drwxr-xr-x.  2 test test   57 Jan 24 05:27 Videos
[test@beaker-firefox-develop-1072 ~]$ vncserver 

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? 
A view-only password is not used
xauth:  file /home/test/.Xauthority does not exist

New 'beaker-firefox-develop-1072:1 (test)' desktop is beaker-firefox-develop-1072:1

Creating default startup script /home/test/.vnc/xstartup
Creating default config /home/test/.vnc/config
Starting applications specified in /home/test/.vnc/xstartup
Log file is /home/test/.vnc/beaker-firefox-develop-1072:1.log

[test@beaker-firefox-develop-1072 ~]$ ls -la
total 32
drwx------. 18 test test 4096 Jan 24 05:38 .
drwxr-xr-x.  4 root root   36 Jan 24 05:17 ..
-rw-r--r--.  1 test test   18 Aug 30 01:30 .bash_logout
-rw-r--r--.  1 test test  141 Aug 30 01:30 .bash_profile
-rw-r--r--.  1 test test  332 Jan 24 05:18 .bashrc
drwx------. 15 test test 4096 Jan 24 05:38 .cache
drwx------. 11 test test  215 Jan 24 05:25 .config
drwx------.  3 test test   25 Jan 24 05:38 .dbus
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Desktop
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Documents
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Downloads
-rw-------.  1 test test   16 Jan 24 05:24 .esd_auth
dr-x------.  2 test test    0 Jan 24 05:38 .gvfs
-rw-------.  1 test test 1256 Jan 24 05:38 .ICEauthority
drwxr-xr-x.  3 test test   19 Jan 24 05:24 .local
drwx------.  5 test test   66 Jan 24 05:27 .mozilla
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Music
drwxr-xr-x.  2 test test  100 Jan 24 05:26 Pictures
drwxrw----.  3 test test   19 Jan 24 05:24 .pki
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Public
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Templates
drwxr-xr-x.  2 test test   57 Jan 24 05:27 Videos
drwxr-xr-x.  2 test test  132 Jan 24 05:38 .vnc
-rw-------.  1 test test  243 Jan 24 05:38 .Xauthority
[test@beaker-firefox-develop-1072 ~]$ exit
logout
[root@beaker-firefox-develop-1072 ~]# ls -la /home/test/
ls: cannot access '/home/test/.gvfs': Permission denied
total 36
drwx------. 18 test test 4096 Jan 24 05:38 .
drwxr-xr-x.  4 root root   36 Jan 24 05:17 ..
-rw-------.  1 test test   36 Jan 24 05:38 .bash_history
-rw-r--r--.  1 test test   18 Aug 30 01:30 .bash_logout
-rw-r--r--.  1 test test  141 Aug 30 01:30 .bash_profile
-rw-r--r--.  1 test test  332 Jan 24 05:18 .bashrc
drwx------. 15 test test 4096 Jan 24 05:38 .cache
drwx------. 11 test test  215 Jan 24 05:25 .config
drwx------.  3 test test   25 Jan 24 05:38 .dbus
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Desktop
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Documents
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Downloads
-rw-------.  1 test test   16 Jan 24 05:24 .esd_auth
d??????????  ? ?    ?       ?            ? .gvfs
-rw-------.  1 test test 1256 Jan 24 05:38 .ICEauthority
drwxr-xr-x.  3 test test   19 Jan 24 05:24 .local
drwx------.  5 test test   66 Jan 24 05:27 .mozilla
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Music
drwxr-xr-x.  2 test test  100 Jan 24 05:26 Pictures
drwxrw----.  3 test test   19 Jan 24 05:24 .pki
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Public
drwxr-xr-x.  2 test test    6 Jan 24 05:24 Templates
drwxr-xr-x.  2 test test   57 Jan 24 05:27 Videos
drwxr-xr-x.  2 test test  132 Jan 24 05:38 .vnc
-rw-------.  1 test test  243 Jan 24 05:38 .Xauthority
[root@beaker-firefox-develop-1072 ~]# useradd -m bug1473323 -G test
[root@beaker-firefox-develop-1072 ~]# passwd bug1473323
Changing password for user bug1473323.
New password: 

BAD PASSWORD: The password fails the dictionary check - it is too simplistic/systematic
Retype new password: 

passwd: all authentication tokens updated successfully.
[root@beaker-firefox-develop-1072 ~]# ls -la /home/bug1473323/
total 20
drwx------. 5 bug1473323 bug1473323 144 Jan 24 05:44 .
drwxr-xr-x. 5 root       root        54 Jan 24 05:43 ..
-rw-------. 1 bug1473323 bug1473323  16 Jan 24 05:44 .bash_history
-rw-r--r--. 1 bug1473323 bug1473323  18 Aug 30 01:30 .bash_logout
-rw-r--r--. 1 bug1473323 bug1473323 141 Aug 30 01:30 .bash_profile
-rw-r--r--. 1 bug1473323 bug1473323 312 Aug 30 01:30 .bashrc
drwx------. 2 bug1473323 bug1473323   6 Jan 24 05:44 .cache
drwxr-xr-x. 4 bug1473323 bug1473323  39 Jan 24 05:19 .mozilla
drwxr-xr-x. 2 bug1473323 bug1473323  88 Jan 24 05:44 .vnc
-rw-------. 1 bug1473323 bug1473323 243 Jan 24 05:44 .Xauthority
[root@beaker-firefox-develop-1072 ~]# su -l bug1473323
Last login: Fri Jan 24 05:44:27 EST 2020 on pts/0
[bug1473323@beaker-firefox-develop-1072 ~]$ vncserver 

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? 
A view-only password is not used

New 'beaker-firefox-develop-1072:2 (bug1473323)' desktop is beaker-firefox-develop-1072:2

Creating default startup script /home/bug1473323/.vnc/xstartup
Creating default config /home/bug1473323/.vnc/config
Starting applications specified in /home/bug1473323/.vnc/xstartup
Log file is /home/bug1473323/.vnc/beaker-firefox-develop-1072:2.log

[bug1473323@beaker-firefox-develop-1072 ~]$ exit
logout
[root@beaker-firefox-develop-1072 ~]# ls -la /home/bug1473323/
ls: cannot access '/home/bug1473323/.gvfs': Permission denied
total 32
drwx------. 18 bug1473323 bug1473323 4096 Jan 24 05:45 .
drwxr-xr-x.  5 root       root         54 Jan 24 05:43 ..
-rw-------.  1 bug1473323 bug1473323   32 Jan 24 05:45 .bash_history
-rw-r--r--.  1 bug1473323 bug1473323   18 Aug 30 01:30 .bash_logout
-rw-r--r--.  1 bug1473323 bug1473323  141 Aug 30 01:30 .bash_profile
-rw-r--r--.  1 bug1473323 bug1473323  312 Aug 30 01:30 .bashrc
drwx------. 11 bug1473323 bug1473323  252 Jan 24 05:45 .cache
drwx------. 11 bug1473323 bug1473323  239 Jan 24 05:45 .config
drwx------.  3 bug1473323 bug1473323   25 Jan 24 05:45 .dbus
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Desktop
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Documents
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Downloads
-rw-------.  1 bug1473323 bug1473323   16 Jan 24 05:45 .esd_auth
d??????????  ? ?          ?             ?            ? .gvfs
-rw-------.  1 bug1473323 bug1473323  314 Jan 24 05:45 .ICEauthority
drwx------.  3 bug1473323 bug1473323   19 Jan 24 05:45 .local
drwxr-xr-x.  4 bug1473323 bug1473323   39 Jan 24 05:19 .mozilla
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Music
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Pictures
drwxrw----.  3 bug1473323 bug1473323   19 Jan 24 05:45 .pki
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Public
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Templates
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 05:45 Videos
drwxr-xr-x.  2 bug1473323 bug1473323  132 Jan 24 05:45 .vnc
-rw-------.  1 bug1473323 bug1473323  243 Jan 24 05:45 .Xauthority

i can reproduce it like this. i will try to reproduce it on rhel 7.8.
you can log on the beaker-firefox-develop-1072 for investigation, it's reserved for few hours.

Comment 8 Jiri Prajzner 2020-01-24 11:09:33 UTC
also reproducible on latest rhel 7.8:
[root@beaker-firefox-develop-1073 ~]# ls -la /home/test/
total 688
drwx------. 15 test test   4096 Jan 24 05:57 .
drwxr-xr-x.  4 root root     36 Jan 24 05:51 ..
-rw-r--r--.  1 test test     18 Aug 21 10:29 .bash_logout
-rw-r--r--.  1 test test    193 Aug 21 10:29 .bash_profile
-rw-r--r--.  1 test test    251 Jan 24 05:51 .bashrc
drwx------. 15 test test   4096 Jan 24 05:57 .cache
-rw-r--r--.  1 test test 673354 Jan 24 05:57 CertTest.tar.bz2
drwxr-xr-x. 13 test test    249 Jan 24 05:57 .config
drwx------.  3 test test     25 Jan 24 05:57 .dbus
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Desktop
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Documents
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Downloads
-rw-------.  1 test test     16 Jan 24 05:57 .esd_auth
-rw-------.  1 test test    310 Jan 24 05:57 .ICEauthority
drwx------.  3 test test     19 Jan 24 05:57 .local
drwxr-xr-x.  5 test test     66 Jan 24 05:57 .mozilla
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Music
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Pictures
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Public
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Templates
drwxr-xr-x.  2 test test     57 Jan 24 05:57 Videos
[root@beaker-firefox-develop-1073 ~]# su -l test
Last login: Fri Jan 24 05:57:33 EST 2020 on :0
[test@beaker-firefox-develop-1073 ~]$ vncserver 

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? 
A view-only password is not used
xauth:  file /home/test/.Xauthority does not exist

New 'beaker-firefox-develop-1073:1 (test)' desktop is beaker-firefox-develop-1073:1

Creating default startup script /home/test/.vnc/xstartup
Creating default config /home/test/.vnc/config
Starting applications specified in /home/test/.vnc/xstartup
Log file is /home/test/.vnc/beaker-firefox-develop-1073:1.log

[test@beaker-firefox-develop-1073 ~]$ exit
logout
[root@beaker-firefox-develop-1073 ~]# ls -la /home/test/
ls: cannot access /home/test/.gvfs: Permission denied
total 696
drwx------. 17 test test   4096 Jan 24 06:06 .
drwxr-xr-x.  4 root root     36 Jan 24 05:51 ..
-rw-------.  1 test test     16 Jan 24 06:06 .bash_history
-rw-r--r--.  1 test test     18 Aug 21 10:29 .bash_logout
-rw-r--r--.  1 test test    193 Aug 21 10:29 .bash_profile
-rw-r--r--.  1 test test    251 Jan 24 05:51 .bashrc
drwx------. 18 test test   4096 Jan 24 06:06 .cache
-rw-r--r--.  1 test test 673354 Jan 24 05:57 CertTest.tar.bz2
drwxr-xr-x. 13 test test    249 Jan 24 05:57 .config
drwx------.  3 test test     25 Jan 24 05:57 .dbus
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Desktop
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Documents
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Downloads
-rw-------.  1 test test     16 Jan 24 05:57 .esd_auth
d??????????  ? ?    ?         ?            ? .gvfs
-rw-------.  1 test test    620 Jan 24 06:06 .ICEauthority
drwx------.  3 test test     19 Jan 24 05:57 .local
drwxr-xr-x.  5 test test     66 Jan 24 05:57 .mozilla
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Music
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Pictures
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Public
drwxr-xr-x.  2 test test      6 Jan 24 05:57 Templates
drwxr-xr-x.  2 test test     57 Jan 24 05:57 Videos
drwxr-xr-x.  2 test test    132 Jan 24 06:06 .vnc
-rw-------.  1 test test    243 Jan 24 06:06 .Xauthority
[root@beaker-firefox-develop-1073 ~]# useradd -m bug1473323 -G test
[root@beaker-firefox-develop-1073 ~]# passwd bug1473323
Changing password for user bug1473323.
New password: 

BAD PASSWORD: The password fails the dictionary check - it is too simplistic/systematic
Retype new password: 

passwd: all authentication tokens updated successfully.
[root@beaker-firefox-develop-1073 ~]# ls -la /home/bug1473323/
total 12
drwx------. 3 bug1473323 bug1473323  78 Jan 24 06:06 .
drwxr-xr-x. 5 root       root        54 Jan 24 06:06 ..
-rw-r--r--. 1 bug1473323 bug1473323  18 Aug 21 10:29 .bash_logout
-rw-r--r--. 1 bug1473323 bug1473323 193 Aug 21 10:29 .bash_profile
-rw-r--r--. 1 bug1473323 bug1473323 231 Aug 21 10:29 .bashrc
drwxr-xr-x. 4 bug1473323 bug1473323  39 Jan 24 05:52 .mozilla
[root@beaker-firefox-develop-1073 ~]# su -l bug1473323
[bug1473323@beaker-firefox-develop-1073 ~]$ vncserver 

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? 
A view-only password is not used
xauth:  file /home/bug1473323/.Xauthority does not exist

New 'beaker-firefox-develop-1073:2 (bug1473323)' desktop is beaker-firefox-develop-1073:2

Creating default startup script /home/bug1473323/.vnc/xstartup
Creating default config /home/bug1473323/.vnc/config
Starting applications specified in /home/bug1473323/.vnc/xstartup
Log file is /home/bug1473323/.vnc/beaker-firefox-develop-1073:2.log

[bug1473323@beaker-firefox-develop-1073 ~]$ exit
logout
[root@beaker-firefox-develop-1073 ~]# ls -la /home/bug1473323/
ls: cannot access /home/bug1473323/.gvfs: Permission denied
total 36
drwx------. 17 bug1473323 bug1473323 4096 Jan 24 06:07 .
drwxr-xr-x.  5 root       root         54 Jan 24 06:06 ..
-rw-------.  1 bug1473323 bug1473323   16 Jan 24 06:07 .bash_history
-rw-r--r--.  1 bug1473323 bug1473323   18 Aug 21 10:29 .bash_logout
-rw-r--r--.  1 bug1473323 bug1473323  193 Aug 21 10:29 .bash_profile
-rw-r--r--.  1 bug1473323 bug1473323  231 Aug 21 10:29 .bashrc
drwxrwxr-x. 14 bug1473323 bug1473323 4096 Jan 24 06:07 .cache
drwxrwxr-x. 13 bug1473323 bug1473323  217 Jan 24 06:07 .config
drwx------.  3 bug1473323 bug1473323   25 Jan 24 06:07 .dbus
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Desktop
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Documents
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Downloads
-rw-------.  1 bug1473323 bug1473323   16 Jan 24 06:07 .esd_auth
d??????????  ? ?          ?             ?            ? .gvfs
-rw-------.  1 bug1473323 bug1473323  310 Jan 24 06:07 .ICEauthority
drwx------.  3 bug1473323 bug1473323   19 Jan 24 06:07 .local
drwxr-xr-x.  4 bug1473323 bug1473323   39 Jan 24 05:52 .mozilla
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Music
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Pictures
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Public
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Templates
drwxr-xr-x.  2 bug1473323 bug1473323    6 Jan 24 06:07 Videos
drwxr-xr-x.  2 bug1473323 bug1473323  132 Jan 24 06:07 .vnc
-rw-------.  1 bug1473323 bug1473323  243 Jan 24 06:07 .Xauthority

again, you can log in beaker-firefox-develop-1073 for investigation, the system is reserved for few hours.

Comment 9 Ondrej Holy 2020-01-24 13:28:59 UTC
It looks like to me that this is expected output and doesn't relate to tigervnc and firefox at all. ".gvfs" folder is used by gvfsd-fuse as a mount point. gvfsd-fuse is started for the logged-in user. The fuse daemon isn't started with allow_root option for security reasons. So "ls: cannot access /home/test/.gvfs: Permission denied" is expected for all users (including root) except the test user. It should work fine if you run "ls" under the test user.

Just note that gvfs usually uses "/run/user/$UID/gvfs" for the mount point, but in this case ".gvfs" is used as a fallback, probably because XDG_RUNTIME_DIR is not set.


Note You need to log in before you can comment on or make changes to this bug.