So I've trid to get xrdp working on Ubutnu Server 13.10 which meant a lot of messing around with lightdm and gdm. So after giving up on xrdp i switched to vnc. I installed vnc4server purged lightdm(as i chose it over gdm) installed ubuntu desktop, and instead of seeing my desktop i get only a terminal or if trying to run either unity or gnome-session in my xstartup i get either a gray screen if the line is not commented out or a patterned screeen both with the X cursor. What could be the cause of this?
#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc gnome-session-fallback & [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey #vncconfig -iconic & #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & #unity & gnome-session --session=classic &
And my screen looks exactly like in this question :Why can't I get a working session with vnc4server Although the answer there hasn't helped in my case.