Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

VNC for Oracle Linux 7.1

JimboOct 14 2015 — edited Oct 21 2015

Hi,

I am attempting to get Tiger VNC running in a fresh install of Oracle Linux 7.1

I installed tigervnc-server using YUM

I copied my /lib/systemd/system/vncserver@.service file to /etc/systemd/system directory

I edited the /etc/systemd/system/vncserver@.service config file

In the file I replaced <USER> with root, I appended -geometry to the ExecStart line, giving

ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver %i -geometry 1280x1024"

PIDFile=/home/root/.vnc/%H%i.pid

I issued

systemctl daemon-reload

I set my vnc password

I checked there was no vnc already running using  systemctl status vncserver@:1.service

As root I started the VNC Server systemctl start vncserver@:1.service

I got the following Error

Job for vncserver@:1.service failed. See 'systemctl status vncserver@:1.service' and 'journalctl -xn' for details.

Even though the command line failed there are now some vnc processes running

root      3426     1  0 11:18 ?        00:00:00 /usr/bin/Xvnc :1 -desktop lab3-nms:1 (root) -auth /root/.Xauthority -geometry 1280x1024 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn

root      3433     1  0 11:18 ?        00:00:00 /usr/bin/vncconfig -iconic

On the console there was also an

SEAlert reported

AVC denial

<SHOW>

SELinux has detected a problem

The source process /usr/libexec/colord

Attempted this access: search

On this directory: 15138

Any idea what the problem is ? Do I need to disable SELinux ?

thanks

Jim

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2015
Added on Oct 14 2015
15 comments
6,647 views