Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Pogoplug Pro V3 running vncserver (4 replies)

$
0
0
Hi Bodhi,

I did buy a Pogoplug Pro.
I put your U-boot on it.
Copied the filestem to usb-stick.
and it works fantastic.
Thanks for the good work.


I have upgraded to the latest kernel: 4.4.54-oxnas-tld-1
Did a dist-upgrade to Debian 8

After that and reading about the mPCI-e possibilities and connectiong a real screen.
I thought maybe GUI with vnc4server

I did:
apt-get install gparted
apt-get install firmware-realtek
apt-get install task-lxde-desktop
apt-get install kde-full
apt-get install xfce4-desktop
apt-get install xfce4-goodies


Because of some problems during installation with memory, i did make a swap partition on the usb-stick.
Formatted as swap. I made it 384 Mb (3 times the amount of available memory)
looked up the UUID with blkid
and added in fstab:

UUID=XXXXX none  swap    sw      0       0


In /etc/rc.local i added:

su - root -c "vnc4server :1 -geometry 1920x1080 &" &
su - erik -c "vnc4server :2 -geometry 1920x1080 &" &

In /etc/alternatives/vncserver, i changed geometry
#$geometry = "1024x768";
$geometry = "1920x1080";

And create vncpasswords by starting vnc as root and user.
and changed in
~/.vnc/xstartup
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey -cursor_name left_ptr
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
/usr/bin/startlxde &




Did have some problems with memory and processorload.
So i switched from lightdm displaymanager to xdm displaymanger.

I am running top with 2 vncsessions running


top - 14:45:20 up 23 min,  2 users,  load average: 0.13, 0.11, 0.23
Tasks: 104 total,   1 running, 103 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.7 us,  0.3 sy,  0.0 ni, 99.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    120916 total,   117860 used,     3056 free,     6628 buffers
KiB Swap:   393212 total,    21728 used,   371484 free.    46196 cached Mem


It is working much better, than i expected.

Thanks

Viewing all articles
Browse latest Browse all 3247

Trending Articles