Re: tigervnc fails with "Cannot establish any listening sockets - Make sure an X server isn't already running(EE)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 13, 2023, at 21:45, Alex <mysqlstudent@xxxxxxxxx> wrote:
> 
> 
> Hi,
> I have a fedora37 desktop install with tigervnc-server and can't get it to start. I'd like it to start on system boot.
> 
> I've followed the HOWTO.md as well as numerous examples online, and can't figure out what's wrong.  I've set the vncpasswd for the user listed in vncserver.users.
> 
> /etc/tigervnc/vncserver.users:
> :1=gary
> 
> $ cat ~/.vnc/config|grep -Ev '^$|^#'
> session=gnome
> securitytypes=vncauth,tlsvnc
> geometry=800x600
> 
> # systemctl start vncserver@:1
> Job for vncserver@:1.service failed because the control process exited with error code.
> See "systemctl status vncserver@:1.service" and "journalctl -xeu vncserver@:1.service" for details.
> 
> systemd[1]: Starting vncserver@:1.service - Remote desktop service (VNC)...
> vncserver[5803]: WARNING: vncserver has been replaced by a systemd unit and is now considered deprecated and removed in upstream.
> vncserver[5803]: Please read /usr/share/doc/tigervnc/HOWTO.md for more information.
> vncserver[5803]: WARNING: The first attempt to start Xvnc failed, possibly because the font
> vncserver[5803]: catalog is not properly configured.  Attempting to determine an appropriate
> vncserver[5803]: font path for this system and restart Xvnc using that font path ...
> vncserver[5803]: Could not start Xvnc.
> vncserver[5803]: _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> vncserver[5803]: _XSERVTransMakeAllCOTSServerListeners: server already running
> vncserver[5803]: (EE)
> vncserver[5803]: Fatal server error:
> vncserver[5803]: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
> vncserver[5803]: _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> vncserver[5803]: _XSERVTransMakeAllCOTSServerListeners: server already running
> vncserver[5803]: (EE)
> vncserver[5803]: Fatal server error:
> vncserver[5803]: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
> systemd[1]: vncserver@:1.service: Control process exited, code=exited, status=255/EXCEPTION
> systemd[1]: vncserver@:1.service: Failed with result 'exit-code'.
> systemd[1]: Failed to start vncserver@:1.service - Remote desktop service (VNC).
> 
> Could missing fonts really cause this? What more can I do to troubleshoot this?

The font thing is a warning. (See where it says WARNING)

You missed the errors:

> vncserver[5803]: _XSERVTransMakeAllCOTSServerListeners: server already running

There’s already something listening on the port it is trying to run on. Perhaps take a look at what port it is listening on and fix that. 


--
Jonathan Billings
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux