LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   How to resolve vnc server connect problem in OpenMandriva? (https://www.linuxquestions.org/questions/mandriva-30/how-to-resolve-vnc-server-connect-problem-in-openmandriva-4175631118/)

redscience 06-03-2018 03:42 PM

How to resolve vnc server connect problem in OpenMandriva?
 
When I would like to connect to vncserver in openmandriva ( within vmware workstation )

I see these error message:


Quote:

Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
And then,
Quote:

Unable to determine failsafe session name. Possible causes: xfconfd isn't running (D-Bus setup problem); environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc"), or xfce4-session is installed incorrectly.
What did I do:
Code:

urpmi tigervnc-server
vncpasswd
vncserver :1
vncserver -kill :1


# to show current packages
Code:

urpmq --fuzzy xfce
# To installation method
Code:

urpmi task-xfce
urpmi xfce4-session
urpmi xfce4-terminal xfce4-settings xfce4-panel xfce4-taskmanager

And:
Code:

echo 'xfce4-session' > ~/.xsession
And:
Code:

nano ~/.vnc/xstartup
Code:

#!/bin/sh
xfce4-session &
xrdb $HOME/.Xresources
/etc/X11/Xsession
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /etc/X11/xinit/xinitrc
x-window-manager &

And then, to start vncserver again, I used:
Code:

vncserver -geometry 1388x786 :1

Maybe some of my commands were wrong
like
Code:

echo 'xfce4-session' > ~/.xsession
OR
Some of my commands in
Code:

nano ~/.vnc/xstartup
Any suggestions?


All times are GMT -5. The time now is 03:58 AM.