Firstly great HowTo followed the steps and have everything working like a charm as per your guide. I can RDP in and open multiple sessions and also using the change to startwv.sh take display:0. But as I use Xfce which is compatible with Xvnc I wanted to change the startwm.sh to open a vncserver on a given port and then open a fullscreen vncviewer. But when I log in I get the standard console and if I then source the startwm.sh it does as I expect. I cant find much in the way of forums for xrdp alone so was hopping some one can see my mistake.
startwm.sh
Code:
#!/bin/bash
vncserver :84 &
sleep 2
vncviewer localhost:84 -x11cursor -fullscreen -passwd ~/.vnc/passwd
I know the second time I run this it will state a vncserver is running but I have tried starting the vncserver separately and just having the last line and still no luck. Can someone point out what I'm missing. Thanks
Dan.
Bookmarks