Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can`t login #1568

Open
freecoder-kang opened this issue Dec 20, 2018 · 2 comments
Open

I can`t login #1568

freecoder-kang opened this issue Dec 20, 2018 · 2 comments

Comments

@freecoder-kang
Copy link

I followed the Installation and installed successfully. Then, I ran, but nothing happened:

bin]#./telegram-cli -k ../tg-server.pub
change_user_group: can't find the user telegramd to switch to
Telegram-cli version 1.4.1, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type show_license'. This is free software, and you are welcome to redistribute it under certain conditions; type show_license' for details.
Telegram-cli uses libtgl version 2.1.0
Telegram-cli includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
I: config dir=[/root/.telegram-cli]
libconfig not enabled

even if i enterd the TAB, it was still with no reflection.
Then, I used get_self , it gave me an error:

get_self
FAIL: 22: id should be user id

help me, please~

@SLKun
Copy link

SLKun commented Aug 9, 2019

same here
No login dialog prompted
image

@Paulchen232
Copy link

from @luckydonald:
According to main.c:559, if you start the cli as unix user 0 (root user), it will try to use the telegramd user instead.

You can

start the client from a non-root user
provide a non-root user to switch to (-U someuser flag)
create the non-root user telegramd, like the debian install script would

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants