[RESOLVED] VNC on pink pogoplug

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: HELP PLEASE - VNC on pink pogoplug

Postby Philoo » Fri Feb 10, 2012 4:39 pm

or being a tad more savy on your resources and not use the virtual framebuffer by changing your xstartup script in the .vnc (hidden) folder. one I use looks like (with xfce)

$this->bbcode_second_pass_code('', '
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
startxfce4 &
')
you can substitute lxde, xfce, blackbox, fluxbox, openbox etc at your convenience. then start your session with
$this->bbcode_second_pass_code('', '
vncserver :1
')

kill it using the -kill command switch
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: HELP PLEASE - VNC on pink pogoplug

Postby dinjo » Mon Feb 13, 2012 4:39 pm

I tried with steps above but i too only see the black screen which is the window manager i need to install to see some stuff
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: HELP PLEASE - VNC on pink pogoplug

Postby Philoo » Mon Feb 13, 2012 10:23 pm

from rootfs to xfce on vnc :

$this->bbcode_second_pass_code('', 'pacman -S tightvnc xfce4 ')

when asked about the options in the xfce group accept all (default)
then you'll need some fonts otherwise it will give you trouble

$this->bbcode_second_pass_code('', 'pacman -S xorg-server-common xorg-fonts xorg-fonts-75dpi xorg-100dpi xorg-fonts-alias xorg-fonts-misc')

log in/su as your non root user (you're not having an X desktop over vnc with root access, are you?)

start vnc once
$this->bbcode_second_pass_code('', 'vncserver :1
')
:1 is the display , I guess on a headless system like the pogo you could just as well use :0

you'll be asked for a full access password to the session
at your option enter a view only password.
kill the session
$this->bbcode_second_pass_code('', 'vncserver -kill :1')

change the vnc startup script:

$this->bbcode_second_pass_code('', 'cd ~/.vnc
nano xstartup')

in xstartup I like to just comment the twm & line and keep the xterm, just in case something goes seriously wrong I still get minimal console access. Add startexfce4 & on the last line.

$this->bbcode_second_pass_code('', '#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
startxfce4 &
')

for lxde substitute lxde for xfce4 in the initial pacman and in xstartup, I'll leave fluxbox as an exercice to the reader.
it might be necessary to force the startup of the panel by adding xfce-panel & to the xstartup file.
This is nothing really specific to arm though. I did quick-test the process on an x64 ubuntu in a i686 archlinux chroot. I'll recheck on the pogo when I'm back, and edit if necessary.
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: HELP PLEASE - VNC on pink pogoplug

Postby dinjo » Tue Feb 14, 2012 3:18 am

Thanks for this I tried but xsetroot, xterm and xrdb says command not found, I didn't checked whether those are installed or not will check when i reach home.I was expecting them to be dependent command and would be installed.
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: HELP PLEASE - VNC on pink pogoplug

Postby Philoo » Tue Feb 14, 2012 4:25 am

$this->bbcode_second_pass_quote('', 'T')hanks for this I tried but xsetroot, xterm and xrdb says command not found


Indeed, my bad. if everything else is ok, you can probably ignore these. Although xterm is kind of expected by many environments so I'd add it to the install.

$this->bbcode_second_pass_code('', 'pacman -S xorg-xrdb xorg-xsetroot xterm')

a couple of notes on the side:
1/ everything else being equal a fluxbox environment weighs in at 56MB of used RAM while xfce4 weighs in at 73 MB, and lxde at 61-62MB
2/ icewm fails to start because it does not find a png shared library, it looks like this is a matter of version (1.4 expected while 1.58 is installed). however this is probably too much of a niche (feather weight desktop environment) within a niche (arch on arm) to be a top priority issue.

Edit added lxde
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: HELP PLEASE - VNC on pink pogoplug

Postby dinjo » Tue Feb 14, 2012 5:52 am

Thanks i'll try today
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: HELP PLEASE - VNC on pink pogoplug

Postby dinjo » Tue Feb 14, 2012 2:25 pm

Can't get it working either i created another user but it always says display not set despite being set, can you let me know how can get VNC working using the lxde i was very close to get it working
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: HELP PLEASE - VNC on pink pogoplug

Postby moonman » Tue Feb 14, 2012 9:08 pm

The last post on the first page basically summarizes how to get it working.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: HELP PLEASE - VNC on pink pogoplug

Postby dinjo » Wed Feb 15, 2012 3:24 am

Actually it doesn't.

But finally i was able to run it with openbox :lol:
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: HELP PLEASE - VNC on pink pogoplug

Postby moonman » Fri Feb 17, 2012 11:03 am

well, it does work. The only thing that was forgotten there is pacman -Sy x11vnc
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests