Hi,
I have 2 accounts on my PC. One account I use myself and I am always logged into it. Another account is for my son. He logs into it remotely using VNC (turbovnc to be exact).
For this to work I need to do this manually at the moment:
1. ssh myson@192.168.178.22 (and type in the password)
2. vncserver
My son connects via vncviewer 192.168.178.22:1 -Quality=60 -Password=supersecret
I think I cannot close the console otherwise it will shut down vncserver. When I restart my PC, I need to start vncserver again.
Remark: I don't think I can just start vncserver under my own account. It needs to run with my son's account if I am not mistaken.
My question is: can I somehow automate this and have vncserver running under my son's account when I boot into Linux Mint (or at least when I log into MY account)? Or do I always have to do this manually every time?
Start VNC server when booting..?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Start VNC server when booting..?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Start VNC server when booting..?
Interesting to note, my son only uses Blender on my machine. However the CPU goes crazy because "cinnamon" draws 10x the CPU compared to Blender.
Is this normal? Is it just displaying Cinnamon, but in reality it is the VNC process or Blender or something?
On a different note, what determines which desktop environment my son will use? He just connects via vncviewer and the desktop environment is already running. At the moment this seems to be Cinnamon. But he also ended up using XFCE on other occasions. He never picks the desktop environment himself. Something else does. Somebody has an idea? Is it just the last desktop environment that was selected during a "real" login?
Is this normal? Is it just displaying Cinnamon, but in reality it is the VNC process or Blender or something?
On a different note, what determines which desktop environment my son will use? He just connects via vncviewer and the desktop environment is already running. At the moment this seems to be Cinnamon. But he also ended up using XFCE on other occasions. He never picks the desktop environment himself. Something else does. Somebody has an idea? Is it just the last desktop environment that was selected during a "real" login?
Code: Select all
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26377 myson 20 0 4964732 232728 130312 S 247,2 0,7 43:18.36 cinnamon
26021 myson 20 0 1885068 193968 106364 S 29,4 0,6 4:57.63 Xvnc
30141 myson 20 0 1621628 325324 163692 S 23,8 1,0 4:09.22 blender
26247 myson 20 0 1776352 14620 12160 S 2,3 0,0 0:45.84 pulseaudio