Fedora VNC blank screen issue



  • Hi,

    I am trying to setup VNC using the below steps on Fedora 26, and I can connect to the machine but seeing a blank screen:

    nano /etc/selinux/config = disabled
    dnf -y install tigervnc-server
    firewall-cmd --add-service=vnc-server --permanent
    firewall-cmd --reload
    su - medo
    vncpasswd

    cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@.service
    or
    nano /etc/systemd/system/vncserver@.service
    replace User=<USER> with User=medo twice

    Anyone have an heads up ?



  • Have you seen this - https://www.server-world.info/en/note?os=Fedora_25&p=desktop&f=6 guide by any chance? Looks liek they managed to get it working.



  • @emad-r

    Solved, depending on your Desktop Environment you need to adjust this file:

    ~/.vnc/xstartup
    #!/bin/sh
    exec startlxqt

    the above is for Fedora LXQT 26 edition.

    Solution found here:
    https://wiki.archlinux.org/index.php/TigerVNC

    My file is contains:

    #!/bin/sh
    
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    exec startlxqt
    

    Previously it was:

    #!/bin/sh
    
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    exec /etc/X11/xinit/xinitrc
    

    otherwise you will get gray screen.


Log in to reply
 

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.