Page 2 of 2

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 14:35
by Hamza
Is there a way for me to test vncserver here?

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 15:21
by nassausky
Well it should be simple when the module is activated.

Point vncviewer from another machine to the ip address of the machine running the ISO image at port 5901. It will run on port 5902,5903,5904 if there are errors from a previous session (which doesn't get saved if you're running from CD)

The temporary password I have set is 'pass100'.

Not sure if that made sense:

If machine A boots regularly with the remastered ISO image I provided and it's ip address is 192.168.0.101
If machine B with an ip address of 192.168.0.102
Then run vncviewer on machine B with ip address 192.168.0.101:5901

If there is a problem you can try 5902,5903, 5904 etc

or just use lsof -i to see if the vnc process is listening on machine A

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 15:46
by Hamza
I have found the issue. It come from ktsuss and we haven't any control over this application as we haven't developped it. You can start Porteus Settings Centre from terminal using this command:

Code: Select all

su -c '/opt/porteus-scripts/porteus-settings-centre'
This will asks you for root password if you're not already logged as root and if password is correct, it'll displays you the Porteus Settings Centre.[/s]

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 16:05
by nassausky
Thanks hamza that didn't work but when I tried as brokenman asked me to test it out in an earlier post in this thread to:
Exec=ktsuss /opt/porteus-scripts/porteus-settings-centre

His code works. Can I leave it like that or do you think there are other implications?

Thanks

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 16:24
by Hamza
Oh sorry. I am wrong. The problem came from psu script which define the current super-root software to use. I have a tweak for you.
  1. Open the file /opt/porteus-scripts/xorg/psu
  2. Go to line 26
  3. You should have a line this:

    Code: Select all

    elif [ "$xfce" -eq 1 ]; then
  4. Replace the number 1 by the the number 2 or 1+number_of_vnc_desktops.
  5. Save the file and try to run it from XFCE menu.
These actions must be done under root permissions.

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 16:48
by nassausky
OK great I was just running out the door now but will try that. Will I need to post that as a bug?

Thanks!

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 16:55
by Hamza
No, that's not a bug. Please try the tweak and report the result here.

Re: Porteus Settings Centre" doesn't start on 2.0 RC2

Posted: 17 Feb 2013, 18:59
by Ahau
This is a bug but will be resolved in final because PSC is started with kstuss on all desktops now. 'psu' only existed because of issues with kstuss and trinity. Psu was written without contemplating multiple instances of one DE in use by the same user on the same display, which is why this happened. I think you could use '-ge 1' instead of '-eq 1' or 2, 3, etc.

We have some other wrappers that use similar code to find the current desktop, so I think we ned to add support for vnc use.

Thanks!!

Re: Porteus Settings Centre" doesn't start on 2.0 RC2 [Solve

Posted: 17 Feb 2013, 21:30
by nassausky
Yes the 'ge' greater than equal to code did the trick.

Thanks very much!