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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-04-2003, 11:40 AM
|
#1
|
LQ Newbie
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29
Rep:
|
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
|
|
|
07-04-2003, 11:55 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
07-04-2003, 12:03 PM
|
#3
|
LQ Newbie
Registered: Feb 2002
Distribution: RedHat (currently 9.0)
Posts: 29
Original Poster
Rep:
|
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?
|
|
|
07-04-2003, 12:25 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
All times are GMT -5. The time now is 09:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|