I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
Here's what's been tried so far:
I ran this command on the CentOS server:
export DISPLAY=192.168.0.18:0.0
And ran this command on the Ubuntu laptop:
xauth +192.168.0.2
When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting:
[root@centos-ws ~]# xclock Error: Can't open display: 192.168.0.18:0.0
I'm assuming there's an important little detail I'm missing somewhere, but don't know what.
Any suggestions?
Paul
techlists@comcast.net wrote:
I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
Here's what's been tried so far:
I ran this command on the CentOS server:
export DISPLAY=192.168.0.18:0.0
And ran this command on the Ubuntu laptop:
xauth +192.168.0.2
When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting:
[root@centos-ws ~]# xclock Error: Can't open display: 192.168.0.18:0.0
I'm assuming there's an important little detail I'm missing somewhere, but don't know what.
Any suggestions?
Paul _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi
Are you using ssh for the connection if so ssh -X should tunnel X for you. You may need to check the sshd.conf on the server you are connecting to has X11Forwarding yes
n Wed, 2007-10-10 at 02:14 +0000, techlists@comcast.net wrote:
I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
Here's what's been tried so far:
I ran this command on the CentOS server:
export DISPLAY=192.168.0.18:0.0
ssh -X -Y centos
xclock &
On 10/9/07, techlists@comcast.net techlists@comcast.net wrote:
I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
Here's what's been tried so far:
I ran this command on the CentOS server:
export DISPLAY=192.168.0.18:0.0
And ran this command on the Ubuntu laptop:
xauth +192.168.0.2
When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting:
[root@centos-ws ~]# xclock Error: Can't open display: 192.168.0.18:0.0
I'm assuming there's an important little detail I'm missing somewhere, but don't know what.
Any suggestions?
Paul
On the CentOS box, edit /etc/ssh/sshd_config to add the line:
X11Forwarding yes
Restart sshd by service sshd restart
From the Ubuntu box, connect to CentOS by:
ssh -Y centosbox
(use -Y instead of -X, see man ssh for the reason)
There is no need to set DISPLAY as pointed out earlier.
Akemi
Salam,
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
Applications-->internet-->Terminal Server Client
Regards,
Umair Shakil ETD
On 10/10/07, techlists@comcast.net techlists@comcast.net wrote:
I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
Here's what's been tried so far:
I ran this command on the CentOS server:
export DISPLAY=192.168.0.18:0.0
And ran this command on the Ubuntu laptop:
xauth +192.168.0.2
When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting:
[root@centos-ws ~]# xclock Error: Can't open display: 192.168.0.18:0.0
I'm assuming there's an important little detail I'm missing somewhere, but don't know what.
Any suggestions?
Paul _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John R Pierce wrote:
umair shakil wrote:
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
RDP is a Microsoft Windows Remote Desktop Protocol. what good would that be for linux to linux ??!?
Well if Linux did have a RDP server then it might be good...RDP is fast (well, I could play Pinball 3D with it :-P)
On Wed, 10 Oct 2007, Feizhou wrote:
John R Pierce wrote:
umair shakil wrote:
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
RDP is a Microsoft Windows Remote Desktop Protocol. what good would that be for linux to linux ??!?
Well if Linux did have a RDP server then it might be good...RDP is fast (well, I could play Pinball 3D with it :-P)
There is xrdp and I have packaged it for RPMforge, but I am not sure if it is completely usable. (ie. I haven't figured out how to use it and therefor I didn't make the proper sysv script etc...)
On Oct 10, 2007, at 10:09, Dag Wieers wrote:
There is xrdp and I have packaged it for RPMforge, but I am not sure if it is completely usable. (ie. I haven't figured out how to use it and therefor I didn't make the proper sysv script etc...)
On a somewhat related note, what is the best/easiest way to set up a CentOS system to be able to access an existing X desktop remotely (like Remote Desktop on Windows)? I have used VNC in the past, but I had to create a new VNC session. I want to be able to access my existing desktop remotely and not a separate VNC desktop. Can nx do this (I've heard about nx on this mailing list, but have not yet read any documentation)?
Thanks, Alfred
On 10/10/07, Alfred von Campe alfred@von-campe.com wrote:
On Oct 10, 2007, at 10:09, Dag Wieers wrote:
There is xrdp and I have packaged it for RPMforge, but I am not sure if it is completely usable. (ie. I haven't figured out how to use it and therefor I didn't make the proper sysv script etc...)
On a somewhat related note, what is the best/easiest way to set up a CentOS system to be able to access an existing X desktop remotely (like Remote Desktop on Windows)? I have used VNC in the past, but I had to create a new VNC session. I want to be able to access my existing desktop remotely and not a separate VNC desktop. Can nx do this (I've heard about nx on this mailing list, but have not yet read any documentation)?
Thanks, Alfred
CentOS has "Desktop Sharing" built in. Look for it in one of the settings/preferences menus. "Enable desktop sharing", and then you can use VNC as a remote client.
On Oct 10, 2007, at 14:18, Brian Mathis wrote:
CentOS has "Desktop Sharing" built in. Look for it in one of the settings/preferences menus. "Enable desktop sharing", and then you can use VNC as a remote client.
Wow, that was easy! I thought I was going to have to jump through a bunch of hoops to get this working.
Thanks, and we now return you to your regularly scheduled thread topic...
Alfred
On Wed, 2007-10-10 at 15:12 -0400, Alfred von Campe wrote:
On Oct 10, 2007, at 14:18, Brian Mathis wrote:
CentOS has "Desktop Sharing" built in. Look for it in one of the settings/preferences menus. "Enable desktop sharing", and then you can use VNC as a remote client.
Wow, that was easy! I thought I was going to have to jump through a bunch of hoops to get this working.
Thanks, and we now return you to your regularly scheduled thread topic...
Alfred
The Gnome desktop sharing (vino) requires that a Gnome Session be started already, if you need to log in remotely to the console you can use the libvnc Xorg module to hook the current X session. This has the advantage that a desktop session does not need to be started before it works and the user can't turn it off.
A quick how-to to do it is the following:
First install the vnc-server package on the system if it's not already installed: yum install vnc-server
In the Module section of the /etc/X11/xorg.conf file add the following line: Load "vnc"
Then in the Screen section of the xorg.conf file add the following line: Option "PasswordFile" "/etc/vncpassword"
You need to create the password file with the following command as root: vncpasswd /etc/vncpassword
You will then want to make the password readable only by root with: chmod 600 /etc/vncpassword
I use this on my home server so I can use a gui browser to download large files from websites that won't work with a text brower or wget.
Paul Berger
Alfred von Campe wrote:
On Oct 10, 2007, at 10:09, Dag Wieers wrote:
There is xrdp and I have packaged it for RPMforge, but I am not sure if it is completely usable. (ie. I haven't figured out how to use it and therefor I didn't make the proper sysv script etc...)
On a somewhat related note, what is the best/easiest way to set up a CentOS system to be able to access an existing X desktop remotely (like Remote Desktop on Windows)? I have used VNC in the past, but I had to create a new VNC session. I want to be able to access my existing desktop remotely and not a separate VNC desktop. Can nx do this (I've heard about nx on this mailing list, but have not yet read any documentation)?
Thanks, Alfred
I generally use NX for the desktop, but when I have to share a desktop I use the VNC stuff provided by vino. Vino gives you the ability to connect to a running X desktop via VNC. All of this is integrated into CentOS 5 very nicely, just make sure you have installed the vino package and set the preferences from the menus as System->Preferences->Remote Desktop. (Note: this is Not Windows Remote Desktop Sharing!)
Once you've got that set up, you can use vncviewer from realvnc (packaged as vnc in CentOS 5) to connect remotely. I usually do not open the VNC ports to the outside world but use the -via switch to vncviewer to tunnel the connection via SSH. To connect to the "primary" X server on homesystem.sample.com use something like this:
vncviewer -via homesystem.sample.com locakhost:0
Vncviewer will start up an SSH tunnel for the appropriate port to the specified system and connect the viewer to it... quite slick! It's not as responsive as NX over a WAN connection, but on those occasions when I forget to log out of the console on my home system it is invaluable.
Hope that helps!
On Wed, 2007-10-10 at 16:09 +0200, Dag Wieers wrote:
On Wed, 10 Oct 2007, Feizhou wrote:
John R Pierce wrote:
umair shakil wrote:
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
RDP is a Microsoft Windows Remote Desktop Protocol. what good would that be for linux to linux ??!?
Well if Linux did have a RDP server then it might be good...RDP is fast (well, I could play Pinball 3D with it :-P)
There is xrdp and I have packaged it for RPMforge, but I am not sure if it is completely usable. (ie. I haven't figured out how to use it and therefor I didn't make the proper sysv script etc...)
I took a quick look at it a while back and it looks like xrdp setups a local vnc server and then acts as a translation layer for VNC to RDP. I would think that it would be less efficient than just using VNC on linux and the only advantage is encryption and the ability to use the remote desktop client.
The main reason that RDP is more responsive than VNC on windows is that RDP does caching and works on the GDI API level similar NX does for X. I have watched video playing on a Windows system using UltraVNC with reasonable framerate on a LAN.
I did setup on RHL 7.2 a Terminal Server like system where I had xinetd(inetd?) launch a VNC server that would connect to gdm to get a graphical logon to start a session. There were issues with memory, cpu and network bandwidth for more than a handful of users along with the inability to continue a dropped session. IIRC it even worked with DosVNC so that you could use it with a DOS boot floppy.
Paul Berger
On Wed, 10 Oct 2007, Paul wrote:
On Wed, 2007-10-10 at 16:09 +0200, Dag Wieers wrote:
On Wed, 10 Oct 2007, Feizhou wrote:
John R Pierce wrote:
umair shakil wrote:
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
RDP is a Microsoft Windows Remote Desktop Protocol. what good would that be for linux to linux ??!?
Well if Linux did have a RDP server then it might be good...RDP is fast (well, I could play Pinball 3D with it :-P)
There is xrdp and I have packaged it for RPMforge, but I am not sure if it is completely usable. (ie. I haven't figured out how to use it and therefor I didn't make the proper sysv script etc...)
The main reason that RDP is more responsive than VNC on windows is that RDP does caching and works on the GDI API level similar NX does for X. I have watched video playing on a Windows system using UltraVNC with reasonable framerate on a LAN.
x11vnc together with enhanced tightvnc does caching as well and is touted to close the gap with RDP. Lots of information from:
http://www.karlrunge.com/x11vnc/#faq-client-caching http://sourceforge.net/project/shownotes.php?release_id=544195&group_id=... http://www.karlrunge.com/x11vnc/ssvnc.html
Salam,
Well, i have only used RDP as windows to linux (desktop), there should be no issue... for linux to linux, well x11 forwrding through ssh seems to be issue with that.... not used if i try i will let u know
There is also another way if u can try....
www.nomachine.com and go to download section.
U can find all details here, how to install, it also has client for ubunto. what u will do is to install the server, install the client on ur ubunto, and then use it... it really very amazing i have used this....
Regards,
Umair Shakil ETD
On 10/10/07, John R Pierce pierce@hogranch.com wrote:
umair shakil wrote:
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
RDP is a Microsoft Windows Remote Desktop Protocol. what good would that be for linux to linux ??!?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
umair shakil wrote:
Salam,
Well, i have only used RDP as windows to linux (desktop), there should be no issue...
I really want to say LIAR!
for linux to linux, well x11 forwrding through ssh seems to be issue with that.... not used if i try i will let u know
No thanks, many of us here have no issues at all doing X forwarding through ssh except for the latest reports of strange things with Centos 5.
There is also another way if u can try....
www.nomachine.com http://www.nomachine.com and go to download section.
U can find all details here, how to install, it also has client for ubunto. what u will do is to install the server, install the client on ur ubunto, and then use it... it really very amazing i have used this....
Many here have also used nx.
Salam!!!
Do u have some manners how to talk or how to POST your edit message,
"I really want to say LIAR!" what do u mean by that haan.... suppose someones web server is working fine and others not what do u mean "he is suppose to be stupid to post the question????"
I saw someone facing probelm in X11 forwarding.... U mean to say he is foolish to post a question... What do u mean by LIAR haan????
If ur stupid kind kind of thing is working, is it possible that others should have no issue with that??? I also posted that i have not used X11 forwarding, i didnot face any need of X11 forwarding if i use then i will tell, have u read my POST in complete sense?????
Regards,
Umair Shakil
On 10/10/07, Feizhou feizhou@graffiti.net wrote:
umair shakil wrote:
Salam,
Well, i have only used RDP as windows to linux (desktop), there should be no issue...
I really want to say LIAR!
for linux to linux, well x11 forwrding through ssh seems to be issue with that.... not used if i try i will let u know
No thanks, many of us here have no issues at all doing X forwarding through ssh except for the latest reports of strange things with Centos 5.
There is also another way if u can try....
www.nomachine.com http://www.nomachine.com and go to download section.
U can find all details here, how to install, it also has client for ubunto. what u will do is to install the server, install the client on ur ubunto, and then use it... it really very amazing i have used this....
Many here have also used nx. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 10/10/07, umair shakil umairshakeel@gmail.com wrote:
Why dont u enable RDP on centOS (running GUI), and then using ubunto with this path
Could you please provide us ignorants with a link to an RDP server for Linux?
Umair Shakil ETD
Are you the same Umair Shakil as the one in http://www.umairshakil.net/linux.html? That explains a few things ;-)
On 10/10/07, techlists@comcast.net techlists@comcast.net wrote:
I have a CentOS server at home and want to view the X display on a laptop running Ubuntu, and not having much success.
Here's what's been tried so far:
I ran this command on the CentOS server:
export DISPLAY=192.168.0.18:0.0
And ran this command on the Ubuntu laptop:
xauth +192.168.0.2
When I try to run, say, xclock on the Ubuntu laptop, this is the error message I'm getting:
[root@centos-ws ~]# xclock Error: Can't open display: 192.168.0.18:0.0
I'm assuming there's an important little detail I'm missing somewhere, but don't know what.
Any suggestions?
I often run into this when I forget to install xorg-x11-xauth on the server. I'd suggest you check that with 'rpmquery xorg-x11-xauth' and otherwise install it, then try a new ssh -Y login
regards, Bent
Paul _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos