LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   TigerVNC Configuration (https://www.linuxquestions.org/questions/linux-server-73/tigervnc-configuration-4175610538/)

vpsingh 07-25-2017 12:58 AM

TigerVNC Configuration
 
Hi Everyone.
This is my ever first post here.

I am getting stuck in a tigervnc configuration on RHEL 7 machine.

After installing required packages, copied the config file from /usr/lib/systemd/system/ to /etc/systemd/system/ and updated the <USER>.

created vncpasswd for user.

reloaded daemon. Enabled service.

I am getting below error while starting the service.
Why its saying that user doesn't exist. Even after its there.

Please give your kind support.


-- Unit vncserver@1.service has begun starting up.
Jul 25 11:10:59 vphost.example.com runuser[4493]: runuser: user <newuser> does not exist.
Jul 25 11:10:59 vphost.example.com systemd[1]: vncserver@1.service: control proc
Jul 25 11:10:59 vphost.example.com systemd[1]: Failed to start Remote desktop se
-- Subject: Unit vncserver@1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel

frankbell 07-26-2017 08:04 PM

This is a shot in the dark, but . . . .

Quote:

vphost.example.com runuser[4493]: runuser: user <newuser> does not exist.
Is the name of your host "example.com" and is the user name "user"?

vpsingh 07-27-2017 02:54 AM

Thanks for replying sir.

Yes domain name is "example.com" and username is "newuser".
Its a test machine.

This problem is solved. I was missing the right command to run "#vncserver :5"
5 is my display number. Actually I was running it without giving display number.

Thank you very much again for your response.


All times are GMT -5. The time now is 07:18 PM.