Skip to Main Content

VNC Server Issue

JanGLiAug 16 2017 — edited Aug 22 2017


I am working on Oracle Linux 6.4

uname -a result is

Linux xxxxxxxxx 3.8.13-118.19.2.el6uek.x86_64 #2 SMP Fri Jun 30 10:43:34 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux

I can't get my vnc server start properly.

I am starting vnc server using simple vncserver command. it starts properly stating that "New 'xxxxxx:1 (oracle)' desktop is xxxxxxx:3".

If i execute vncserver using root user...i am able to do xclock and xterm and execute .sh scripts.

If i execute vncserver using oracle user.... i am not able to even open terminal.... all i can see is desktop and navigate.... even file browser won't open... plus i can't see my /home/oracle/Desktop items too.

If i sudo oracle while logged in as root... i still can't execute sh scripts, can't xclock can't xterm. if i execute nothing happens no error nothing;

When i execute "service vncserver start" using root user i am getting this error: "vncserver: The HOME environment variable is not set.". when i do echo $HOME i am getting this /root

When i execute xclock using oracle user but logged in as root on vnc server i am getting this error "Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :1.0"

Kindly help what to do? been stuck in this for more than 2 days.

Does oracle linux use tiger vnc?

If yes from where can i download tiger vnc server rpm packages?


This post has been answered by JanGLi on Aug 22 2017
Jump to Answer
Post Details
Added on Aug 16 2017
1 comment