LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 06-06-2021, 11:50 AM   #1
rapetou
LQ Newbie
 
Registered: Feb 2012
Location: Jura, France
Distribution: Debians, Xubuntu
Posts: 17

Rep: Reputation: Disabled
Several VNC users on a same machine


I use tightvnc on a remote Debian 10 machine with a single user with the service configured as this :

root@actarus:/etc/systemd/system# cat vncserver\@.service
[Unit]
Description=Start TightVNC server at startup
After=syslog.target network.target

[Service]
Type=forking
User=jpc
Group=jpc
WorkingDirectory=/home/jpc

PIDFile=/home/jpc/.vnc/%H:%i.pid
ExecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1
ExecStart=/usr/bin/vncserver -geometry 1850x1000 :%i
ExecStop=/usr/bin/vncserver -kill :%i

[Install]
WantedBy=multi-user.target
That works fine for a year but now I'd need to add 2 other users and I cannot find any documentation in english or french to help me. Maybe I don't search in the right direction.
This is the reason why I come here to ask some help

Thanks


Jean-Philippe
 
Old 06-06-2021, 02:24 PM   #2
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Rep: Reputation: 31
Can you create a group and then add your VNC users to that group?
 
Old 06-08-2021, 12:51 AM   #3
rapetou
LQ Newbie
 
Registered: Feb 2012
Location: Jura, France
Distribution: Debians, Xubuntu
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cucolin@ View Post
Can you create a group and then add your VNC users to that group?

Hello,


No it is not possible.
 
Old 06-08-2021, 06:20 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,712

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

https://www.linuxquestions.org/quest...ne-4175696061/
 
1 members found this post helpful.
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Several VNC users on a same machine rapetou Linux - Desktop 3 06-08-2021 10:13 PM
The same users and passwords for several machines? Dims Linux - Security 6 08-11-2010 12:42 PM
Resetting several Linux account passwords on several systems using Windows ssh Melindhra667 Linux - Enterprise 1 02-26-2009 07:38 PM
prevent users to run the same script at the same time, on the same machine pvpnguyen Programming 2 09-05-2007 08:52 PM
Sharing partitions between several distributions on the same machine ninjabob7 Linux - General 3 12-24-2005 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration