LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-04-2013, 01:53 PM   #1
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Rep: Reputation: 22
Unhappy Remote Desktop.


Hello Folks.
How are you?
I install xrdp on my Fedora 16 and I wan to connect to it from other machine but when I connect to it via rdesktop or VNC it show me that "Genome session failed", I removed Gnome and Install KDE.
I use VNC too and change startup file to :

#!/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 &


but not worked . I change twm to startkde but not worked. How can I fix it?

Thanks a lot.
 
Old 08-05-2013, 07:09 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Have you tried using team viewer?
 
Old 08-05-2013, 10:28 AM   #3
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Original Poster
Rep: Reputation: 22
I don't like it.
I want to use VNC.
 
Old 08-05-2013, 10:42 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jokar.mohsen View Post
I don't like it.
I want to use VNC.
A more obvious question is WHY you need VNC?? Remote systems management can easily be done with SSH, which is not only more secure, but faster. What can't you do with SSH than you can do with VNC?

Also, Fedora 16 is very old...the latest is 19, so upgrading may correct your issues right off the bat. And you also don't tell us what the other machine is running, or what errors you're seeing in the logs, so it's hard to diagnose an issue with no details. And have you followed the VNC installation guides? Tried a different VNC client, other than xrdp?

http://www.oracle-base.com/articles/...r-on-linux.php
http://docs.fedoraproject.org/en-US/...r_desktop.html
 
Old 08-09-2013, 08:56 AM   #5
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Original Poster
Rep: Reputation: 22
I solved the error message but it show me black screen
 
Old 08-09-2013, 12:04 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jokar.mohsen View Post
I solved the error message but it show me black screen
Ok, since you came here for help, why don't you post your solution so that others can benefit from it?

And to ask again, WHY do you need VNC, when SSH is not only simpler to set up, but more secure and faster?
 
Old 08-10-2013, 05:54 AM   #7
jokar.mohsen
Member
 
Registered: Jul 2008
Location: Tehran
Posts: 441

Original Poster
Rep: Reputation: 22
I can use SSH but it is not GUI and I want to view my desktop. I think it is enough.
 
Old 08-10-2013, 11:09 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jokar.mohsen View Post
I can use SSH but it is not GUI and I want to view my desktop. I think it is enough.
You most certainly CAN run GUI applications over SSH using X forwarding. It's done all the time.
 
Old 08-10-2013, 11:18 AM   #9
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by jokar.mohsen View Post
I can use SSH but it is not GUI and I want to view my desktop. I think it is enough.
um, read my sig. there are 2 HOWTO guides that will help you with that problem. Also handling X over SSH is very simple. either connect via -Y or -X when you connect after enabling said feature in the remote systems sshd.conf

If you follow both of my SSH HOWTO guides to first setup ssh keys, then to setup ssh config file you will never have to worry about passing X between SSH.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a linux-distro remote desktop on an already remote debian server... errr? Sabinou Linux - Newbie 2 04-26-2012 05:29 PM
Accessing remote desktop on VM from a remote machine using iptables cram869 Linux - Networking 3 03-07-2012 03:25 PM
SSH shell disabled + Remote desktop NX (or another remote desktop software) zoltan32 Linux - Software 2 04-12-2011 03:36 AM
Cross-platform remote control / remote desktop software trafikpolisen Linux - Software 5 01-24-2010 12:27 AM
Scripting Remote Logon - Starting Remote Gnome Desktop klmukp Linux - Newbie 1 09-21-2008 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration