Working examples of xstartup configuration CentOS7 - Gnome 3 (3.22.3 presently)

875 views
Skip to first unread message

mine...@gmail.com

unread,
Dec 20, 2017, 10:43:41 AM12/20/17
to TigerVNC User Discussion/Support
Hello. I've rifled through countless posts and "How-to's" and pretty much all of them fail to get a VNC connection which resembles your actual desktop on a CentOS7 - Gnome 3 setup.

Most recently I've been able to connect and get to the actual desktop after commenting out the vast majority of the defaults in xstartup. Even then - there are elements to the Gnmome desktop missing such as the top bar with "Applications" on it.

I'm just curious if people have working xstartup configurations if they'd be willing to post them here. It really is a roundabout trying to find something that actually works. And if it doesn't work - the internet is flooded with "Just do this" solutions that are anything but. Currently my desktop won't display the drives, trash bin or any other mounts which would normally be displayed and the top toolbar is missing.
Thanks.

Pierre Ossman

unread,
Dec 21, 2017, 1:53:07 AM12/21/17
to mine...@gmail.com, TigerVNC User Discussion/Support
I'm going to take a guess that you are using Red Hat's packaging of
TigerVNC, because it is buggy in just the way you describe. They very
recently fixed it for Fedora but I'm not sure when it might roll out for
RHEL:

https://bugzilla.redhat.com/show_bug.cgi?id=896648

For now you have a few options:

1. Avoid using their systemd service and start things some other way

2. Grab our packaging and use our systemd service

3. Try to apply Red Hat's fix manually:

https://src.fedoraproject.org/rpms/tigervnc/c/d9f6bc6ba8d8cbdf0811fd33e90a6fcceac69fac?branch=master

Regards
--
Pierre Ossman Software Development
Cendio AB http://cendio.com
Teknikringen 8 http://twitter.com/ThinLinc
583 30 Linköping http://facebook.com/ThinLinc
Phone: +46-13-214600 http://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

mine...@gmail.com

unread,
Dec 21, 2017, 12:51:40 PM12/21/17
to TigerVNC User Discussion/Support
On Thursday, December 21, 2017 at 1:53:07 AM UTC-5, Pierre Ossman wrote:
Thank you for that. I went the route of making the manual fix. Now I'm in some funky loop with systemd/systemctl where it refuses to start the service. You can start it manually and it works great. I've been over most of the online "fixes" which haven't done a lot... So - about your systemd service... I'll be out looking for docs - but not entirely sure that it's not a bit over my head to figure out on my own.

Pierre Ossman

unread,
Dec 22, 2017, 3:42:09 AM12/22/17
to mine...@gmail.com, TigerVNC User Discussion/Support
On 21/12/17 18:51, mine...@gmail.com wrote:
>
> Thank you for that. I went the route of making the manual fix. Now I'm in some funky loop with systemd/systemctl where it refuses to start the service. You can start it manually and it works great. I've been over most of the online "fixes" which haven't done a lot...

I'm afraid I haven't heard of that problem, so I can't help you there. :/

> So - about your systemd service... I'll be out looking for docs - but not entirely sure that it's not a bit over my head to figure out on my own.
>

We actually have two. The one included with our RHEL 7 package works the
same way as Red Hat's. We also have one "user service" one as well:

https://github.com/TigerVNC/tigervnc/blob/master/contrib/systemd/user/vncserver%40.service

Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600 https://plus.google.com/+CendioThinLinc
Reply all
Reply to author
Forward
0 new messages