Forum
How to disable xbian-config at ssh login ? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: How to disable xbian-config at ssh login ? (/thread-277.html)



How to disable xbian-config at ssh login ? - bl72 - 17th Jan, 2013 08:31 AM

Hello,

I'm using xbian as a media center but not only. I'm happy to use this distribution which has a basic debian system & xmbc included. Thanks for the work !

I often use ssh to connect to the pi. Xbian-config running at each ssh login is annoying for me.
I did not manage to find how to disable it.

Does someone know how to do it ?

Thanks.

Bertrand.


RE: How to disable xbian-config at ssh login ? - CurlyMo - 17th Jan, 2013 08:34 AM

The most easy way is just setting a root password --> enabling SSH root login --> login to SSH as root. The xbian-config will only popup with the xbian user.

The second way is by:
Code:
mv /etc/profile.d/xbian-config.sh /etc/profile.d/xbian-config.sh.bak

However, remember that when you physically (re)move system files, the update also cannot update those files when necessary.


RE: How to disable xbian-config at ssh login ? - bl72 - 17th Jan, 2013 09:05 AM

Thanks, I'll move or modify the script. I do not want to log as root by default.