Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 08:02
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
dpup 486
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [45 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 4362
Location: Earth

PostPosted: Thu 02 Jan 2014, 12:34    Post subject:  

Happy New Yeear Everyone.

@Dejan555
I may have made a very bad assumption as I had, indeed, envisioned simple PAM in your multi-user system. Aside from the PAM issue, either of these confront you:
  • Does this mean that should you be logged in at the console and you went to another PC you could NOT login?
  • You login on one PC, but cannot login from a 2nd?
  • IDs other than the root ID cannot login?
Just trying to understand.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Thu 02 Jan 2014, 15:49    Post subject:  

gcmartin, I ran xrdp as described in goingnut's thread: on one PC
I ran Xorg as another user (not root, restricted, let's say it was user "dejan" )

From other PC I could connect as root but it logs in to already running X session of user "dejan" it doesn't start new X session as user root.
I think any user could connect if their password was supplied on x11vnc startup on server PC instead "woofwoof" but they would connect to whatever X session which already runs on server PC and not start new session.

The reason is that x11vnc in goingnut's package is configured to run with switches -shared and -passwd woofwoof (which I changed to my own root's password, if I changed to dejan's password I could probably connect as user dejan, but again to whichever X session was already running on server PC - don't know if I'm explaining this right )

Inspect files /etc/init.d/xrdp_pup and /root/Startup/x11vnc_start

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
gcmartin

Joined: 14 Oct 2005
Posts: 4362
Location: Earth

PostPosted: Fri 03 Jan 2014, 03:44    Post subject: XRDP is not behaving as expected on the Local network  

Thanks for the explanation.

I think I understand what you share: "The login user is stealing an active user's session on DPUP486"

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Fri 03 Jan 2014, 06:02    Post subject:  

Yes, but I guess if pam was installed that xrdp would be able to verify credentials of any user instead the one with password supplied on x11vnc commandline and start new X session.
_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
nmlkngdm

Joined: 27 Dec 2013
Posts: 27

PostPosted: Fri 03 Jan 2014, 10:21    Post subject:  

dejan555 wrote:
thanks nmlkngdm

I uploaded amarok sfs - 35 MB
amarok-1.4.10-i386-lenny_486.sfs
MD5SUM: 7c53c14dc441804c0abf5cd7e3cbc5e2 amarok-1.4.10-i386-lenny_486.sfs

Using a HP Pavilion Entertainment laptop
Intel(R) Core(TM)2 Duo CPU T5850 @ 2.16GHz

Comparison of Amarok and Beep

Beep


Amarok


Amarok First-Run Wizard

Last edited by nmlkngdm on Sat 04 Jan 2014, 21:06; edited 1 time in total
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 781

PostPosted: Fri 03 Jan 2014, 11:22    Post subject:  

re XRDP: The pet-package is by purpose set up to connect to the running session - which is what X11vnc will do. To set up system where every logon gets a new desktop another server must be used - Xvnc is a possibility (from tightvnc/vnc or others). If you setup such a system nothing will be saved when disconnecting - meaning that you wont be able to go back to same desktop and continuing your work. That is at least what I have been able to set up...
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Fri 03 Jan 2014, 11:44    Post subject:  

Well I didn't think nature of x11vnc is able to do that in the first place.
I read on xrdp's page that several options are available like Xvnc, librdp usage and similar.

Thanks for your input goingnuts

Not sure why changes wouldn't be saved thought if it would work.

@nmlkngdm

Thanks for test results, sure amarok must be bit heavier on resources but it offers more options.

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
goingnuts

Joined: 07 Dec 2008
Posts: 781

PostPosted: Fri 03 Jan 2014, 12:19    Post subject:  

Re saving: Files saved and so on will be saved - but if you have open windows, documents, running applications they are lost at logoff - again: thats just the level I was able to reach...
Guess its like if you do an "Exit to prompt" from running X.
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Fri 03 Jan 2014, 12:31    Post subject:  

Ah, so there's no something like -forever option in x11vnc?
I already ran x11vnc as server before and xrdp only adds ability to login from remote desktop client - if you use vnc viewer client you get same thing without xrdp ?
It's good that it implements rdp protocol though.

I'll try some combinations with xrdp and see if anything works.

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
oldyeller


Joined: 15 Nov 2011
Posts: 812
Location: Mishawaka IN

PostPosted: Fri 03 Jan 2014, 13:14    Post subject:  

Manual frugal install to Dell D430.

Everything seem to be working good, Looks nice and runs smooth. Thanks for this update.

Cheers
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 781

PostPosted: Fri 03 Jan 2014, 13:22    Post subject:  

For X11vnc you log in and out of the running X-session - with "forever" you just prevent x11vnc shutdown when you exit - and you can reconnect to the state you left it.

With Xvnc-server you seems to log into a new X-session every time - and log of that (for you) unique session. After logout the session is closed. You can reconnect but you seem to get a new X-session then.
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Fri 03 Jan 2014, 17:09    Post subject:  

I tried compiling X11rdp but compiled binary gives error about loading fonts, couldn't get it to get past it.
_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
nmlkngdm

Joined: 27 Dec 2013
Posts: 27

PostPosted: Fri 03 Jan 2014, 19:06    Post subject:  

dejan555 wrote:
Thanks for test results, sure amarok must be bit heavier on resources but it offers more options.

I couldn't agree more dejan555, just showing a graphical representation for those visual learners out there, including myself.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4362
Location: Earth

PostPosted: Sat 04 Jan 2014, 04:14    Post subject:  

In RDP world, there have been 2 states of existence. One when a logout occurs and another when a "disconnect" occurs.

On the logout state, depending on XRDP setup, 1 of 2 setup models exists
  • the user session is destroyed resources supporting any session is released, OR,
  • the user session is released, return to the available running pool ready for any subsequent login
Just thought of my use of XRDP-VNC services in Linux's past on Ubuntu-Fedora..

Hope this helps

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Fri 21 Feb 2014, 17:56    Post subject:  

Compiled and uploaded some new packages for dpup 486:
http://meownplanet.net/dejan/dpup486/packages/

If you update jwm also update fribidi package

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 2 of 3 [45 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0753s ][ Queries: 13 (0.0065s) ][ GZIP on ]