I need some help with sessions
#1
Ok, I'm not able with linux Confused

I've installed XBMCbuntu 12.2 and works very well, my compliment!

First of my goals (sorry if I don't know the exact terms)

I want to have XMBC run on pc startup, like now Blush and this's already ok but I want also to have another session (it's really a session) with and start on it all the programs that I need, like jdownloader etc...
Basically the second "session or user" is only to start another programs and for remote controll

It's possible?

Actually I've configured x2go and I run directly into "startxbmcbuntu" so if I reboot the system XBMC start regularly. How can I make another session to run my programs? It's right if I use this method? http://forum.xbmc.org/showthread.php?tid=115296

J
Reply
#2
You want to run two sessions at the same time or do you want the ability to switch out of XBMC into another session ?

If two at the same time: use that thread.

If you want to be able to switch to a desktop: exit xbmc, choose different session type and login.
Reply
#3
I use the pc to run XBMC and I want also silently run some program/script. No switch, I make the access to my pc only via remote session.
Reply
#4
How can I autorun program and bash with the second session?
Reply
#5
Log in via ssh or ctrl-alt-f1
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#6
that is a manual way, I wanna make it automatic Smile

So I've edited the /etc/lightdm/lightdm.conf is this

Code:
[LightDM]
seats=Seat:0 Seat:1

[SeatDefaults]
greeter-session=lightdm-gtk-greeter

[Seat:0]
autologin-user=xbmc
autologin-user-timeout=0
user-session=XBMC
allow-guest=false
default-user=xbmc

[Seat:1]
autologin-user=xbmc
autologin-user-timeout=0
user-session=XBMCbuntu
allow-guest=false
default-user=xbmc

I've also edited the /usr/share/xsessions/XBMCbuntu.desktop

Code:
[Desktop Entry]
# The names/descriptions should really be better
Name=XBMCbuntu
Comment=XBMCbuntu - Lightweight media center based on XBMC
Comment[zh_TW]=XBMCbuntu - Lightweight media center based on XBMC
Comment[fi]=XBMCbuntu - Lightweight media center based on XBMC
Comment[ja]=XBMCbuntu - Lightweight media center based on XBMC
Exec=jdownloader
# Icon=
Type=Application

Then reboot.....but when I log via ssh and i make the command top, no java is running, and with the command w report this
Code:
xbmc@xbmc:~$ w
20:50:45 up 20:04,  3 users,  load average: 1.36, 1.37, 1.36
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
xbmc     tty8     :1               00:47   20:04m  5.15s  0.06s /bin/sh /usr/bin/xbmc-standalone
xbmc     tty7     :0               00:47   20:04m  2.49s  0.07s /bin/sh /usr/bin/xbmc-standalone

I think that the 2 session are ok, but the second one is too similar to the 1st.

Where is the error?
Reply

Logout Mark Read Team Forum Stats Members Help
I need some help with sessions0