Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Graphical mode for remote connection

Currently, my Linux server has enabled ssh but I couldn't only connect it using text mode. Is it possible to enable the graphical support for all remote connection, while keeping the default graphical mode in the console ?

Thanks
Avatar of upanwar
upanwar
Flag of India image

You can either configure VNC server on your system and then connect your linux box through VNC Viewer or you can just use x-manager to run graphical application from your server.

http://www.netsarang.com/tutorial/xmanager/3121/Connecting_and_executing_remote_X_application_with_Xstart

Avatar of abolinhas
Avatar of AXISHK
AXISHK

ASKER

I have start the VNC and on my Window, I could connect to the Linux. However, it doesn't startup with graphical mode.

Even though I have killed the window session and try to start in graphical mode using "startx". It doesn't help.

I have also modifed the configuration under /too/.vnc/xstartup file, and replace but doesn't help. Any further advise ?

twn & 

   with

gnome-session --sm-disable
gnome-session

Avatar of AXISHK

ASKER

Hi,

Edit the $HOM/.vnc/xstartup and fix the problem. However, I still have some issue.

It only works for the first time connecting to from Window. When I logoff from VNC viewer and connect again. The graphical mode appears but no icon on the desktop can be used. I could only get the graphical mode enable by killing the session on the server and run the "vncserver" again. Any idea what's wrong ?

Thanks



Avatar of AXISHK

ASKER

Play around with VNC Viewer and find a fix for this. Actually, I need to click the "cross" button on the window right hand size, rather than log off from the System menu.

Is it expected to do in this way ? All VNC session share the same password, correct ?
Avatar of AXISHK

ASKER

One more thing, how to enable vncserver will be started everytime when I reboot the Linux. Use the command chkconfig to add to start at every reboot but doesn't help.

Tks
Avatar of AXISHK

ASKER

Sorry, could get the vncserver start automatically after reboot.  Only leave the reply logoff issue on my previous thread.

Tks
I have always used close button instead of logging off, because I was using vnc to manage redhat directory server, so I have not notice this issue.

But today by 3:00 PM IST I will check and get back to you.

Avatar of AXISHK

ASKER

Tks.

Just one another issue, the vncserver couldn't start even though I have put it under chkconfig:
    vncserver       0:off   1:off   2:on    3:on    4:on    5:on    6:off

Hence, I need to type 'vncserver" on the server before I could use VNC for remote client. Any idea ?

thanks again.
Once you log off and login to your vnc session just execute the command xterm, your issue should be fixed.
Avatar of AXISHK

ASKER

chkconfig --level 5 vncserver on

Already put the command on the server. Reboot but it doesn't help...

Have you set this

VNCSERVERS="1:root"

in file /etc/init.d/vncserver.

 
Avatar of AXISHK

ASKER

Yes, that's work.

So, it is recommended to disconnect remote session with "cross" button, rather than logoff ? If yes, I could mark the point.

Tks
ASKER CERTIFIED SOLUTION
Avatar of upanwar
upanwar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tls