how to enable remote desktop and set password in RH Desktop.
I mean How can i enable vnc supptort from shell.
how to enable remote desktop and set password in RH Desktop
-
- Cadet
- Posts: 9
- Joined: Tue Oct 23, 2007 10:20 am
- Location: Rawalpindi
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: how to enable remote desktop and set password in RH Desk
Dear khurramiqbal,
Salam,
FYI, http://www.nomachine.com
Best Regards.
Salam,
You can follow link provided by x2oxen. You can also take a look into NoMachine NX if you want to use remote desktop other then VNC.khurramiqbal wrote:how to enable remote desktop and set password in RH Desktop. I mean How can i enable vnc supptort from shell.
FYI, http://www.nomachine.com
Best Regards.
Farrukh Ahmed
-
- Naik
- Posts: 68
- Joined: Thu Aug 07, 2008 6:09 pm
- Location: karachi
Yaseen
Hello ,
Please follow these quick steps to configure and use VNC on your server
----------------
--> yum -y install vnc vnc-server
--> Edit /etc/sysconfig/vncservers
Add the following lines, like in the example bellow, following these criteria:
VNCSERVERS="id:username"
#where id is the display port of the X Server - put 5 for example.
VNCSERVERARGS[2]="-geometry <desired_resolution> -nolisten tcp -nohttpd -localhost"
-->Configuring X Window System
Type vi /etc/X11/xorg.conf
Search for section "Screen" - should be in the last part of the configuration file and add the lines
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/userhomedirectory/.vnc/passwd"
Note that I used /root/.vnc/passwd because root is the username i configured. If you configure VNC for another account (specified in /etc/sysconfig/vncservers) tha path to the PasswordFile should be "/home/your_username/.vnc/passwd"
Save the file and close the editor.
--> chkconfig vncserver on
--> service vncserver start
----------------------
I hope this is done
Please follow these quick steps to configure and use VNC on your server
----------------
--> yum -y install vnc vnc-server
--> Edit /etc/sysconfig/vncservers
Add the following lines, like in the example bellow, following these criteria:
VNCSERVERS="id:username"
#where id is the display port of the X Server - put 5 for example.
VNCSERVERARGS[2]="-geometry <desired_resolution> -nolisten tcp -nohttpd -localhost"
-->Configuring X Window System
Type vi /etc/X11/xorg.conf
Search for section "Screen" - should be in the last part of the configuration file and add the lines
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "PasswordFile" "/userhomedirectory/.vnc/passwd"
Note that I used /root/.vnc/passwd because root is the username i configured. If you configure VNC for another account (specified in /etc/sysconfig/vncservers) tha path to the PasswordFile should be "/home/your_username/.vnc/passwd"
Save the file and close the editor.
--> chkconfig vncserver on
--> service vncserver start
----------------------
I hope this is done