![]() ![]() See the tutorial I followed: sudo systemctl status - Start TightVNC server at startupĪctive: active (running) since Thu 06:49:27 UTC 9s ago So my question is the following: How to launch automatically a session or I could have the administrator privileges automatically? The server starts but in this case, unfortunately, I can't change any connection or other parameters. When I run the vncserver command in the terminal, I can access this vnc server with my client and disconnect or connect the vpn without any problem in exchange of a password, which must mean that I have administrator privileges.īut when I run this vncserver command automatically with my system script that I created here: that I have filled in as follows: Okay, so I'll explain as simply as possible, with the translator this time. The service is running and port 5901 is busy, but I can't access my system through a vnc viewer, but when I run a simple command line via ssh "vncserver:1" it works. ![]() The service starts and port 5901 is busy, but I can't access my system through a vnc viewer. ![]() My system : Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-32-generic x86_64)Īfter installing Tightvnc, I scrupulously followed the instructions to fill in a service file so that my vnc server restarts every time ubuntu starts (Recommendation from this site, and many other tests: ):ĭescription=Start TightVNC server at startupĮxecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1ĮxecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 -localhost :%i ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |