I am a total newbie in SLES and VNC. I installed fresh 12.2, then started a vncserver vncserver -geometry 1920x1080 :2.
But the vnc does not have access to the desktop. All folders and files are missing on the desktop.
And when I right click at the desktop, I have only limited option compare to direct access. Like I can not open terminal.
Does anyone know how to gain desktop access? Thank you very much.
I am using UltraVNC Viewer.
A YaST2 module exist to enable remote access via the VNC module. Configure it, adjust the firewall to allow access to the VNC ports, if needed.
Related
I can launch X11 application through my local machine to X11 enabled server.
e.g. ssh -x from my localmachine(linux desktop) then launch a installed application from the minimal server.
I would like to know if it's possible to access my installed application directly from my minimal server. e.g. ssh -x ?
Thank you.
Not sure if it is useful but better you can use either Xming or Mobaxterm to get an X11 for a linux machine . Ultra VNC/VNC are also some of those kind .
I want to run windows command on windows 2003 server from RHEL machine.
I tried one way to do it using winexe and it is working as expected. However to do this one I have to keep 139 port open and apparently this is a very vulnerable port and is advised not to be kept open.
One other way I found was to use cygwin and open ssh packages but these are again not supported in windows 2003 server.
Can anyone please suggest me any other way leaving these 2 to connect linux and windows machine and run command on cmd.exe from linux terminal.
You can emulate the whole Windows on RHEL using the Wine software. So you won't need to connect anywhere.
Other option is to connect from RHEL to Windows 2003 Server via an SSH.
Installing of an OpenSSH server on Windows has a couple of quirks:
in Windows settings you have to allow your account to run services
in the sshd config file of the OpenSSH server you have to set the StrictModes option to no, so you can use the SSH authentication by public/private keys
Sorry but I'm a newbie in Linux. I have a VPS hosting of CentOS 6. Can I access it like Remote Desktop on windows to see the GUI?
With a hosted Linux machine chances are that id doesn't even have "the GUI" (an X11 server and some GUI environment like KDE or Gnome) installed at all but only supports command line access via ssh.
If you really need GUI instead of command line access then the "classic" option would be VNC. There is a HowTo for this for CentOS at
http://wiki.centos.org/HowTos/VNC-Server
or at
http://www.howtoforge.com/vnc-server-installation-centos-6.5
for example ...
So, I have been attempting to access my work computer (Ubuntu 14.04) from home (windows 7).
I am using vnc and I have tried both tightvnc, xrdp, and default vino services on work computer.
Here is what I found not working and working.
Tightvnc server/xrdp server (linux) + tightvnc viewer (windows): NOT WORKING
Result: grey blank screen with X cursor
Attempted diagnosis: gnome-fallback, x-windows, gdm, all variations of xstartup files I could find online. Didn't find a solution
Vino server (linux) + tightvnc viewer (windows): WORKING if encryption disabled
Very straight forward setup through Desktop Sharing
Result: No matching security types! from tightvnc viewer connection
Solution: gsettings set org.gnome.Vino require-encryption false
Tightvnc server/Vino server (linux) + Remote Desktop (windows): NOT WORKING
Result: grey blank screen with X cursor (regardless of the vino security session)
So, I now have one solution that works but I don't feel secured with the encryption turned off. And I am really curious why I always get grey screen. Is it a security matching problem, or display problem? And are vino server and tightvnc server or other vnc server using the same ubuntu system service? Or these vnc services are independent of each other?
Thanks!
For the grey blank screen problem, try to use xfce4 desktop environment, install it by:
sudo apt-get install xfce4
And then create an xfce session
sudo gedit ~/.xsession
Where place only one line xfce4-session
Then reboot your linux machine and try to access it remotely again.
I am having trouble getting an x11 window of the desktop of a remote machine.
I am VPN'ed into a local network and I can get into the computer I want through the command line using:
ssh -X computer_name -l login_name
I thought that the -X would cause the remote machine's desktop to pop up in x11, and although x11 launched on my mac, I did not get an x11 window of the machines desktop.
I can get things like emacs to run and pop up in new x11 windows, but I want to get the whole desktop going.
I am running Mac OS 10.7, and the remote machine is running linux.
Any help would be appreciated.
Figured it out.
after the command
ssh -X computer_name -l login_name
I had to start a gnome-session
gnome-session >&/dev/null &
this gave me the linux desktop in an x11 window.
ssh -X (or -Y) only tunnels the connection to your local X server for the applications started on the remote machine from your SSH session. It cannot do anything about the desktop environment that is running on the remote machine's own X server.
You're probably looking for something like VNC, not X11 forwarding.
X-Window allows you to run programs remotely, and have their windows appear locally on your machine. As you stated, you were able to get this working properly. If you want to see the entire linux desktop on your mac, you will want to use a program like VNC.
You will need to run vncserver on your linux machine, then you can use any of a number of VNC clients on your mac to see the entire linux desktop. For example, Chicken of the VNC.
If you want your remote Linux desktop to be displayed on a window on your Mac you should use on your Mac (providing that the VPN is already setup and running, you have access to your Linux server, and XDMCP is configured on it):
$ Xephyr -query <linux-ip-or-name> :1