Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Local / remote login; is lightdm the answer ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mounty1
Guru
Guru


Joined: 06 Jul 2006
Posts: 480
Location: Queensland

PostPosted: Mon Jun 17, 2013 4:24 am    Post subject: Local / remote login; is lightdm the answer ? Reply with quote

Hello, my setup is a bit unusual. I'm looking to make it a bit more convenient. The local machine runs Gentoo (duh) + XFCE + SLIM but I also have a Gentoo machine running kde + kdm in VirtualBox (VB) on a server physically remotely located. To run a session on the VB machine, I:
  • ctrl-alt-F2, login as root and /etc/init.d/xdm stop to close the local session and kill the server.
  • ctrl-alt-F3 and login as myself.
  • $ X -query remoteVBserver -port whackynot177
This isn't terribly convenient and I wonder if lightdm would handle the switch more conveniently; that is, provide a menu to switch between the local login and the remote session. Once the remote session took over the display, getting back to lightdm would be a matter of getting kdm to relinquish control, in some way ... but that's another question.

The question now is: can lightdm provide the desired behaviour ?
_________________
Michael Mounteney
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3182

PostPosted: Mon Jun 17, 2013 5:18 am    Post subject: Reply with quote

Why do you want to close the local server in order to open the remote one? You should be able to run both and switch between both of them simultaneously. For this, login into Ctrl-alt-F2 and then give your command and append vt8 at the end, like so:
Code:
X -query remoteVBserver -port <port> vt8
I can't test it but it should work. Then you can switch between your local session and the remote session by Ctrl-alt-F7 and Ctrl-alt-F8.
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
mounty1
Guru
Guru


Joined: 06 Jul 2006
Posts: 480
Location: Queensland

PostPosted: Mon Jun 17, 2013 5:25 am    Post subject: Reply with quote

To save memory.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3182

PostPosted: Mon Jun 17, 2013 5:34 am    Post subject: Reply with quote

mounty1 wrote:
To save memory.
I thought xdmcp will use the memory of the remote server, not the local one. Anyway, I haven't run xdmcp in over a decade, so I am probably wrong.
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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