maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

shawnjefferson 2014-04-24 02:07

Re: Easy Debian Fremantle Beta Testing
 
I recently setup Kali in chroot and it exhibits the same gparted (and parted) problem (no surprise as it's based on Debian).

I did try putting the older versions of the binaries and the libparted0debian1.so from the working ED in, but that didn't make any difference, so perhaps some sort of kernel/libc issue as you say.

qole 2014-04-24 05:07

Re: Easy Debian Fremantle Beta Testing
 
Hey guys, I have long ago stopped using the N900, but I am more than happy to keep hosting the images that you produce in this thread. Just fire me an e-mail, qole at qole org and I'll put it up for you.

Also, I will gladly host hashes to ensure that you're getting the goods; where would you like the md5sums put?

(Note that you can use https on qole.org if you want. It isn't even afflicted with the heartbleed bug!)

EDIT:
Here's Sulu's latest Wheezy minimal version:
https://qole.org/files/debian_wheezy...armhf.img.lzma

sulu 2014-04-24 05:57

Re: Easy Debian Fremantle Beta Testing
 
@shawn:
I tried the same under Debian and came to the same conclusion.

@qole:
Good to see you're still alive! ;)
And thanks for the offer to keep on hosting images!

As for the md5sums I think it would be best to have a text file called imagename.md5 right where the images are that contains the output of <md5sum imagename>.

qole 2014-04-24 06:01

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1422532)
@shawn:
As for the md5sums I think it would be best to have a text file called imagename.md5 right where the images are that contains the output of <md5sum imagename>.

I have done this for all of the .lzma and .bz2 images. Tell me if you have problems, or if I missed something.

sulu 2014-04-24 06:07

Re: Easy Debian Fremantle Beta Testing
 
Yes, thats exactly what I meant. Thanks!

qole 2014-04-24 08:09

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1422532)
@shawn:
@qole:
Good to see you're still alive! ;)

I'm amazed that this thread is still alive! It has been more than 4 years since I started it!

Estel 2014-04-24 15:39

Re: Easy Debian Fremantle Beta Testing
 
So, it seems that ED is "stuck" kin old-stable Squeeze for fully working enviromnent (which isn't such a tragic thing, if you use squeeze-backports-sloppy), and almost-fully-working wheezy, for things where we need more security. At least, until Neo900, which is most likely to use mainstream kernel IIRC, so Jessie&future should become available, again.

Considering it, I'm performing some last polishing work on Squeeze image, including making it even more stylus (and even finger, in many cases) friendly, de-bloating (removing software that dupklicated functionality or is obsolete), etc. I even spend quite some time to make portrait support with integrated VKBD more polished, which is funny, as I don't plan to use portrait ED ever, it seems ;)

Of course, if people consider my usability modifications useful (sic!), I could release a tar that, upon extraction, should bring them into Wheezy version, too. No more wheezy images, though as - despite my ever-lasting admiration of sulu for his wonderful work on bringing so nearly complete wheezy experience - I stopped using wheezy alltogether, as the 3 confirmed things that won't work there (chromium, parts of gimp, and [g]parted) are, incidentally, the three things that I use in ED the most :(

Thanks for your willingness to host images, qole - such stability means a lot in troubles times of dissapearing hosts. I hope you can expect an squeeze-estel-final from me in few days ;)

/Estel

mscion 2014-04-24 15:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 1422552)
I'm amazed that this thread is still alive! It has been more than 4 years since I started it!

Hi qole! Hope you are well. Perhaps, when you have some free time you can put together a version of ED for sailfish... :)

EDIT: I just glanced at your twitter and I happen to notice you have a Nexus 5 and tried to do some swipe gestures (habit from using N950 I guess). I had the same experience when going from n9 to Galaxy Note. Awkward! Anyways, you can define some similar gestures using an app called GMD Gestures Control. It's not the same but you can set up swipe gesture to take you from a running app to, say, home page or recent apps or and even divide up the edge for a variety of swipe actions. You can also define one, two or more taps from different parts of the screen for actions. Have fun!

zerox 2014-05-05 00:07

Re: Easy Debian Fremantle Beta Testing
 
@sulu

Many thanks for creating the updated Wheezy image. I unpacked the image file to an ext4 partition on my SD card - in this configuration the performance is excellent.

Out of curiosity, I set up an old laptop with a minimal debian system just sufficient to run an X server and usb networking. I created a cloned set of Easy Debian scripts which connect to the laptop's X server over the usb0 connection. The result is totally satisfactory. There is no delay on keyboard or mouse input, and the screen updates smoothly. The N900 continues to use the wi-fi or 3G connection for all other network access.

There is a posting a long way back in this thread by leetnoob (http://talk.maemo.org/showpost.php?p...postcount=2135), in which he speculates "maybe this would have been the future if ms/nokia didn't happen.. no laptops just powerful phones connecting to dumb docking stations".

I think he may have had a point ...

endsormeans 2014-05-05 01:16

Re: Easy Debian Fremantle Beta Testing
 
I believe it will still come to it..."WHEN" the world breaks it's crack-like addiction to useless "smart"-phones-watches ...phablets, tablets and laptops and the like... and gets serious about having a portable powerful phone. We have gone from tons of separate devices to now syncing devices together...simple next step ...get rid of all the superfluous "other" devices and have just one wicked device and docking stations to interface with peripherals ....

Estel 2014-05-05 05:48

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by zerox (Post 1424142)
no laptops just powerful phones connecting to dumb docking stations".

I think he may have had a point ...

This is what I'm going to do with Neo900 *if* it ends up with having some kind of scale-less video output (VGA, DVI, whatever). If not, this is what I'm going to do with Pyra instead of Neo900, as it's going to have this feature for sure ;)

Although, I must say, that I still see powerful, regular-size desktop computers as part of this "idea". Desktop computer with replaceable parts (and better performance/price ratio) for in home entertainment/work, and mobile device for all other (and the same on-the-go) needs (that can connect to big screen, keyboard, mouse etc, if need to emulate desktop arise). Not to mention that this mobile device can still connect to desktop via ssh, vnc, or x-forwarding, if need for max performance of calculating something arise.

/Estel

sulu 2014-05-05 09:28

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by zerox (Post 1424142)
Out of curiosity, I set up an old laptop with a minimal debian system just sufficient to run an X server and usb networking. I created a cloned set of Easy Debian scripts which connect to the laptop's X server over the usb0 connection. The result is totally satisfactory. There is no delay on keyboard or mouse input, and the screen updates smoothly. The N900 continues to use the wi-fi or 3G connection for all other network access.

Can you describe that in more detail please?
As far as I understand you configured ED's X-Server not to run on Maemo's local one but on the remote one of the laptop. So except for the X-output everything is still happening on the N900, right?
I guess the laptop would have to be ancient (early Pentium II) for this procedure to be useful performance-wise.

btw:
Just in case you don't want to move the whole desktop but only single applications/windows to the laptop xpra [1] might be worth a try (assuming it works cross-architecture, which I haven't tested).


[1] https://packages.debian.org/wheezy/xpra

zerox 2014-05-08 23:48

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1424171)
Can you describe that in more detail please?

In Maemo's /usr/bin, I cloned debian-lxde-50 from debian-lxde. I commented out most of the statements, and changed the default value of WMEXEC from startlxde1 to startlxde50.

Code:

#!/bin/sh
##################################
#Change these two variables to the WM of your choice.
WMEXEC="$1"
[ "x$WMEXEC" != x ] ||  WMEXEC="startlxde50"
##################################
export DISPLAY=:0
# export TSLIB_TSDEVICE=/dev/input/event3
debbie-sue 'echo "chroot is now open!"'
## debbie-sue '/usr/bin/Xephyr :1 -screen 800x480 -br -ac' &
## while [ "x$PARWIN" = "x" ] ; do
##  # wait for Xephyr window to appear
##  export PARWIN=`wmctrl -l | grep -i "N/A Xephyr" | awk '{print $1}'`
## done
## echo "Xephyr window ID is ($PARWIN)"
## DISPLAY=:1 ; debbie-sue "habak -mf /usr/share/fonts/truetype/DroidSans-Bold.$
##      -ht 'Ctrl-back to return to dashboard.'"
## DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Debian'
## wmctrl -i -r $PARWIN -b toggle,fullscreen
## DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Debian'
## wmctrl -i -r $PARWIN -b toggle,fullscreen
## zenity --display=:0 --info --title="Information" --text="Welcome to Easy Deb$
## while [ "x$TWOWIN" = "x" ] ; do
##  # wait for Zenity dialog to pop up...
##  export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'`
## done
## sudo debian /sbin/qobi-wmhint-fix $PARWIN
debbie-sue /usr/bin/$WMEXEC
## killall Xephyr
export DISPLAY=:0

In Easy Debian's /usr/bin, I cloned startlxde50 from startlxde1. I changed the value of DISPLAY from :1 to 192.168.3.14:1.

In Maemo, I configured the usb0 interface to have address 192.168.3.15.

In Debian on the old laptop, I configured the usb0 interface to have address 192.168.3.14, and I started an X server on display :1.

Quote:

Originally Posted by sulu (Post 1424171)
As far as I understand you configured ED's X-Server not to run on Maemo's local one but on the remote one of the laptop. So except for the X-output everything is still happening on the N900, right?

Your understanding is correct. By not running the X server on the N900 we offload a significant amount of processing to the laptop. Contrast this with the approach described by leetnoob (http://talk.maemo.org/showpost.php?p...postcount=2135), which requires an x11vnc server running on the N900 plus the overhead of tightvnc encoding. I found that the user experience provided by the remote X server was vastly superior to that provided by the tightvnc viewer (I tried both).

I found that the remote X setup benefited from having the usb0 connection solely dedicated to X traffic. For example, mplayer running on the N900 was able to play videos smoothly on the remote X display. This also had the advantage that the N900's wlan0 connection could be dedicated to traffic from the rest of the network.

Quote:

Originally Posted by sulu (Post 1424171)
I guess the laptop would have to be ancient (early Pentium II) for this procedure to be useful performance-wise.

I think you are asking why would I go to all this trouble when I could just run programs directly on the laptop. Of course that would be possible, but that was not really the point of the experiment. I was interested in trying out the idea of the Ubuntu Edge project, i.e. to have a mobile device which offers the alternative of a desktop experience when required.

marmistrz 2014-06-08 16:31

Re: Easy Debian Fremantle Beta Testing
 
Is this [1] diff the only patch to be applied for directory-based Easy Debian?

[1] http://213.128.137.28/showpost.php?p...postcount=2911

sulu 2014-06-18 21:35

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by marmistrz (Post 1428728)
Is this [1] diff the only patch to be applied for directory-based Easy Debian?

[1] http://213.128.137.28/showpost.php?p...postcount=2911

Basically yes, although my version is even simpler (and therefore probably less elegant):
Code:

pp900-a:/sbin# diff closechroot closechroot.old
--- closechroot
+++ closechroot.old
@@ -29,7 +29,7 @@
 fi
 
 #Abort if chroot not mounted.
-if [ "$IMGFILE" != "none" ] && [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then
+if [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then
  echo "Nothing to do; chroot not mounted!"
-  exit 1
+  #exit 1
 fi

I don't remember the details but when I had some problems with lingering mounts I decided to use steamroller tactics.
All you have to do is make sure everything that was mounted gets unmounted afterwards.

TomJ 2014-06-19 10:20

Re: Easy Debian Fremantle Beta Testing
 
Despite having had at least 1 n900 for almost 5 years, I am just getting round to playing with ED. I like it so much I want to get it running as smoothly as possible. Having read the wiki and about 10% of this thread I think I know what I need to do for that, if not all the steps to get there, but I'd appreciate the opinions of those with a bit more experience on my opinions/assumptions before I start working out exactly how to go about achieving it.

1. ED as it comes from the repos downloads, uncompresses and installs an image file in MyDocs or on SD which is then mounted as a pseudo drive. This is a virtual ext2 on FAT32, so has more overheads and causes issues with USB MAss Storage mode.

2. The most efficient use of space is to install the ED image as a directory under opt. This would involve repartitioning the eMMC to give home a couple more gig at the expense of MyDocs.

3. If you're going to the effort of buggering around with partitions and assuming KP52 is installed, you may as well go the whole hog and format home to ext4, which should see marginal performance gains for Maemo as well as ED.

I have a spare device I can experiment upon before trying it on my day-to-day phone, but as I say above I'd appreciate the gurus' confirmation I'm aiming for the right thing before setting off down the path.

zerox 2014-06-19 17:13

Re: Easy Debian Fremantle Beta Testing
 
@TomJ

By way of a trial, you might save yourself a lot of work by creating an ext4 partition on your SD card and unpacking the ED image into that. It worked well for me.

TomJ 2014-06-19 17:25

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by zerox (Post 1430220)
@TomJ

By way of a trial, you might save yourself a lot of work by creating an ext4 partition on your SD card and unpacking the ED image into that. It worked well for me.


That's the sort of thing that's so obvious in hindsight it makes you wonder how you missed it. Thanks!

TomJ 2014-06-20 00:34

Re: Easy Debian Fremantle Beta Testing
 
Well, no-one's said I'm mad yet, so let's see if I understand what needs doing while I wait for a multi-gig backup over USB1, here's what I think I need to do on my device which has a currently working ED setup...

1. Format media and make directory, (.ED perhaps?)

2. Mount the image file (mount -o loop /home/user/MyDocs/debian-m5-estel.img.ext3 /mnt/ED).

3. Copy all of image file to directory (cp -R /mnt/ED /media/mmc1/.ED)

4. modify /home/user/.chroot, to make it point to include, in the relevant position:
IMGFILE=none
CHROOT=/media/mmc1/.ED

5. Edit closechroot script (where is that located?) as per Sulu's post 3095 above.

6. ...

7. Profit

At the risk of jinxing myself this seems deceptively easy. Are there any (what are the) immediate gotcha's I'm missing?

Sohil876 2014-06-20 10:06

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by TomJ (Post 1430287)
Well, no-one's said I'm mad yet, so let's see if I understand what needs doing while I wait for a multi-gig backup over USB1, here's what I think I need to do on my device which has a currently working ED setup...

1. Format media and make directory, (.ED perhaps?)

2. Mount the image file (mount -o loop /home/user/MyDocs/debian-m5-estel.img.ext3 /mnt/ED).

3. Copy all of image file to directory (cp -R /mnt/ED /media/mmc1/.ED)

4. modify /home/user/.chroot, to make it point to include, in the relevant position:
IMGFILE=none
CHROOT=/media/mmc1/.ED

5. Edit closechroot script (where is that located?) as per Sulu's post 3095 above.

6. ...

7. Profit

At the risk of jinxing myself this seems deceptively easy. Are there any (what are the) immediate gotcha's I'm missing?

In /sbin
Code:

/sbin/closechroot

zerox 2014-06-21 01:37

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by TomJ (Post 1430287)
3. Copy all of image file to directory (cp -R /mnt/ED /media/mmc1/.ED)

You might consider using tar to copy the ED files, as described on this page, in order to "preserve ownership, permissions, and timestamps".

pichlo 2014-06-21 06:42

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by zerox (Post 1430429)
You might consider using tar to copy the ED files, as described on this page, in order to "preserve ownership, permissions, and timestamps".

cp -a will do that for you too.

TomJ 2014-06-22 09:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by pichlo (Post 1430445)
cp -a will do that for you too.

I'm getting a load of
Code:

cp:Cannot preserve owership of foo: Operation not permitted
messages. I hope this won't be a problem.

TomJ 2014-06-22 20:05

Re: Easy Debian Fremantle Beta Testing
 
OK, got around the ownership preservation thing but...

I have documented what I'm trying to do at http://wiki.maemo.org/User_talk:Tomj#Prepare_backup,

<plea for help deleted as I have realised how I was being a numpty a bottle of beer and half a bottle of wine at dinner, followed by a shot of tequilla and some 40 year old single malt have evidently helped me reach the Ballmer peak>

TomJ 2014-06-22 22:29

Re: Easy Debian Fremantle Beta Testing
 
Quick check of understanding: editing /sbin/qchroot as so:

Code:

  echo .... >/dev/stderr
  #mount -o bind /home/user "$CHROOT/home/user"
 
  # Do it the Fremantle way.
  #mount /dev/mmcblk0p2 "$CHROOT/home"
  mount /dev/mmcblk0p1 "$CHROOT/home/user/MyDocs"


should be sufficient for Easy Debian to be able to access MyDocs, but not the rest of maemo's /home, shouldn't it?

marmistrz 2014-06-23 15:43

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1430090)
Basically yes, although my version is even simpler (and therefore probably less elegant):
Code:

pp900-a:/sbin# diff closechroot closechroot.old
--- closechroot
+++ closechroot.old
@@ -29,7 +29,7 @@
 fi
 
 #Abort if chroot not mounted.
-if [ "$IMGFILE" != "none" ] && [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then
+if [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then
  echo "Nothing to do; chroot not mounted!"
-  exit 1
+  #exit 1
 fi

I don't remember the details but when I had some problems with lingering mounts I decided to use steamroller tactics.
All you have to do is make sure everything that was mounted gets unmounted afterwards.

Thanks. So it might be good idea to include it into the easy-deb-chroot package :) Do you want to do it yourself as at the moment you're the actual Easy Debian maintainer? :)

Boemien 2014-06-24 00:10

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1422594)
(...) Of course, if people consider my usability modifications useful (sic!), I could release a tar that, upon extraction, should bring them into Wheezy version, too. No more wheezy images, though as - despite my ever-lasting admiration of sulu for his wonderful work on bringing so nearly complete wheezy experience - I stopped using wheezy alltogether, as the 3 confirmed things that won't work there (chromium, parts of gimp, and [g]parted) are, incidentally, the three things that I use in ED the most :(

Thanks for your willingness to host images, qole - such stability means a lot in troubles times of dissapearing hosts. I hope you can expect an squeeze-estel-final from me in few days ;)

/Estel

Hi Estel!!

I'm waiting your image with impatience. Browsing (and music too) is what I do with ED.

By the way, how to delete setting files when, for example, I switch images?

I noticed that when I change the images, the settings in ED from previous image was still here (panel for example). It could be useful because i'm obliged to install/uninstall ED each time I switch to a new image (in order to have a clean install)

Thanks in advance.

marmistrz 2014-07-11 10:58

Re: Easy Debian Fremantle Beta Testing
 
sulu: Your fix is partially in extras-devel ( without the commented out #exit 1)

I noticed a problem, though, that /var/lock/qmount-complete isn't created. Therefore, closechroot thinks there've been no mounts

sulu 2014-07-15 05:52

Re: Easy Debian Fremantle Beta Testing
 
Sorry for the late reply!

Quote:

Originally Posted by marmistrz (Post 1432463)
sulu: Your fix is partially in extras-devel ( without the commented out #exit 1)

I'm not quite sure I understand. Commnting out exit 1 is my "fix".

Quote:

Originally Posted by marmistrz (Post 1432463)
I noticed a problem, though, that /var/lock/qmount-complete isn't created. Therefore, closechroot thinks there've been no mounts

That's why exit 1 is commented out and why I said my solution would be less elegant - you could also call it dirty.

btw:
I have no ambitions of becoming a true ED maintainer. I only have very rudimentary knowledge of the packages and no intentions to change that.
Please feel free to apply any changes you like!

nokiabot 2014-08-21 15:27

Re: Easy Debian Fremantle Beta Testing
 
link me to the latest estel image or alike . did he release it or i am missing something:)

Boemien 2014-08-21 20:29

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by nokiabot (Post 1436499)
link me to the latest estel image or alike . did he release it or i am missing something:)

Waiting for it too!!!! :confused:

dyce 2014-09-29 15:17

Re: Easy Debian Fremantle Beta Testing
 
how do I use sulu's armhf? I get chroot /bin/sh exec format error. I put it in mydocs and ran easy debian. is it ext2 or another format? thanks in advance.

sulu 2014-09-29 17:00

Re: Easy Debian Fremantle Beta Testing
 
The compressed image contains an ext2 file system. So you have to unlzma the image (the destination or its file system doesn't matter) and tell Easy Debian to use that image.
To do that make sure the chroot is closed (via the corresponding Easy Debian icon), edit /home/user/.chroot and enter the destination path in the IMGFILE line.

If you extracted the image to MyDocs this line should look like this:
Code:

IMGFILE=/home/user/MyDocs/debian_wheezy3sulu_armhf.img
If you ned further assistance please post the contents of your /home/user/.chroot file and this output (including the full path):
Code:

md5sum /path/to/your/extracted/image/file
btw: Are you running kernel power (it's part of CSSU)?

malfunctioning 2014-10-13 17:18

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by leetnoob (Post 959347)
ok , got it working. it's much better than my method above as

1. the pc keyboard is mapped properly, could even use the scroll rocker
2. there is no issue with post connection launched apps having huge fonts.

here's what i did in case anyone else wants it:

1. install tightvncserver via symantic
2. go to maemo terminal
3. type : debbie
4. type : tightvncserver -geometry 1400x1050 :1 (or whatever resolution your pc has)
5. type startlxde1

you will be asked to enter a password for users to use when connecting at step 4

when you connect from your pc specify ipaddress:1 e.g. 192.168.1.1:1

amazing stuff.

I followed these instructions (minus the typo in (4.), which should be:

tightvncserver :1 -geometry 1400x1050

However, when I try to run startlxde1 I get:

** ERROR **: Only one lxsession can be executed at a time. Aborting...

I've tried multiple times, even after a full reboot of the N900 to no avail. Any ideas?

I'm using the m5estel image, by the way.

Thanks to qole, estel, sulu, and many others in this thread. This is a fantastic program which adds even more value to the great N900.

malfunctioning 2014-10-13 17:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by seanmcken (Post 1287467)
plzzzzz explain how to install avidemux????????

Estel is correct that normally it would only require to do
Code:

apt-get install avidemux
Assuming you have te right repositories enabled in /etc/apt/sources.list and that your packages list has been updated by running
Code:

apt-get update
This doesn't work for me though, because the deb-multimedia.org repository has no avidemux armel binary for squeeze (I'm using Estel's image). And I also have the squeeze backports enabled.

Anybody successfully installed avidemux in squeeze? How did you do it?

sulu 2014-10-13 18:34

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by malfunctioning (Post 1442819)
tightvncserver :1 -geometry 1400x1050

However, when I try to run startlxde1 I get:

** ERROR **: Only one lxsession can be executed at a time. Aborting...

I've tried multiple times, even after a full reboot of the N900 to no avail. Any ideas?

I wasn't able to reproduce the same error message with my Wheezy image but my guess is that you have an Easy Debian desktop open in parallel to the vnc session you want to start. This ED desktop runs on DISPLAY :1 and vnc servers under Linux by default try to start a new X session on a new DISPLAY. Essentially you're trying to run two lxsessions on one DISPLAY which it apparently doesn't like.
If I try your command without having an ED window open it works. I can also start a new ED vnc session on a new DISPLAY when I already have an ED window open:
Code:

tightvncserver :2 -geometry 1400x1050
The catch is, that this is a new ED desktop and not the same you see on your N900, which is probably not what you want.

I'm not familiar with tightvncserver but it seems to me there is no way to connect it to an already running X session. For my HTPC I deliberately chose x11vnc because it's able to open a vnc session on an already running X session which means you can access the same desktop via vnc that you see on your machine.
To make it short, with this command I was able to run a vnc session on the ED desktop:
Code:

x11vnc -display :1 -shared
For some reason I don't fully understand I then have to instruct my viewer to connect to the correct port instead of the correct display, but it works and I see my ED desktop on my PC:
Code:

xtightvncviewer 192.168.1.3::5900

malfunctioning 2014-10-13 19:28

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1442830)
I wasn't able to reproduce the same error message with my Wheezy image but my guess is that you have an Easy Debian desktop open in parallel to the vnc session you want to start. This ED desktop runs on DISPLAY :1 and vnc servers under Linux by default try to start a new X session on a new DISPLAY. Essentially you're trying to run two lxsessions on one DISPLAY which it apparently doesn't like.
If I try your command without having an ED window open it works. I can also start a new ED vnc session on a new DISPLAY when I already have an ED window open:
Code:

tightvncserver :2 -geometry 1400x1050
The catch is, that this is a new ED desktop and not the same you see on your N900, which is probably not what you want.

Thank you, sulu. Actually, I am not starting an LXDE session. I just rebooted the system, opened a terminal, enterred the debbie environment, and was unable to start ldxe on display :1. I'm going to assume I've messed the configuration in LXDE somehow, so I'll look into it.

I was able to start on :2, so thanks for that.

Quote:

Originally Posted by sulu (Post 1442830)
I'm not familiar with tightvncserver but it seems to me there is no way to connect it to an already running X session. For my HTPC I deliberately chose x11vnc because it's able to open a vnc session on an already running X session which means you can access the same desktop via vnc that you see on your machine.
To make it short, with this command I was able to run a vnc session on the ED desktop:
Code:

x11vnc -display :1 -shared
For some reason I don't fully understand I then have to instruct my viewer to connect to the correct port instead of the correct display, but it works and I see my ED desktop on my PC:
Code:

xtightvncviewer 192.168.1.3::5900

While my intent was to start a completely new graphical session, I think it will be useful for me to attach to an already running X11, excellent tip for doing that!

I might install x11vnc just to test this.

SHARP66 2014-10-13 21:27

Re: Easy Debian Fremantle Beta Testing
 
oance again why DO YOU PEOPLE WANT TO INSTALL DEBIAN ON N900,ONLY TO SHOW ....WHAT?

malfunctioning 2014-10-13 23:16

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by SHARP66 (Post 1442850)
oance again why DO YOU PEOPLE WANT TO INSTALL DEBIAN ON N900,ONLY TO SHOW ....wHAT?

/

I Thanked your post by mistake, and then I removed my Thanks. Then I tried to remove them again but it didn't work (it seems the number of Thanks must be a Natural number, whereas I was shooting for an Integer).

If I thought you weren't just trolling MAYBE I WOULD RESPOND TO YOUR POST WITH A REAL ANSWER, BUT... :D

qole 2014-10-14 04:51

Re: Easy Debian Fremantle Beta Testing
 
I'm still hosting the ED files, but I haven't seen any new files to host from anyone...


All times are GMT. The time now is 05:57.

vBulletin® Version 3.8.8