vncserver has been replaced by a systemd unit

5,066 views
Skip to first unread message

Minhaj Ahmed

unread,
Mar 8, 2021, 1:10:06 AM3/8/21
to TigerVNC User Discussion/Support

I have installed TigerVNC on Centos 8.3 and tried to run it but it is given me this message,

vncserver has been replaced by a systemd unit.

I have also followed the instruction from this file /usr/share/doc/tigervnc/HOWTO.md  but still faced error in starting vnc service,



Michael D. Setzer II

unread,
Mar 8, 2021, 2:14:26 AM3/8/21
to Minhaj Ahmed, TigerVNC User Discussion/Support
You might want to see if the following gets it running

On my Fedora 32, As root I can run
vncsession userid :port

That will start the vncserver to a degree?
Still find it to be flakey compared to what has worked fine for decades...

In the previous versions, have vncserver loaded via rc.local using the runuser to activate it for users.

Now the vncsessions has to be run by the root user and passed the users id and port.
After I run command this is what it shows as running?
Change userid to userid and port to xx

root     1275117       1  0 17:04 ?        00:00:00 vncsession userid :xx
root     1275118 1275117  0 17:04 ?        00:00:00 [vncsession] <defunct>
msetzer+ 1275119 1275117  0 17:04 ?        00:00:00 xinit /etc/X11/xinit/Xsession startxfce4 -- /usr/bin/Xvnc :xx -geometry 1270x900 -auth /root/.xauthPSV4Pt -desktop xxxxx.dyndns.org:xx (userid) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth /home/msetzerii/.vnc/passwd -rfbport 59xx -rfbwait 30000
msetzer+ 1275126 1275119  0 17:04 ?        00:00:00 /usr/bin/Xvnc :xx -geometry 1270x900 -auth /root/.xauthPSV4Pt -desktop xxxxxx.dyndns.org:xx (userid) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth /home/userid/.vnc/passwd -rfbport 59xx -rfbwait 30000

Might be able to run the Xvnc option of the final thing, and start it directly??

Haven't setup a Fedora 33 yet, it might be totally different and no longer give this option.. Seen memtion of TurboVnc that is suppose to still support the vnserver option, but it isn't in the Fedora Repos, so not sure what the process is to install it.


On 7 Mar 2021 at 22:10, Minhaj Ahmed wrote:

Date sent:      Sun, 7 Mar 2021 22:10:06 -0800 (PST)
From:             Minhaj Ahmed <minhaja...@gmail.com>
To:                 TigerVNC User Discussion/Support <tigervn...@googlegroups.com>
Subject:         [tigervnc-users] vncserver has been replaced by a systemd unit
> --
> You received this message because you are subscribed to the Google Groups
> "TigerVNC User Discussion/Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> To view this discussion on the web visit
> 7cc8e0n%40googlegroups.com .

  

DRC

unread,
Mar 8, 2021, 11:34:04 AM3/8/21
to tigervn...@googlegroups.com
> Haven't setup a Fedora 33 yet, it might be totally different and no
> longer give this option.. Seen memtion of TurboVnc that is suppose to
> still support the vnserver option, but it isn't in the Fedora Repos, so
> not sure what the process is to install it.

TurboVNC has its own YUM repo:
https://turbovnc.org/Downloads/YUM

Minhaj Ahmed

unread,
Mar 9, 2021, 2:36:51 AM3/9/21
to Michael D. Setzer II, TigerVNC User Discussion/Support
I'm Somehow able to Create a Session and assign a port to it, but the ip with the port is with a loopback ip any idea how to change it?

Result of : netstat -tulpn Command:
tcp        0      0 127.0.0.1:5905          0.0.0.0:*               LISTEN      2645/Xvnc          
tcp6       0      0 ::1:5905                :::*                    LISTEN      2645/Xvnc
Reply all
Reply to author
Forward
0 new messages