• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: GUI and VNC guruplug plus? anynone succeed?  (Read 4530 times)
nurkkis
Newbie
*

Karma: 0
Posts: 9


View Profile
« on: June 06, 2010, 06:13:33 AM »

Hi!

I tried to install GUI for my guruplud so that I can acces it via VNC or something similiar. My guruplug shipped with debian lenny as default OS. I tried aptitude install kde-desktop, didnt work, gave some errors. I thought mayby the kde is too heavy for this. Then I tried aptitude install xfce4. The installation looked promising for while, but then came Kernel panic in the middle of installation (or mayby in the program startup?). Im not sure what the message means below.

My intentions are to install GUI for the OS and then remotely use guruplug desktop. Step by step instructions anywhere?

Anyone succes with GUI?


Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:Internal error: Oops: 1 [#1] PREEMPT

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:last sysfs file: /sys/devices/platform/leds-gpio/leds/plug2l:red:wmode/brightness

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:Process http (pid: 2604, stack limit = 0xd9730270)

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:Stack: (0xd9731b40 to 0xd9732000)

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1b40: d9731f78 00000001 d9731df8 00000000 00000000 05f5e100 d9731e3c d9731e40

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1b60: d9731e44 d9731e30 d9731e34 d9731e38 00000009 00000000 00000000 00000009

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1b80: 00000000 00000000 00000000 d9730000 2b0bf43b 00000c28 00000003 c00cf470

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1ba0: 000000db 00000000 df930c80 00000000 00000000 00000002 d96edb00 000000db

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1bc0: 00000000 d9731b9c c00cf568 d94e7c00 d94e7c00 d94e7c00 d950ff00 000000db

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1be0: 00000000 d9731b9c c00cf568 df718850 df718850 df718850 c003e024 c003774c

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1c00: d9731c44 d9731c10 997fcd43 0000000b 0000000f df930c80 c055f2d8 df9b4320

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1c20: 00000001 00000000 df930cb0 c055f318 ca87392d 000002b8 d9731c7c d9731c48

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1c40: c003e024 c003774c df9b4320 c055f2d8 998c48ed 0000000b 0000000f df930c80

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1c60: c055f2d8 df9b4320 00000001 00000000 d9731cb4 d9731c80 c0040a30 c003dfb4

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1c80: df9d0240 c055f2d8 c055f2d8 0000000f df9b4320 c055f2d8 00000000 00000001

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1ca0: df930cb0 c055f318 ca87d9d2 000002b8 d9731cf4 d9731cc0 c003e024 c003774c

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1ce0: 00000000 00000000 df930c80 d953801c df930c80 00000017 00000000 d9515c00

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1cc0: 00000000 df0f7c00 00000002 d9538000 d9731d44 d9731ce0 c0409c38 c04099fc

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1d00: d9731d44 d9731d10 c0405bb4 c04099fc 00000000 c0405cc4 d9730000 d9730000
E: Method http has died unexpectedly!

Message from syslogd@sheevaplug-debian at Mar  4 17:06:36 ...
 kernel:1d20: d9731d58 d9731d30 d9730000 d9731d38 c0097648 c04099fc d9731f48 d9731d48
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done

sheevaplug-debian:/# Internal error: Oops - undefined instruction: 0 [#2] PREEMPT
last sysfs file: /sys/devices/platform/leds-gpio/leds/plug2l:red:wmode/brightness
Modules linked in: libertas_sdio libertas bridge stp llc bnep btmrvl_sdio btmrvl sco rfcomm l2cap xt_tcpudp iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables ipv6 bluetooth [last unloaded: uap8xxx]
CPU: 0    Tainted: G      D W   (2.6.32-00007-g56678ec #1)
PC is at 0x2f1ee
LR is at __wake_up_common+0x40/0x84
pc : [<0002f1ee>]    lr : [<c0037e90>]    psr: 80000093
sp : d9539d50  ip : d9731bec  fp : d9539d7c
r10: 00000001  r9 : 00000001  r8 : df718850
r7 : 00000000  r6 : 00000001  r5 : fffffff4  r4 : d9731be0
r3 : 000000c1  r2 : 00000001  r1 : 00000001  r0 : d9731be0
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005397f  Table: 1f220000  DAC: 00000017
Process ksdioirqd/mmc0 (pid: 2371, stack limit = 0xd9538270)
Stack: (0xd9539d50 to 0xd953a000)
9d40:                                     00000001 a0000013 00000001 000000c1
9d60: df718850 00000001 ffffffff ba11b510 d9539dac d9539d80 c003c778 c0037e60
9d80: 000000c1 00000000 df31e400 df31e400 df31e400 df31e7e4 d94cb780 00000003
9da0: 0000000a d9539db0 c03373cc c003c734 00000003 c0376fb8 df31e400 d94cb780
9dc0: 000005c8 d047e072 d047e072 d047e05e 00000006 c037ac48 6e00a8c0 00000000
9de0: d94cb780 df31e400 d047e072 6e00a8c0 00000006 c03804f0 c036d63c c04099fc
9e00: 0000000a d9539e10 c004a68c c04099fc 00000000 00000000 d94cb780 df31e400
9e20: d047e072 c0382264 6e00a8c0 0000cdf8 00000006 d047e05e 00000006 d94cb780
9e40: c043afa8 d96a8000 00000008 00000000 c06532b0 c0364ff4 d94cb780 d94cb780
9e60: d047e05e c0364e6c d96a8000 c0364aac 80000000 c03ae6f8 d94cb780 c0653290
9e80: c0584dd8 d96a8000 00000008 c0341d6c 00000200 00000700 00000001 c05829e0
9ea0: 00000040 00042307 0000012c 00042309 0000000c c0341e64 00000000 60000013
9ec0: c05829e0 d9538000 00000040 c034493c 60000013 d9538000 00000101 c060e4e8
9ee0: 00000001 00000003 0000000c c0049860 196c001c 00000700 00000020 00000000
9f00: 00000100 60000013 d047e048 d94cb780 d047e022 d96a8000 7fffffff d96a82e0
9f20: d9538000 c004999c 00000000 c0344274 00000000 bf16cdc4 c055a128 c033a774
9f40: df98d000 00000620 d96c0000 d94cb780 d96c0000 00000618 00000000 d96c0020
9f60: 00000000 bf186f50 00000000 00000000 00000000 00000000 00000000 df0f7c00
9f80: df98d000 df98d000 00000001 c03154d8 00000000 d9539fa7 c03153f8 00000001
9fa0: 00000001 02539fd4 d955fd90 d9539fd4 d955fd90 df0f7c00 c03153f8 00000000
9fc0: 00000000 00000000 00000000 c005dc74 00000000 00000000 d9539fd8 d9539fd8
9fe0: 00000000 00000000 00000000 00000000 00000000 c002e3d0 00000000 00000000
Code: 0b9a000c 17c00000 0000006a 00100000 (d255fff1)
---[ end trace fa8c52566ebb5b09 ]---
Kernel panic - not syncing: Fatal exception in interrupt
[<c0032a34>] (unwind_backtrace+0x0/0xd4) from [<c0043e04>] (panic+0x48/0x134)
[<c0043e04>] (panic+0x48/0x134) from [<c0031120>] (die+0x164/0x190)
[<c0031120>] (die+0x164/0x190) from [<c00311e8>] (dump_stack+0x0/0xc)
Logged

nurkkis
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #1 on: June 07, 2010, 12:57:02 AM »

The error messages came when I tried to install the applications with my MMC as root 8 G drive. I followed these instructions:
http://plugcomputer.org/plugforum/index.php?topic=1642.msg10489#msg10489



1) My guruplug server plus recognizes the microSD as /dev/sdb, prepare microSD as:
  #fdisk /dev/sdb
   press "o"  / create a new partition table
   press "n"  / create a new partition
   press "p"  / it's a primary partition
   press "1"  / partition #1
   press enter / default first cylinder
   press enter / default last cylinder
   press "a"  / set the boot flag
   press "1" / ... for partition #1
   press "w" / save changes
   
#mkfs -t  ext3 /dev/sdb1
#mkdir /mnt/sdcard
#mount /dev/sdb1 /mnt/sdcard

2) copy files of Guruplug into microSD as:
#cp -axv / /mnt/sdcard
#cp -av /dev /mnt/sdcard
 By about two steps, the bootable microSD is available

3)  The next is how to boot the microSD,  do
#ls -l /dev/sd*
brw-rw---- 1 root floppy 8,  0 2009-08-08 16:48 /dev/sda
brw-rw---- 1 root floppy 8, 16 2009-08-08 16:48 /dev/sdb
brw-rw---- 1 root floppy 8, 17 2009-08-08 16:48 /dev/sdb1
the major and minor device numbers for /dev/sdb1′ which I put the rootfs on, are 8 and 17 respectively.
That number needs to be converted to hex, for entry in Uboot -- 8,17 in decimal converts to 8,11 in Hex,
for entry in Uboot this will be entered as 0811′.

4) Reboot the GuruPlug and this time hit any key before the system boots into Debian. Once at the Marvell prompt type:
Marvell>> nand read.e 0x6400000 0x100000 0x400000
Marvell>> setenv bootargs console=ttyS0,115200 root=0811 rootdelay=10
Marvell>> bootm 0x6400000



It seems application installs trough my MMC dont work. Anyone any ideas why?

This is how I got the the gui and vnc working. I installed these first in my NAND and then copied to my uSD.

aptitude install xfce4
aptitude install vnc-server
vncserver :0

Thats it, open your remote software and contact your plug IP.
Logged

iansito
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #2 on: September 13, 2010, 12:08:18 AM »

I am trying to do the same thing as Nurkkis. Does anyone know of any step-by-step instructions or a nod in the right direction? I installed x11, xauth, etc.. Whenever I attempt to startx, or xinit it fails "No display'. Is there a way to set a dummy display locally so I can forward an X/firefox session over SSH/NX?

Thanks,

Iansito
Logged

Gothnet
Newbie
*

Karma: 0
Posts: 33


View Profile
« Reply #3 on: September 13, 2010, 03:39:17 AM »

I'm not sure about your dummy display for SSH/NX, but to get VNC going on the sheeva, I installed tightvncserver and gnome-desktop, then ran the vncserver executable. All seemed to work fine.

For forwarding over SSH, just connect to your plug with ssh -X <plug-address-here> and then run the GUI app of your choice. Though if you drop the SSH connection it'll kill it.
Logged

bdewacht
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #4 on: October 15, 2010, 05:48:11 PM »

You can NOT run startx on the plug, as there is no display attached to it (unless you have a USB hardware with VGA output).

You have to install vncserver, which "renders"/"draws" the complete GUI in memory. Next, you use a standard VNC client from a standard linux/windows/iPhone to connect to the plug and "read out" this memory and draw it on the screen of this linux/windows/iPhone.

An alternative way is to use ssh -X to the plug from a linux box and start a GUI application (there are solutions for windows as well). This is however much slower. Also, in this case, it is the linux box which is running the X server, so when you shut down this box, you will lose all GUI applications, which is not the case with running vncserver on the plug.

I am using vncserver on the plug with WindowMaker: it looks cool and uses much less resources than a full blown gnome / kde.
Logged

pietsnot
Newbie
*

Karma: 1
Posts: 41


View Profile
« Reply #5 on: October 16, 2010, 02:29:10 PM »

i installed these packages below, so i'm able to run xorg,xeyes,synaptic,iceweasel,openoffice natively, 'can remotely connect my guruplug from home (ubuntu,gnome-rdp) and from work too (ssh->tunnel->mstsc)

ii  tightvncserver                    1.3.9-6.1+b1                  virtual network computing server software
ii  xserver-xorg                      1:7.5+7                       the X.Org X server
ii  rdesktop                          1.6.0-3                       RDP client for Windows NT/2000 Terminal Server
ii  xrdp                              0.5.0~20100303cvs-6           Remote Desktop Protocol (RDP) server
ii  iceweasel                         3.5.12-2                      Web browser based on Firefox
ii  icewm                             1.3.7~pre2-1                  wonderful Win95-OS/2-Motif-like window manager
ii  icewm-common                      1.3.7~pre2-1                  wonderful Win95-OS/2-Motif-like window manager
ii  icewm-gnome-support               1.3.7~pre2-1                  GNOME support files for IceWM
ii  icewm-themes                      1.2.26-1                      Theme files for the Ice Window Manager
ii  openoffice.org                    1:3.2.1-6                     office productivity suite

pstree
..
     └─xrdp-sesman───xrdp-sessvc─┬─Xvnc
                                 ├─ck-launch-sessi─┬─ssh-agent
                                 │                 └─x-session-manag─┬─icewm─┬─firefox-bin───10*[{firefox-bin}]
                                 │                                   │       └─xterm───bash
                                 │                                   ├─icewmbg
                                 │                                   └─icewmtray
                                 └─xrdp-chansrv───{xrdp-chansrv}
[/img][/img]


* Screenshot-rdesktop - gp2-1.png (41 KB, 802x627 - viewed 1334 times.)
« Last Edit: October 16, 2010, 03:21:15 PM by pietsnot » Logged

[unbricked]2xguruplug-server+2xjtag>nslu2;debian squeeze; [4|8]gb mmc:rootFS+swapFS; sata-hd 2tb; Linux-kernel-2.6.35.12; U-Boot_2010.03-01266; iptables:FW+router+gw;dhcpd;sshd;sabnzbd;vsftpd;exim4;rTorrent; nfs[d]; autofs; xorg; icewm; iceweasel; xrdp; privoxy+tor; apache; smbd; mediatomb>pch-a110

Pages: [1]
Print
Jump to: