New IT forum
26 June 2022, 05:58:30 pm *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: Guiplug 2.7 VNC issues  (Read 13001 times)

robomotic

  • Newbie
  • *
  • Posts: 12
Guiplug 2.7 VNC issues
« on: 30 April 2012, 12:39:35 pm »

Hello guys,
I have a GUIPLUG, kernel version 3.0.7, never touched the image on the SDCard just
the same as bought 1 month ago.
I am using Vinagre to try to connect to use the remote desktop.
Following steps done:
dreamplug connects on boot in the wireless network
sshd works, I can login via ssh client
disabled the password key storage to avoid inputting master key every time at boot

Tests:
try to access the VNC when the monitor is plugged via Vinagre, I get a connection closed response.
try to access the VNC when the monitor is unplugged via Vinagre, same apply

I do  a ps -e | grep vnc but it seems there's no VNC daemon running.

Any suggestion about how to enable it?
Logged

robomotic

  • Newbie
  • *
  • Posts: 12
Re: Guiplug 2.7 VNC issues
« Reply #1 on: 30 April 2012, 01:02:48 pm »

I forgot to include my printenv:

Code: [Select]
Marvell>> printenv

bootdelay=3
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootcmd_kernel=fatload usb 0 0x6400000 uImage
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sda2 rootdelay=10
ethact=egiga0
ethaddr=F0:AD:4E:00:B1:78
eth1addr=F0:AD:4E:00:B1:79
bootcmd_sdb=setenv bootargs console=ttyS0,115200 root=/dev/sdb2 panic=10 rootwait; usb start; run boot_sdb;
boot_sdb=fatload usb 1 0x6400000 uImage; bootm 0x6400000;
bootcmd_sda=${bootcmd_eth}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootcmd_eth=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}
clear_kernel_in_mem=echo Purging kernel in memory; mw 0x6400000 0x0 0x300000
bootcmd=run clear_kernel_in_mem; run bootcmd_sdb; run bootcmd_sda
stdin=serial
stdout=serial
stderr=serial

Environment size: 864/4092 bytes

EDIT:
This is interesting by using the serial+jtag debugger, I  can see that the guiplug asks for a login:

Code: [Select]
Debian GNU/Linux 6.0 guiplug ttyS0

guiplug login: guiplug
Password:
Last login: Mon Apr 30 12:29:06 UTC 2012 from optimus.local on pts/0
Linux guiplug 3.0.7 #9 PREEMPT Sat Oct 22 14:15:35 BST 2011 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
$ ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready

After logging from the serial interface, I am able to connect to the VNC.
Is there are a method to avoid this incovenience, otherwise everytime I boot the Dreamplug I have to use a JTAG
to enable ssh and vnc.


« Last Edit: 30 April 2012, 01:18:46 pm by robomotic »
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Guiplug 2.7 VNC issues
« Reply #2 on: 30 April 2012, 01:48:12 pm »

Capture and post the boot startup sequence from 'INIT: version ?.?? booting'
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

robomotic

  • Newbie
  • *
  • Posts: 12
Re: Guiplug 2.7 VNC issues
« Reply #3 on: 30 April 2012, 04:19:46 pm »

If you was referring to UBOOT here we go

Code: [Select]
U-Boot 2011.06-02334-g8f495d9-dirty (May 31 2011 - 02:06:26)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A0
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM:  512 MiB
SF: Detected MX25L1606 with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  3  2  1  0
Purging kernel in memory
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
       scanning bus for storage devices... 2 Storage Device(s) found
reading uImage

2644704 bytes read
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-3.0.7
   Created:      2011-10-22  13:16:07 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2644640 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Guiplug 2.7 VNC issues
« Reply #4 on: 30 April 2012, 04:47:16 pm »

Quote
referring to UBOOT
Nope, nothing to do with u-boot, this is all about your Linux configuration.
Like this (the second paste) http://www.newit.co.uk/forum/index.php/topic,3247.msg9294.html#msg9294
But don't need the kernel stuff, just from 'INIT: version 2.88 booting' on.
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

robomotic

  • Newbie
  • *
  • Posts: 12
Re: Guiplug 2.7 VNC issues
« Reply #5 on: 03 May 2012, 07:22:35 pm »

Right oky that's a long paste then!
Code: [Select]
Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 3.0.7 ([email protected]) (gcc version 4.6.1 (Debian 4.6.1-15) ) #9 PREEMPT Sat Oct 22 14:15:35 BST 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell GuruPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/sdb2 panic=10 rootwait
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 513620k/513620k available, 10668k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xe0800000 - 0xfe800000   ( 480 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002f000   ( 156 kB)
      .text : 0xc002f000 - 0xc04ff730   (4930 kB)
      .data : 0xc0500000 - 0xc0532180   ( 201 kB)
       .bss : 0xc05321a4 - 0xc05fd608   ( 814 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:114
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
Console: colour dummy device 80x30
Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=200000000.
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource orion_clocksource
Switched to NOHz mode on CPU #0
FS-Cache: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
FS-Cache: Netfs 'nfs' registered for caching
JFS: nTxBlock = 4012, nTxLock = 32101
msgmni has been set to 1003
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address f0:ad:4e:00:b1:78
mv643xx_eth_port mv643xx_eth_port.1: eth1: port 0 with MAC address f0:ad:4e:00:b1:79
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mousedev: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
rtc-mv rtc-mv: setting system clock to 2012-04-30 13:10:35 UTC (1335791435)
Waiting for root device /dev/sdb2...
mmc0: new high speed SDIO card at address 0001
usb 1-1: new high speed USB device number 2 using orion-ehci
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device number 3 using orion-ehci
scsi0 : usb-storage 1-1.1:1.0
usb 1-1.4: new full speed USB device number 4 using orion-ehci
input: C-Media USB Headphone Set   as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.3/input/input0
generic-usb 0003:0D8C:000C.0001: input: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-orion-ehci.0-1.4/input3
scsi 0:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:0:1: Direct-Access     Generic  STORAGE DEVICE   9910 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] 7954432 512-byte logical blocks: (4.07 GB/3.79 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:1: Attached scsi generic sg1 type 0
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:1: [sdb] 8011776 512-byte logical blocks: (4.10 GB/3.82 GiB)
sd 0:0:0:1: [sdb] Write Protect is off
sd 0:0:0:1: [sdb] No Caching mode page present
sd 0:0:0:1: [sdb] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
sd 0:0:0:1: [sdb] No Caching mode page present
sd 0:0:0:1: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:1: [sdb] No Caching mode page present
sd 0:0:0:1: [sdb] Assuming drive cache: write through
sd 0:0:0:1: [sdb] Attached SCSI removable disk
EXT3-fs: barriers not enabled
EXT3-fs (sdb2): warning: checktime reached, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb2): using internal journal
EXT3-fs (sdb2): 2 orphan inodes deleted
EXT3-fs (sdb2): recovery complete
EXT3-fs (sdb2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 8:18.
devtmpfs: mounted
Freeing init memory: 156K

INIT: version 2.88 booting

Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevdudevd[638]: can not read '/etc/udev/rules.d/75-persistent-net-generator.rules'


udev[639]: starting version 164
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...udevd[639]: can not read '/etc/udev/rules.d/75-persistent-net-generator.rules'


sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 1
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
ata1: SATA link down (SStatus 0 SControl F300)
Bluetooth: SCO socket layer initialized
Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2
btmrvl_sdio_interrupt: sbi_interrupt(df021200) card or priv is NULL, card=df144540

usbcore: registered new interface driver snd-usb-audio
done.
Setting parameters of disc: (none).
Setting preliminary keymap...done.
Activating swap...done.
Cleaning up ifupdown....
Setting up networking....
Loading kernel modules...mcypt: module license 'Marvell Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
WLAN FW already running! Skip FW download
done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...done.
Cleaning up temporary files....
Setting up ALSA...done.
fuse init (API version 7.16)
Setting console screen modes.
cannot (un)set powersave mode
[9;30][14;30]Skipping font and keymap setup (handled by console-setup).
Setting up console font and keymap...done.
Setting kernel variables ...done.

INIT: Entering runlevel: 2

Using makefile-style concurrent boot in runlevel 2.
Enabling additional executable binary formats: binfmt-supportmount: mount point /proc/sys/fs/binfmt_misc does not exist
Starting enhanced syslogd: rsyslogd.
Starting system message bus: dbus.
Starting TiMidity++ ALSA midi emulation....
Starting network connection manager: NetworkManager.
No screens found starting VNC..... :Stopping GNOME Display Manager: gdm3.
Starting VNC on Desktop:1 Port 5901.... :
New 'GuiPlug' desktop is guiplug:1

Starting applications specified in /home/guiplug/.vnc/xstartup
Log file is /home/guiplug/.vnc/guiplug:1.log

Starting GNOME Display Manager: gdm3.
Starting anac(h)ronistic cron: anacron.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemonNET: Registered protocol family 10
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth1: link is not ready
ADDRCONF(NETDEV_UP): mlan0: link is not ready
.
Starting bluetooth: bluetoothdBluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bridge firewalling registered
.
Starting periodic command scheduler: cron.
Loading cpufreq kernel modules...done (none).
CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
Starting NTP server: ntpd.
saned disabled; edit /etc/default/saned
Starting OpenBSD Secure Shell server: sshdsshd (1673): /proc/1673/oom_adj is deprecated, please use /proc/1673/oom_score_adj instead.
.

Debian GNU/Linux 6.0 guiplug ttyS0
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Guiplug 2.7 VNC issues
« Reply #6 on: 03 May 2012, 07:38:27 pm »

That's not looking very healthy, post the output of
Code: [Select]
ifconfig -a
« Last Edit: 03 May 2012, 09:16:10 pm by Confusticated »
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

robomotic

  • Newbie
  • *
  • Posts: 12
Re: Guiplug 2.7 VNC issues
« Reply #7 on: 04 May 2012, 09:11:11 am »

Hello I don't see anything strange from the network configuration:
Code: [Select]
$ /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr f0:ad:4e:00:b1:78 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:11

eth1      Link encap:Ethernet  HWaddr f0:ad:4e:00:b1:79 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6528 (6.3 KiB)  TX bytes:6528 (6.3 KiB)

mlan0     Link encap:Ethernet  HWaddr 00:24:23:45:04:e8 
          inet addr:192.168.1.19  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:23ff:fe45:4e8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:186 errors:0 dropped:0 overruns:0 frame:0
          TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26661 (26.0 KiB)  TX bytes:10893 (10.6 KiB)

pan0      Link encap:Ethernet  HWaddr 26:7c:97:4c:03:f7 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


I am connected to a WEP Wifi on mlan0 driver wlan_sdio which correctly associate at boot.
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Guiplug 2.7 VNC issues
« Reply #8 on: 04 May 2012, 10:30:47 am »

I wanted to see this

Quote
RX packets:186 errors:0 dropped:0 overruns:0 frame:0
TX packets:85 errors:0 dropped:0 overruns:0 carrier:0

Tidy up some stuff, do
Code: [Select]
update-rc.d binfmt-support disable

Then post
Code: [Select]
ss -a

Code: [Select]
tail -25 /home/guiplug/.vnc/guiplug:1.log
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

robomotic

  • Newbie
  • *
  • Posts: 12
Re: Guiplug 2.7 VNC issues
« Reply #9 on: 04 May 2012, 10:58:31 am »

Hello thanks a lot for helping me to debug it.
Code: [Select]
$ /usr/sbin/update-rc.d binfmt-support disable
update-rc.d: using dependency based boot sequencing
update-rc.d: error: Permission denied
$ sudo /usr/sbin/update-rc.d binfmt-support disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `binfmt-support' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `binfmt-support' overwrites defaults (empty).
$ ss -a
sh: ss: not found
$ ./ss -a
sh: ./ss: not found
$ whereis ss
ss: /sbin/ss
$ /sbin/ss
State       Recv-Q Send-Q              Local Address:Port                  Peer Address:Port   
ESTAB       0      0                    192.168.1.19:ssh                   192.168.1.10:60810   
ESTAB       0      0                    192.168.1.19:45721                92.122.123.11:www     
ESTAB       0      0                    192.168.1.19:ssh                   192.168.1.10:53268   
$ /sbin/ss
State       Recv-Q Send-Q              Local Address:Port                  Peer Address:Port   
ESTAB       0      0                    192.168.1.19:45721                92.122.123.11:www     
ESTAB       0      0                    192.168.1.19:ssh                   192.168.1.10:53268   
$ tail -25 /home/guiplug/.vnc/guiplug:1.log
Font directory '/usr/share/fonts/X11/Type1/' not found - ignoring
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
xrdb: No such file or directory
xrdb: can't open file '/home/guiplug/.Xresources'

30/04/12 13:11:36 Got connection from client 192.168.1.10
30/04/12 13:11:37 Using protocol version 3.8
30/04/12 13:11:56 Full-control authentication passed by 192.168.1.10
30/04/12 13:11:57 Using tight encoding for client 192.168.1.10
30/04/12 13:11:57 rfbProcessClientNormalMessage: ignoring unknown encoding -258
30/04/12 13:11:57 rfbProcessClientNormalMessage: ignoring unknown encoding -223
30/04/12 13:11:57 rfbProcessClientNormalMessage: ignoring unknown encoding 1464686185
30/04/12 13:11:57 Enabling full-color cursor updates for client 192.168.1.10
30/04/12 13:11:57 Enabling X-style cursor updates for client 192.168.1.10
30/04/12 13:11:57 rfbProcessClientNormalMessage: ignoring unknown encoding -257
30/04/12 13:11:57 rfbProcessClientNormalMessage: ignoring unknown encoding 16
30/04/12 13:19:33 Client 192.168.1.10 gone
30/04/12 13:19:33 Statistics:
30/04/12 13:19:33   key events received 0, pointer events 1035
30/04/12 13:19:33   framebuffer updates 76, rectangles 176, bytes 1559543
30/04/12 13:19:33     cursor shape updates 3, bytes 246
30/04/12 13:19:33     copyRect rectangles 1, bytes 16
30/04/12 13:19:33     tight rectangles 172, bytes 1559281
30/04/12 13:19:33   raw bytes equivalent 8446632, compression ratio 5.417004


The 192.168.1.10 host is my desktop with the ssh client.
I also noticed that the environment variables for bins etc. are not initialised, do I need to add them in the .bashrc?

Logged

bain

  • Newbie
  • *
  • Posts: 1
Re: Guiplug 2.7 VNC issues
« Reply #10 on: 04 May 2012, 11:59:38 am »

Your error log looks the same as https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=516274 Is it possible you are connecting to vino-server and not xvnc? It might explain why you can connect after logging in.  Maybe try 'ssh -X' and run 'vncviewer localhost:1' like they suggest? Or 'netstat -tlp' to see what is listening on what ports.
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Guiplug 2.7 VNC issues
« Reply #11 on: 04 May 2012, 01:47:09 pm »

Quote
$ ss -a
sh: ss: not found
$ ./ss -a

Quote
the environment variables for bins etc. are not initialised
You need to either log in as 'root' (not guiplug), or 'sudo' everything.

Quote
30/04/12 13:19:33
Check the date and time ('date') to confirm it is correct.
Can you remember what you changed after the last time vncserver was working (30/04/12) ?

Code: [Select]
tail -25 /var/log/syslog
« Last Edit: 04 May 2012, 01:49:30 pm by Confusticated »
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

robomotic

  • Newbie
  • *
  • Posts: 12
Re: Guiplug 2.7 VNC issues
« Reply #12 on: 25 May 2012, 10:30:04 am »

Hello,
I did manage finally to connect to the VNC and also via X11 remote.
The weird thing is that although I have changed my root and user passwords, the VNC server somehow is still configured with the old 'nosoup4u'.
Is there a way to change that password?

This is today's log:
Code: [Select]
25/05/12 10:22:03 Got connection from client 192.168.1.68
25/05/12 10:22:03 Using protocol version 3.8
25/05/12 10:22:07 Full-control authentication passed by 192.168.1.68
25/05/12 10:22:07 Using tight encoding for client 192.168.1.68
25/05/12 10:22:07 rfbProcessClientNormalMessage: ignoring unknown encoding -258
25/05/12 10:22:07 rfbProcessClientNormalMessage: ignoring unknown encoding -223
25/05/12 10:22:07 rfbProcessClientNormalMessage: ignoring unknown encoding 1464686185
25/05/12 10:22:07 Enabling full-color cursor updates for client 192.168.1.68
25/05/12 10:22:07 Enabling X-style cursor updates for client 192.168.1.68
25/05/12 10:22:07 rfbProcessClientNormalMessage: ignoring unknown encoding -257
25/05/12 10:22:07 rfbProcessClientNormalMessage: ignoring unknown encoding 16

Logged

bigbear59

  • Full Member
  • ***
  • Posts: 118
Re: Guiplug 2.7 VNC issues
« Reply #13 on: 25 May 2012, 02:11:59 pm »

Have you tried? :

vncpasswd(1) - Linux man page

Name
vncpasswd - change the VNC password

Synopsis
vncpasswd [passwd-file]
vncpasswd -f

Description
vncpasswd allows you to set the password used to access VNC desktops. Its default behavior is to prompt for a VNC password and then store an obfuscated version of this password to passwd-file (or to $HOME/.vnc/passwd if no password file is specified.) The vncserver script runs vncpasswd the first time you start a VNC desktop, and it invokes Xvnc with the appropriate -rfbauth option. vncviewer can also be given a password file to use via the -passwd option.

The password must be at least six characters long (unless the -f command-line option is used-- see below), and only the first eight characters are significant. Note that the stored password is not encrypted securely - anyone who has access to this file can trivially find out the plain-text password, so vncpasswd always sets appropriate permissions (read and write only by the owner.) However, when accessing a VNC desktop, a challenge-response mechanism is used over the wire making it hard for anyone to crack the password simply by snooping on the network.

Options

-f
    Filter mode. Read a plain-text password from stdin and write an encrypted version to stdout. Note that in filter mode, short or even empty passwords will be silently accepted.

Files

$HOME/.vnc/passwd
    Default location of the VNC password file.

See Also
vncviewer(1), vncserver(1), xvnc(1) vncconfig(1),

http://www.tigervnc.org

Authors
Tristan Richardson, RealVNC Ltd.
Antoine Martin
D. R. Commander

VNC was originally developed by the RealVNC team while at Olivetti Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. Many other people participated in development, testing and support.

Referenced By
vncconnect(1), x0vncserver(1), x11vnc(1)
Logged
Cheers,
BigBear59
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!