Linux - SoftwareThis 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.
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.
I tried to change xconfig as per that post, but as a result I have vncconfig window taking whole screen of my remote server without an option to close it. When I restart the VNC from Putty, I again see normal XFCE desktop with this vncconfig as a small window.
The situation is better if I add the line about the terminal. But still I have this terminal window in the simple, non-XFCE style.
I tried to change xconfig as per that post, but as a result I have vncconfig window taking whole screen of my remote server without an option to close it. When I restart the VNC from Putty, I again see normal XFCE desktop with this vncconfig as a small window.
The situation is better if I add the line about the terminal. But still I have this terminal window in the simple, non-XFCE style.
Step 7 kill vnc.
Also you can play around with geometry of the screen you don't have to use the example geometry they posted. You need t know your monitor resolution.
when you are done, before killing the ssh session, kill VNC
I am not "done" yet, I need VNC session to run. 8-)
To be precise, I want VNC session to start properly in the first place. Laer I may wish to kill it or leave running. But that's a different story altogether.
I am not "done" yet, I need VNC session to run. 8-)
To be precise, I want VNC session to start properly in the first place. Laer I may wish to kill it or leave running. But that's a different story altogether.
You can export Desktop over ssh but if you do you're sending Desktop over network where as what the post is suggesting is opening desktop on client machine, which will run faster, or with less lag. I will research a little more for your requirements.
Thanks for your help anyway.
Yes, I want to send desktop over the network. It is only LAN, which I have no issues with from either security or speed points of view.
Then, I want to be sure I get the same environment from each machine I login to the VNC server, and this may be also a computer with Win7. I am not sure I can run "local Linux desktop" on the Win7 computer, unless I misunderstand something.
I am not "done" yet, I need VNC session to run. 8-)
To be precise, I want VNC session to start properly in the first place. Laer I may wish to kill it or leave running. But that's a different story altogether.
I edited the xstartup file to include your lines (slightly edited, see below) as 9, 10 and 11. Unfortunately, no luck.
Here is what I have in 1.log
Code:
/home/blablabla/.vnc/xstartup: 9: =: not found
/home/blablabla/.vnc/xstartup: 10: VNCSERVERARGS[1]=-geometry 1024x650 -depth 24: not found
** ERROR **: Another session manager is already running
aborting...
1024x650 is the geometry I want to run, and this is what I changed in your lines. It proves that system tried to use new configuration.
What worries me is the error message. The "server" computer really runs an Xfce session on its own screen. But how will it stop me from having another Xfce session in VNC? Or this is a red herring?
Edit:
When I restart VNC, I have similar lines about "not found", but there's no ERROR message after that.
I edited the xstartup file to include your lines (slightly edited, see below) as 9, 10 and 11. Unfortunately, no luck.
Here is what I have in 1.log
Code:
/home/blablabla/.vnc/xstartup: 9: =: not found
/home/blablabla/.vnc/xstartup: 10: VNCSERVERARGS[1]=-geometry 1024x650 -depth 24: not found
** ERROR **: Another session manager is already running
aborting...
1024x650 is the geometry I want to run, and this is what I changed in your lines. It proves that system tried to use new configuration.
What worries me is the error message. The "server" computer really runs an Xfce session on its own screen. But how will it stop me from having another Xfce session in VNC? Or this is a red herring?
Edit:
When I restart VNC, I have similar lines about "not found", but there's no ERROR message after that.
I am not sure what $colorPath line does. It probably was in the file from the very beginning. Don't think that it can cause the problem.
The VNCSERVERARGS line is effectively the same line as in your recommendation.
xfwm4 line should start the Xfce window manager. I tried different options there: xfwm4, startxfce4, xfce4-session. Neither works.
All other lines are commented, so should not make any difference.
I'm having simmilar problems as DarkDuck.
Eddy1
I have edited my /etc/.vnc/xstartup file as is written in your recommended page http://www.szewong.com/2009/06/setti...vnc-slicehost/ but I still doesnt have xfce4 session started.
I have on my vnc started X with few lines written on the top
I really need to be able to connect to xfce4 session via vnc. any help is appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.