LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2003, 12:40 PM   #1
crisponions
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29

Rep: Reputation: 15
linux and vnc


I just installed vnc on redhat 9, and all is fine except starting a gnome session. I modified my xstartup to include

gnome-session &

But if I try to start vncserver while I am already running gnome I get an error (in the log file) about a gnome session already running. But when I run vncserver without x running it starts a gnome session just fine.

I guess what i am wondering is there anyway to get vnc to behave on linux as is does on windows. ex: when you log into a windows machine you actually are manipulating the current users session like you are sitting in front of the machine, but in linux it starts a new desktop.

Thanks
 
Old 07-04-2003, 12:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's not possible as it is a horrendous security risk... (windows? security? hahahahah) there are some direct clients for KDE i've come across but it's not possible on other desktops. I'd suggest just connecting to the vnc session locally aswell as remotely to share these apps.
 
Old 07-04-2003, 01:03 PM   #3
crisponions
LQ Newbie
 
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29

Original Poster
Rep: Reputation: 15
dont quite follow you, I understand the security part, but what about the gnome session? Playing aroung further, I found I can start the vncserver from the console (without x running) and it will start the gnome session then i can start another gnome session on the machine, but how do I fix this so i dont have to kill x to start the vnc server? Should it put it in as a service at runlevel 3?
 
Old 07-04-2003, 01:25 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
i don't like the idea of vnc as a service... not sure why. as for gnome, i only ever run lightweight wm's like blackbox under vnc (well, i oly ever ever run lightweight wm's full stop..) which aren't bothered about things like that. all i'd suggest offhand would be verbosely passing the display number rather than letting it find it itself...

gnome-session --display :1

in vncstartup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux ftp and vnc ginny Linux - Software 1 11-01-2005 10:29 AM
VNC WinXP to Linux canuck_barlow Linux - Newbie 3 04-01-2005 01:40 AM
VNC from XP to Linux pk_fox Linux - Networking 4 01-26-2005 01:45 PM
VNC - Windows - Linux IceOnly Linux - Software 1 05-28-2003 04:55 PM
How to install VNC on Linux 6.x? sceadu Linux - Software 5 01-21-2003 11:22 AM


All times are GMT -5. The time now is 08:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration