![]() |
1:root vncserver: The USER environment variable is not set.
Dear friends,
I get this error when I tried to start vncserver. 1:root vncserver: The USER environment variable is not set. Any idea how to solve this problem, it cannot start and stop vncserver now....pls help..thanks a lot... Regards Y |
In my /etc/sysconfig/vncserver I have the following settings:
VNCSERVERS="1:root" And in my /root/.vnc/xstartup #!/bin/sh # Uncomment the following two lines for normal desktop: #unset SESSION_MANAGER #exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & .... |
| All times are GMT -5. The time now is 12:24 PM. |