You are not logged in.
I have been trying to connect via Realvnc from my mac and all I get is an openbox session even though I'm using xfce4. I've added the following command in the bottom although that is only for tigerVNC I believe. and I changed the ~/.vnc/xstartup to exec startxfce4 as well. The only time I can see the actual window is when I use tigervnc from my mac. Also when I try going viceversa (Arch to Mac) using remmina (vnc) it says vnc plugin not installed.
x0vncserver -display :0 -passwordfile ~/.vnc/passwd
Offline
What are the contents of your ~/.vnc/xstartup file?
Edit -- Nevermind. My hint is for vncserver / vncviewer.
Regardless, check for a configuration file for your server. Often vnc is set up to use a more static (lower bandwidth) WM.
Last edited by ewaller (2015-01-11 17:38:24)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
exec startxfce4
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 &
I have been able to understand something though, that the command I provided before
$ x0vncserver -display :0 -passwordfile ~/.vnc/passwd
I undesrtand that's to allow X display for vnc connections. But I just want that to be run automatically I don't want that to be run, and have that use up a terminal tab or have to run that command myself CONSTANTLY.
Last edited by LiquidAurum (2015-01-11 17:47:54)
Offline
Oh, the file does exist Okay, move the exec startxfce4 to the end of the file. Add a & to the end of the line to background it. Comment out the twm & line.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Ok I did that, I still get the same problem, however now I get it with tigervnc as well, even when I run x0vncserver -display :0 -passwordfile ~/.vnc/passwd
Offline