Skip to content

Can code-server support multi-user ? #6253

Answered by jeffliao888
jeffliao888 asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @code-asher ,
Thank you very much for your help!

I found that if I setup as the following in my machineA server
userA: use port 8081 which set in ~/.config/code-server/config.yaml -> bind-addr: 127.0.0.1:8081
userB: use port 8082 which set in ~/.config/code-server/config.yaml -> bind-addr: 127.0.0.1:8082
userC: use port 8083 which set in ~/.config/code-server/config.yaml -> bind-addr: 127.0.0.1:8083

after I start the service

systemctl enable --now code-server@userA
systemctl enable --now code-server@userB
systemctl enable --now code-server@userC

then 3 user(userA, userB and userC) can use code-server in one server now, I think I have got my solution already, Thank you !

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@code-asher
Comment options

@jeffliao888
Comment options

Answer selected by jeffliao888
@code-asher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants