Hello, i am trying to get Xorg working wiht xfce in a headless jail, the idea is to connect to a VNC server for displaying xfce.
I have installed the following software:
Enabled dbus, im not sure if it is mandatory:
With my regular user I generate a VNC password:
I write a xinitrc file:
Then I start Xvfb server in a console:
And in another console try to start xfce:
But it seems to crash:
The next step would be start the VNC server when startx problem is solved:
But if xfce is not able to start, i cant continue, what could be wrong with my configuration?
I think that the steps are correct:
Is it correct?
I have installed the following software:
pkg install xorg xorg-vfbserver xfce x11vnc
Enabled dbus, im not sure if it is mandatory:
Code:
sysrc dbus_enable="YES"
service dbus start
With my regular user I generate a VNC password:
Code:
su axon -l
x11vnc -storepasswd
Code:
vi .xinitrc
export LANG=es_ES.UTF-8
export LC_ALL=es_ES.UTF-8
setxkbmap es
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startxfce4
Code:
Xvfb :0
Code:
startx
Code:
xauth: file /home/axon/.serverauth.82409 does not exist
/usr/local/bin/X: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Bad file descriptor
xinit: server error
x11vnc -usepw -display :0
But if xfce is not able to start, i cant continue, what could be wrong with my configuration?
I think that the steps are correct:
- - Start fake xorg server
- - Start WM inside fake xorg
- - Start VNC server to show WM of the fake xorg
Is it correct?