You are not logged in.
Pages: 1
MOD EDIT: remove large screenshot. Please read the Forum Etiquette: https://wiki.archlinux.org/index.php/Fo … s_and_code
http://i64.tinypic.com/28k4znn.png
My ~/.vnc/xstartup:
GNU nano 2.5.3 File: xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
~/.vnc/vncserver:1.log
Mon Mar 14 21:30:43 2016
Connections: accepted: [::1]::43176
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VeNCrypt(19)
SVeNCrypt: Client requests security type TLSVnc (258)
Mon Mar 14 21:30:45 2016
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
Mon Mar 14 21:30:51 2016
Connections: closed: [::1]::43176 (Clean disconnection)
EncodeManager: Framebuffer updates: 1
EncodeManager: Tight:
EncodeManager: Solid: 1 rects, 786.432 kpixels
EncodeManager: 16 B (1:196609 ratio)
EncodeManager: Total: 1 rects, 786.432 kpixels
EncodeManager: 16 B (1:196609 ratio)
Last edited by fukawi2 (2016-04-14 23:13:31)
Offline
I had the same issue, and I think its due to either GDM or gnome trying to handle everything related to X. I never had success with Gnome over vnc and installed XFCE4 just for my remote sessions, allowing my GNOME for my home desktop. And in the xinitrc file I remove all of the lines except for:
#!/bin/sh
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
exec startxfce4
But one thing was in the wiki, it wanted you to start a VNC session on :1, I went with :4. Like this:
systemctl --user start vncserver@:4
Then everything start working for me.
Offline
Pages: 1