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 have a server machine, which runs Debian Squeeze XFCE. It also has VNC server installed (vnc4server).
Debian automatically boots into my user. I added VNC server startup command into the "Application autostart" part of the XFCE Session and Startup panel. The problem is that when I connect to the server from the client machine, it opens up vanilla X desktop, not the XFCE one. If I kill VNC server and restart it with exactly the same parameters, then VNC connection gets normal XFCE desktop. I don't understand the logic here.
Can someone explain how to get XFCE session in VNC connection right after the boot?
I stumbled across your remote file server blog and saw you still didn't have an answer while this may not resolve your issue I ran into a similar issue with Slackware where I was running fluxbox but would get the vanilla X no matter what I did. I am using vncserver so I modified xstartup in .vnc in my home dir.
I finally ended up with this config in the file .vnc/xstartup
I had the same problem getting LXDE working, was trying to get it going using fluxbox.
My solution was LXDM, in other words whatever your wm is that maybe what you need to be loading which will load XFCE.
I had the same problem getting LXDE working, was trying to get it going using fluxbox.
My solution was LXDM, in other words whatever your wm is that maybe what you need to be loading which will load XFCE.
Sorry, I am lost here. Maybe you can explain in details?
Thanks!
Thanks for the advice.
I replaced startxfce4 & with xfwm4 &.
Now I see a different screen. It is definitely Xfce4 now, not vanilla X. A little progress.
But it still only has a terminal window on the empty desktop. No desktop icons, no wallpaper, no panel.
Code:
Here is my xstartup file:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
xfwm4 &
And now restart of vncserver from Putty does not help.
Thanks for the advice.
I replaced startxfce4 & with xfwm4 &.
Now I see a different screen. It is definitely Xfce4 now, not vanilla X. A little progress.
But it still only has a terminal window on the empty desktop. No desktop icons, no wallpaper, no panel.
Code:
Here is my xstartup file:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
xfwm4 &
And now restart of vncserver from Putty does not help.
Now that you have the correct syntax did you try my file?
Maybe you should check configuration for Xfce & Xfwm.
Is VNC your only option? Can you login direct to machine?
If you can login direct is evrything showing on Desktop?
Now that you have the correct syntax did you try my file?
Yes, but without success.
Quote:
Originally Posted by EDDY1
Maybe you should check configuration for Xfce & Xfwm.
Is VNC your only option? Can you login direct to machine?
If you can login direct is evrything showing on Desktop?
When I login directly to the machine, it works perfectly.
The problem is only with remote login.
I think that the settings the MadIndian posted will work as your settings have everything labled for an x terminal. You have to comment out a few lines.
In fact everything is commented out except xfwm4
I think that the settings the MadIndian posted will work as your settings have everything labled for an x terminal. You have to comment out a few lines.
In fact everything is commented out except xfwm4
Indeed, I tried this option too yesterday. No luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.