raphytaffy
July 7th, 2016, 06:26 AM
I have installed vncserver through this guide: https://www.howtoforge.com/tutorial/ubuntu-gnome-vnc-headless-server/
I want to use icewm, so I installed it with:
apt-get install icewm icewm-themes
I have also tried to install these packages:
apt-get install xvfb
sudo apt-get install x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps
I must still be missing something because when I connect through VNC Viewer, all I see is this:
http://i.imgur.com/5PkkX6o.jpg
My xstartup looks like:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid black
vncconfig -iconic &
icewm-session &
My log file shows this when a client is connected:
Xvnc Free Edition 4.1.1 - built Jul 31 2015 19:10:31
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Wed Jul 6 22:15:40 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
/home/raphytaffy/.vnc/xstartup: 5: exec: /etc/X11/xinit/xinitrc: Permission denied
Wed Jul 6 22:15:59 2016
Connections: accepted: 0.0.0.0::52410
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Wed Jul 6 22:16:02 2016
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 8 (8bpp) colour-map
VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565
Wed Jul 6 22:16:06 2016
Connections: closed: 0.0.0.0::52410 (Clean disconnection)
SMsgWriter: framebuffer updates 3
SMsgWriter: raw rects 1, bytes 17612
SMsgWriter: hextile rects 1, bytes 1451414
SMsgWriter: ZRLE rects 2, bytes 1310
SMsgWriter: raw bytes equivalent 4337904, compression ratio 2.950281
I can provide any other information necessary, but I'm a bit stuck here.
I want to use icewm, so I installed it with:
apt-get install icewm icewm-themes
I have also tried to install these packages:
apt-get install xvfb
sudo apt-get install x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps
I must still be missing something because when I connect through VNC Viewer, all I see is this:
http://i.imgur.com/5PkkX6o.jpg
My xstartup looks like:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid black
vncconfig -iconic &
icewm-session &
My log file shows this when a client is connected:
Xvnc Free Edition 4.1.1 - built Jul 31 2015 19:10:31
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc
Wed Jul 6 22:15:40 2016
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
/home/raphytaffy/.vnc/xstartup: 5: exec: /etc/X11/xinit/xinitrc: Permission denied
Wed Jul 6 22:15:59 2016
Connections: accepted: 0.0.0.0::52410
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Wed Jul 6 22:16:02 2016
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 8 (8bpp) colour-map
VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565
Wed Jul 6 22:16:06 2016
Connections: closed: 0.0.0.0::52410 (Clean disconnection)
SMsgWriter: framebuffer updates 3
SMsgWriter: raw rects 1, bytes 17612
SMsgWriter: hextile rects 1, bytes 1451414
SMsgWriter: ZRLE rects 2, bytes 1310
SMsgWriter: raw bytes equivalent 4337904, compression ratio 2.950281
I can provide any other information necessary, but I'm a bit stuck here.